Notification: Performance of loadModel(Modelica): time 1.514/1.514, allocations: 194.5 MB / 200.7 MB, free: 5.18 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.429e-06/9.498e-06, allocations: 1.25 kB / 247.4 MB, free: 4.672 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06373/0.06381, allocations: 44.36 MB / 291.8 MB, free: 9.254 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.692/6.756, allocations: 3.665 GB / 3.95 GB, free: 124.7 MB / 392.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002434/6.756, allocations: 89.45 kB / 3.95 GB, free: 124.7 MB / 392.6 MB Notification: Performance of FrontEnd: time 2.482/9.238, allocations: 0.5493 GB / 4.499 GB, free: 20.51 MB / 408.6 MB Notification: Performance of Transformations before backend: time 8.171e-05/9.238, allocations: 27.17 kB / 4.499 GB, free: 20.49 MB / 408.6 MB Notification: Performance of Generate backend data structure: time 0.01028/9.249, allocations: 2.997 MB / 4.502 GB, free: 17.44 MB / 408.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/9.249, allocations: 8.031 kB / 4.502 GB, free: 17.43 MB / 408.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008781/9.25, allocations: 130.7 kB / 4.502 GB, free: 17.3 MB / 408.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002084/9.252, allocations: 0.7444 MB / 4.503 GB, free: 16.53 MB / 408.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/9.252, allocations: 101.4 kB / 4.503 GB, free: 16.42 MB / 408.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000244/9.253, allocations: 55.91 kB / 4.503 GB, free: 16.36 MB / 408.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002784/9.255, allocations: 1.308 MB / 4.504 GB, free: 15.05 MB / 408.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00264/9.258, allocations: 1.326 MB / 4.506 GB, free: 13.66 MB / 408.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.785e-05/9.258, allocations: 6.703 kB / 4.506 GB, free: 13.66 MB / 408.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001699/9.259, allocations: 4 kB / 4.506 GB, free: 13.65 MB / 408.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.032e-05/9.259, allocations: 69.95 kB / 4.506 GB, free: 13.59 MB / 408.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/9.27, allocations: 6.416 MB / 4.512 GB, free: 6.781 MB / 408.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/9.272, allocations: 0.5882 MB / 4.513 GB, free: 6.188 MB / 408.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008153/9.272, allocations: 450.6 kB / 4.513 GB, free: 5.746 MB / 408.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/9.274, allocations: 1.239 MB / 4.514 GB, free: 4.258 MB / 408.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/9.274, allocations: 51.2 kB / 4.514 GB, free: 4.199 MB / 408.6 MB Notification: Performance of pre-optimization done (n=76): time 7.403e-06/9.274, allocations: 3.062 kB / 4.514 GB, free: 4.199 MB / 408.6 MB Notification: Performance of matching and sorting (n=88): time 0.02116/9.295, allocations: 4.146 MB / 4.518 GB, free: 0 / 408.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/9.295, allocations: 118.3 kB / 4.518 GB, free: 15.86 MB / 424.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001065/9.296, allocations: 0.5694 MB / 4.519 GB, free: 15.29 MB / 424.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002444/9.297, allocations: 29.7 kB / 4.519 GB, free: 15.25 MB / 424.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003442/9.297, allocations: 430.3 kB / 4.519 GB, free: 14.82 MB / 424.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004283/9.298, allocations: 303.6 kB / 4.52 GB, free: 14.52 MB / 424.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/9.298, allocations: 0 / 4.52 GB, free: 14.52 MB / 424.6 MB Notification: Performance of setup shared object (initialization): time 0.0003869/9.298, allocations: 390.8 kB / 4.52 GB, free: 14.13 MB / 424.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/9.299, allocations: 0.5336 MB / 4.521 GB, free: 13.59 MB / 424.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001472/9.301, allocations: 0.9114 MB / 4.522 GB, free: 12.51 MB / 424.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007622/9.309, allocations: 1.351 MB / 4.523 GB, free: 11.16 MB / 424.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.69e-05/9.309, allocations: 4 kB / 4.523 GB, free: 11.15 MB / 424.6 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.0102/9.319, allocations: 2.291 MB / 4.525 GB, free: 8.852 MB / 424.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.001388/9.321, allocations: 4.697 MB / 4.53 GB, free: 3.789 MB / 424.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.723e-05/9.321, allocations: 12 kB / 4.53 GB, free: 3.777 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001433/9.322, allocations: 255.1 kB / 4.53 GB, free: 3.531 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001781/9.324, allocations: 287.5 kB / 4.53 GB, free: 3.25 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/9.325, allocations: 0.8645 MB / 4.531 GB, free: 2.359 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/9.328, allocations: 95.83 kB / 4.531 GB, free: 2.266 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003052/9.328, allocations: 79.97 kB / 4.531 GB, free: 2.188 MB / 424.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/9.328, allocations: 4 kB / 4.531 GB, free: 2.184 MB / 424.6 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009509/9.338, allocations: 2.133 MB / 4.533 GB, free: 48 kB / 424.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-05/9.338, allocations: 12.91 kB / 4.533 GB, free: 36 kB / 424.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1663/9.504, allocations: 254.7 kB / 4.534 GB, free: 66.26 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/9.506, allocations: 284.2 kB / 4.534 GB, free: 66.26 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/9.507, allocations: 0.8644 MB / 4.535 GB, free: 65.74 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/9.509, allocations: 92.75 kB / 4.535 GB, free: 65.74 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002803/9.51, allocations: 76.34 kB / 4.535 GB, free: 65.74 MB / 424.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001773/9.51, allocations: 85.53 kB / 4.535 GB, free: 65.67 MB / 424.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002785/9.51, allocations: 83 kB / 4.535 GB, free: 65.67 MB / 424.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006412/9.517, allocations: 1.804 MB / 4.537 GB, free: 65.59 MB / 424.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/9.517, allocations: 16.09 kB / 4.537 GB, free: 65.59 MB / 424.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.917e-06/9.517, allocations: 0 / 4.537 GB, free: 65.59 MB / 424.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/9.517, allocations: 3.75 kB / 4.537 GB, free: 65.59 MB / 424.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008324/9.526, allocations: 3.351 MB / 4.54 GB, free: 64.84 MB / 424.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/9.526, allocations: 3.75 kB / 4.54 GB, free: 64.84 MB / 424.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/9.527, allocations: 175 kB / 4.54 GB, free: 64.84 MB / 424.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001788/9.529, allocations: 320.2 kB / 4.541 GB, free: 64.83 MB / 424.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002037/9.529, allocations: 29.08 kB / 4.541 GB, free: 64.83 MB / 424.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/9.53, allocations: 0.8372 MB / 4.541 GB, free: 64.32 MB / 424.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.032e-06/9.53, allocations: 3.188 kB / 4.541 GB, free: 64.32 MB / 424.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006149/9.536, allocations: 2.419 MB / 4.544 GB, free: 63.84 MB / 424.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008024/9.537, allocations: 313.8 kB / 4.544 GB, free: 63.72 MB / 424.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002553/9.538, allocations: 17.86 kB / 4.544 GB, free: 63.72 MB / 424.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/9.539, allocations: 60.02 kB / 4.544 GB, free: 63.72 MB / 424.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/9.539, allocations: 68.91 kB / 4.544 GB, free: 63.71 MB / 424.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/9.54, allocations: 58.91 kB / 4.544 GB, free: 63.71 MB / 424.6 MB Notification: Performance of sort global known variables: time 0.0006966/9.54, allocations: 432.5 kB / 4.545 GB, free: 63.62 MB / 424.6 MB Notification: Performance of remove unused functions: time 0.004851/9.545, allocations: 1.265 MB / 4.546 GB, free: 63.62 MB / 424.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.005674/9.551, allocations: 2.187 MB / 4.548 GB, free: 63.47 MB / 424.6 MB Notification: Performance of simCode: created initialization part: time 0.005502/9.557, allocations: 2.268 MB / 4.55 GB, free: 63.33 MB / 424.6 MB Notification: Performance of simCode: created event and clocks part: time 1.516e-05/9.557, allocations: 2.938 kB / 4.55 GB, free: 63.33 MB / 424.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001646/9.559, allocations: 0.6309 MB / 4.551 GB, free: 63.32 MB / 424.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/9.562, allocations: 362.4 kB / 4.551 GB, free: 63.31 MB / 424.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006899/9.569, allocations: 2.03 MB / 4.553 GB, free: 62.88 MB / 424.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001596/9.57, allocations: 1.289 MB / 4.554 GB, free: 62.16 MB / 424.6 MB Notification: Performance of SimCode: time 2.514e-06/9.571, allocations: 0 / 4.554 GB, free: 62.16 MB / 424.6 MB Notification: Performance of Templates: time 0.1164/9.687, allocations: 45.79 MB / 4.599 GB, free: 60.5 MB / 424.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.makefile clang -fPIC -O1 -march=native -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_3_2_2_-O1_Modelica_Fluid_Examples_TraceSubstances_RoomCO2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.o Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c:2: ./Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Fluid_Examples_TraceSubstances_RoomCO2__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Fluid_Examples_TraceSubstances_RoomCO2__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: variable has incomplete type 'void' static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_TraceSubstances_RoomCO2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: error: expected ';' after top level declarator Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_TraceSubstances_RoomCO2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:171:33: error: unknown type name 'MEASURE_TIME' static void fmtInit(DATA* data, MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:175:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:198:63: error: unknown type name 'MEASURE_TIME' static void fmtEmitStep(DATA* data, threadData_t *threadData, MEASURE_TIME* mt, SOLVER_INFO* solverInfo) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:239:5: warning: implicit declaration of function 'overwriteOldSimulationData' is invalid in C99 [-Wimplicit-function-declaration] overwriteOldSimulationData(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:240:5: warning: implicit declaration of function 'storePreValues' is invalid in C99 [-Wimplicit-function-declaration] storePreValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:241:5: warning: implicit declaration of function 'storeOldValues' is invalid in C99 [-Wimplicit-function-declaration] storeOldValues(data); // Maybe?? ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:259:3: warning: implicit declaration of function 'printAllVarsDebug' is invalid in C99 [-Wimplicit-function-declaration] printAllVarsDebug(data, 0, LOG_DEBUG); /* ??? */ ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:263:22: error: unknown type name 'MEASURE_TIME' static void fmtClose(MEASURE_TIME* mt) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:291:6: error: use of undeclared identifier 'measure_time_flag' if(measure_time_flag) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:308:3: warning: implicit declaration of function 'restoreOldValues' is invalid in C99 [-Wimplicit-function-declaration] restoreOldValues(data); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:311:3: warning: implicit declaration of function 'updateDiscreteSystem' is invalid in C99 [-Wimplicit-function-declaration] updateDiscreteSystem(data, threadData); ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Fluid_Examples_TraceSubstances_RoomCO2_performSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_TraceSubstances_RoomCO2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c:6: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:335:5: error: expected ';' after top level declarator int prefixedName_performSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Fluid_Examples_TraceSubstances_RoomCO2_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Fluid_Examples_TraceSubstances_RoomCO2_performQSSSimulation ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_TraceSubstances_RoomCO2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c:9: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_qss_simulation.c:71:5: error: expected ';' after top level declarator int prefixedName_performQSSSimulation(DATA* data, threadData_t *threadData, SOLVER_INFO* solverInfo) ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Fluid_Examples_TraceSubstances_RoomCO2_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Fluid_Examples_TraceSubstances_RoomCO2_input_function(DATA *data, threadData_t *threadData) ^ /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/c/simulation/solver/perform_simulation.c:64:13: note: previous definition is here static void prefixedName_updateContinuousSystem(DATA *data, threadData_t *threadData) ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Fluid_Examples_TraceSubstances_RoomCO2_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Fluid_Examples_TraceSubstances_RoomCO2_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c:1085:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_TraceSubstances_RoomCO2_eqFunction_517(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c:1085:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_TraceSubstances_RoomCO2_eqFunction_517(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c:1086:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_TraceSubstances_RoomCO2_eqFunction_518(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c:1086:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_TraceSubstances_RoomCO2_eqFunction_518(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.c:1087:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Fluid_Examples_TraceSubstances_RoomCO2_eqFunction_519(DATA*,threadData_t*); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 6 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2.o] Error 1