Notification: Performance of loadModel(Modelica): time 1.546/1.546, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.009e-06/9.08e-06, allocations: 1 kB / 247.4 MB, free: 4.719 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06/0.06007, allocations: 44.36 MB / 291.7 MB, free: 9.289 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2262/0.2864, allocations: 74.65 MB / 366.4 MB, free: 6.965 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001761/0.2867, allocations: 78.12 kB / 366.4 MB, free: 6.961 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.06538/0.3521, allocations: 19.39 MB / 385.8 MB, free: 0.8555 MB / 296.6 MB Notification: Performance of Transformations before backend: time 5.517e-05/0.3523, allocations: 27.5 kB / 385.9 MB, free: 0.8516 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001916/0.3543, allocations: 1.288 MB / 387.1 MB, free: 15.81 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3544, allocations: 7.781 kB / 387.2 MB, free: 15.81 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003617/0.3548, allocations: 124.1 kB / 387.3 MB, free: 15.75 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.3562, allocations: 0.6188 MB / 387.9 MB, free: 15.4 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/0.3565, allocations: 141 kB / 388 MB, free: 15.3 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002932/0.3568, allocations: 88.84 kB / 388.1 MB, free: 15.29 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002508/0.3594, allocations: 0.8356 MB / 389 MB, free: 15.22 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002756/0.3622, allocations: 1.182 MB / 390.1 MB, free: 14.75 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.387e-05/0.3624, allocations: 3.938 kB / 390.1 MB, free: 14.75 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/0.3626, allocations: 7.531 kB / 390.1 MB, free: 14.75 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.867e-05/0.3627, allocations: 48.67 kB / 390.2 MB, free: 14.74 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006917/0.3696, allocations: 4.877 MB / 395.1 MB, free: 11.48 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.3713, allocations: 0.8809 MB / 395.9 MB, free: 11.12 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008621/0.3722, allocations: 415.9 kB / 396.4 MB, free: 11.09 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001402/0.3724, allocations: 92.55 kB / 396.4 MB, free: 10.99 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001055/0.3735, allocations: 0.6302 MB / 397.1 MB, free: 10.66 MB / 312.6 MB Notification: Performance of pre-optimization done (n=110): time 7.403e-06/0.3736, allocations: 5.156 kB / 397.1 MB, free: 10.66 MB / 312.6 MB Notification: Performance of matching and sorting (n=110): time 0.001835/0.3755, allocations: 0.704 MB / 397.8 MB, free: 10.52 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003049/0.3759, allocations: 400.1 kB / 398.2 MB, free: 10.07 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007025/0.3767, allocations: 456.9 kB / 398.6 MB, free: 9.875 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.000225/0.3769, allocations: 72.97 kB / 398.7 MB, free: 9.84 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002979/0.3773, allocations: 387.8 kB / 399.1 MB, free: 9.574 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002875/0.3777, allocations: 248.3 kB / 399.3 MB, free: 9.426 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.075e-05/0.3778, allocations: 6.75 kB / 399.3 MB, free: 9.422 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.378, allocations: 391.3 kB / 399.7 MB, free: 9.082 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009038/0.3789, allocations: 357.9 kB / 400.1 MB, free: 9.066 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.3801, allocations: 0.6621 MB / 400.7 MB, free: 8.684 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00108/0.3812, allocations: 393.3 kB / 401.1 MB, free: 8.605 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/0.3813, allocations: 2.75 kB / 401.1 MB, free: 8.605 MB / 312.6 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.002711/0.3841, allocations: 1.078 MB / 402.2 MB, free: 8.371 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.3842, allocations: 9.734 kB / 402.2 MB, free: 8.367 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/0.3843, allocations: 13.38 kB / 402.2 MB, free: 8.363 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.925e-05/0.3844, allocations: 16.72 kB / 402.2 MB, free: 8.363 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007064/0.3851, allocations: 146.3 kB / 402.4 MB, free: 8.32 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.822e-05/0.3852, allocations: 24.98 kB / 402.4 MB, free: 8.312 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009526/0.3862, allocations: 68.95 kB / 402.5 MB, free: 8.273 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/0.3865, allocations: 64.11 kB / 402.5 MB, free: 8.27 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002331/0.3868, allocations: 275.3 kB / 402.8 MB, free: 7.996 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001959/0.387, allocations: 74.94 kB / 402.9 MB, free: 7.961 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/0.3893, allocations: 0.8085 MB / 403.7 MB, free: 7.785 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.3894, allocations: 10.47 kB / 403.7 MB, free: 7.785 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.089e-05/0.3895, allocations: 3.906 kB / 403.7 MB, free: 7.781 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.3895, allocations: 8.969 kB / 403.7 MB, free: 7.773 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004776/0.3944, allocations: 1.974 MB / 405.7 MB, free: 6.852 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.242e-06/0.3945, allocations: 0 / 405.7 MB, free: 6.852 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004566/0.395, allocations: 63.17 kB / 405.7 MB, free: 6.828 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.411e-05/0.3951, allocations: 4.281 kB / 405.7 MB, free: 6.828 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.89e-05/0.3952, allocations: 35.31 kB / 405.8 MB, free: 6.805 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/0.3953, allocations: 4.25 kB / 405.8 MB, free: 6.805 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.98e-06/0.3954, allocations: 3.938 kB / 405.8 MB, free: 6.801 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003277/0.3987, allocations: 1.36 MB / 407.1 MB, free: 6.078 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005367/0.3993, allocations: 255.5 kB / 407.4 MB, free: 5.859 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00024/0.3996, allocations: 25.72 kB / 407.4 MB, free: 5.852 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005816/0.4003, allocations: 38.12 kB / 407.4 MB, free: 5.84 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003932/0.4007, allocations: 141.2 kB / 407.6 MB, free: 5.75 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.401, allocations: 41.42 kB / 407.6 MB, free: 5.738 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0003809/0.4014, allocations: 253.4 kB / 407.9 MB, free: 5.574 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.001509/0.403, allocations: 231.5 kB / 408.1 MB, free: 5.547 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003561/0.4034, allocations: 140 kB / 408.2 MB, free: 5.465 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.002484/0.406, allocations: 1.206 MB / 409.4 MB, free: 4.785 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 5.657e-06/0.4061, allocations: 0 / 409.4 MB, free: 4.785 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.4074, allocations: 0.6822 MB / 410.1 MB, free: 4.363 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006565/0.4081, allocations: 67.94 kB / 410.2 MB, free: 4.336 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003565/0.4118, allocations: 1.265 MB / 411.5 MB, free: 3.188 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/0.413, allocations: 1.133 MB / 412.6 MB, free: 2.031 MB / 312.6 MB Notification: Performance of SimCode: time 2.305e-06/0.4131, allocations: 0 / 412.6 MB, free: 2.031 MB / 312.6 MB Notification: Performance of Templates: time 0.06229/0.4755, allocations: 11.34 MB / 423.9 MB, free: 6.723 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