Notification: Performance of loadModel(Modelica): time 1.523/1.523, allocations: 194.5 MB / 200.7 MB, free: 5.152 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 8.451e-06/8.59e-06, allocations: 1.156 kB / 247.3 MB, free: 4.73 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06263/0.06271, allocations: 44.37 MB / 291.7 MB, free: 9.262 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2271/0.29, allocations: 74.65 MB / 366.4 MB, free: 6.918 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001828/0.2903, allocations: 77.95 kB / 366.4 MB, free: 6.914 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.06458/0.3549, allocations: 19.39 MB / 385.8 MB, free: 0.8125 MB / 296.6 MB Notification: Performance of Transformations before backend: time 5.531e-05/0.3551, allocations: 27.19 kB / 385.9 MB, free: 0.8086 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.002389/0.3575, allocations: 1.282 MB / 387.1 MB, free: 15.77 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.3576, allocations: 11.75 kB / 387.2 MB, free: 15.77 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004086/0.3581, allocations: 124.7 kB / 387.3 MB, free: 15.71 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001166/0.3593, allocations: 0.6233 MB / 387.9 MB, free: 15.35 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/0.3596, allocations: 139.5 kB / 388 MB, free: 15.25 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/0.3598, allocations: 85.3 kB / 388.1 MB, free: 15.25 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00211/0.362, allocations: 0.8451 MB / 389 MB, free: 15.18 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/0.3643, allocations: 1.165 MB / 390.1 MB, free: 14.71 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.604e-05/0.3645, allocations: 7.688 kB / 390.1 MB, free: 14.71 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.3647, allocations: 7.625 kB / 390.1 MB, free: 14.71 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.483e-05/0.3648, allocations: 47.89 kB / 390.2 MB, free: 14.7 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006402/0.3712, allocations: 4.879 MB / 395.1 MB, free: 11.43 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001491/0.3728, allocations: 0.8865 MB / 396 MB, free: 11.07 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008044/0.3737, allocations: 415.3 kB / 396.4 MB, free: 11.04 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001382/0.3739, allocations: 100.9 kB / 396.5 MB, free: 10.93 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009921/0.375, allocations: 0.6172 MB / 397.1 MB, free: 10.62 MB / 312.6 MB Notification: Performance of pre-optimization done (n=110): time 6.774e-06/0.3751, allocations: 0 / 397.1 MB, free: 10.62 MB / 312.6 MB Notification: Performance of matching and sorting (n=110): time 0.001832/0.377, allocations: 0.7038 MB / 397.8 MB, free: 10.48 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001421/0.3772, allocations: 412.9 kB / 398.2 MB, free: 10.03 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009211/0.3782, allocations: 459.8 kB / 398.6 MB, free: 9.824 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.000263/0.3785, allocations: 72.34 kB / 398.7 MB, free: 9.789 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003316/0.3789, allocations: 384.5 kB / 399.1 MB, free: 9.523 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003195/0.3793, allocations: 251.8 kB / 399.3 MB, free: 9.375 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-05/0.3794, allocations: 2.094 kB / 399.3 MB, free: 9.375 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3796, allocations: 393.1 kB / 399.7 MB, free: 9.035 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008866/0.3806, allocations: 357.5 kB / 400.1 MB, free: 9.02 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001028/0.3817, allocations: 0.6614 MB / 400.7 MB, free: 8.641 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/0.3828, allocations: 388.8 kB / 401.1 MB, free: 8.562 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.3829, allocations: 2.531 kB / 401.1 MB, free: 8.562 MB / 312.6 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.00262/0.3855, allocations: 1.085 MB / 402.2 MB, free: 8.32 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.3856, allocations: 4.469 kB / 402.2 MB, free: 8.32 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/0.3857, allocations: 10.97 kB / 402.2 MB, free: 8.32 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.071e-05/0.3858, allocations: 17.12 kB / 402.2 MB, free: 8.32 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006997/0.3866, allocations: 156.8 kB / 402.4 MB, free: 8.27 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.85e-05/0.3867, allocations: 23.83 kB / 402.4 MB, free: 8.262 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007665/0.3875, allocations: 60.98 kB / 402.5 MB, free: 8.23 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/0.3877, allocations: 65.67 kB / 402.5 MB, free: 8.227 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002256/0.388, allocations: 273.7 kB / 402.8 MB, free: 7.953 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/0.3882, allocations: 78.41 kB / 402.9 MB, free: 7.914 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/0.3906, allocations: 0.8103 MB / 403.7 MB, free: 7.738 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.3907, allocations: 10.22 kB / 403.7 MB, free: 7.738 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.3908, allocations: 5.031 kB / 403.7 MB, free: 7.734 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.3909, allocations: 3.984 kB / 403.7 MB, free: 7.73 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004608/0.3955, allocations: 1.975 MB / 405.7 MB, free: 6.777 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.241e-06/0.3957, allocations: 1 kB / 405.7 MB, free: 6.777 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004614/0.3962, allocations: 67.25 kB / 405.7 MB, free: 6.75 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.411e-05/0.3963, allocations: 2.938 kB / 405.7 MB, free: 6.75 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/0.3964, allocations: 35.56 kB / 405.8 MB, free: 6.73 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.403e-06/0.3965, allocations: 3.75 kB / 405.8 MB, free: 6.73 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.4e-06/0.3965, allocations: 0 / 405.8 MB, free: 6.73 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002954/0.3996, allocations: 1.364 MB / 407.1 MB, free: 6.008 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006529/0.4003, allocations: 255 kB / 407.4 MB, free: 5.789 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002371/0.4006, allocations: 29.64 kB / 407.4 MB, free: 5.777 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005662/0.4012, allocations: 37.19 kB / 407.5 MB, free: 5.766 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003803/0.4017, allocations: 138.4 kB / 407.6 MB, free: 5.68 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/0.4019, allocations: 45.16 kB / 407.6 MB, free: 5.664 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.000363/0.4023, allocations: 253.5 kB / 407.9 MB, free: 5.5 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.001332/0.4037, allocations: 223.2 kB / 408.1 MB, free: 5.48 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003356/0.4041, allocations: 140.2 kB / 408.2 MB, free: 5.398 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.002361/0.4065, allocations: 1.204 MB / 409.4 MB, free: 4.719 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.4066, allocations: 1 kB / 409.4 MB, free: 4.719 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.4079, allocations: 0.6854 MB / 410.1 MB, free: 4.293 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006751/0.4087, allocations: 69.53 kB / 410.2 MB, free: 4.266 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003543/0.4123, allocations: 1.263 MB / 411.5 MB, free: 3.137 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009617/0.4134, allocations: 1.13 MB / 412.6 MB, free: 1.984 MB / 312.6 MB Notification: Performance of SimCode: time 2.584e-06/0.4135, allocations: 0 / 412.6 MB, free: 1.984 MB / 312.6 MB Notification: Performance of Templates: time 0.06859/0.4821, allocations: 11.34 MB / 423.9 MB, free: 6.695 MB / 328.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ControlledTanks.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_StateGraph_Examples_ControlledTanks -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ControlledTanks.o Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ControlledTanks.c In file included from Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ControlledTanks.c:2: ./Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ControlledTanks_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ControlledTanks__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ControlledTanks_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ControlledTanks__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ControlledTanks.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.StateGraph.Examples.ControlledTanks.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ControlledTanks_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ControlledTanks.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.StateGraph.Examples.ControlledTanks.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ControlledTanks_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ControlledTanks.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.StateGraph.Examples.ControlledTanks.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ControlledTanks_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.StateGraph.Examples.ControlledTanks.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ControlledTanks_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ControlledTanks.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.StateGraph.Examples.ControlledTanks.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ControlledTanks_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ControlledTanks.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.StateGraph.Examples.ControlledTanks.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ControlledTanks_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.StateGraph.Examples.ControlledTanks.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ControlledTanks_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ControlledTanks.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.StateGraph.Examples.ControlledTanks.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ControlledTanks_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ControlledTanks.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ControlledTanks_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.StateGraph.Examples.ControlledTanks.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ControlledTanks_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ControlledTanks.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ControlledTanks_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ControlledTanks.c:1930:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ControlledTanks_eqFunction_228(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ControlledTanks.c:1931:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ControlledTanks_eqFunction_236(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ControlledTanks.c:1932:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ControlledTanks_eqFunction_237(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ControlledTanks.c:1933:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ControlledTanks_eqFunction_241(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ControlledTanks.c:1934:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_StateGraph_Examples_ControlledTanks_eqFunction_251(DATA* data, threadData_t *threadData); ^ ; 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.StateGraph.Examples.ControlledTanks.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.StateGraph.Examples.ControlledTanks.o] Error 1