Notification: Performance of loadModel(Modelica): time 1.534/1.534, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.173e-05/1.173e-05, allocations: 1.375 kB / 247.4 MB, free: 4.715 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06928/0.06936, allocations: 44.35 MB / 291.7 MB, free: 9.305 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2443/0.3138, allocations: 74.65 MB / 366.4 MB, free: 7.098 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.3141, allocations: 78.44 kB / 366.4 MB, free: 7.094 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.07101/0.3852, allocations: 19.39 MB / 385.8 MB, free: 0.9648 MB / 296.6 MB Notification: Performance of Transformations before backend: time 6.453e-05/0.3854, allocations: 29.84 kB / 385.9 MB, free: 0.9609 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.002384/0.3878, allocations: 1.282 MB / 387.1 MB, free: 15.92 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.388, allocations: 7.75 kB / 387.1 MB, free: 15.92 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006358/0.3887, allocations: 124.4 kB / 387.3 MB, free: 15.86 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/0.3903, allocations: 0.6263 MB / 387.9 MB, free: 15.5 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/0.3906, allocations: 140.1 kB / 388 MB, free: 15.41 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002882/0.391, allocations: 89.45 kB / 388.1 MB, free: 15.4 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002657/0.3937, allocations: 0.8375 MB / 389 MB, free: 15.33 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003215/0.397, allocations: 1.173 MB / 390.1 MB, free: 14.86 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.33e-05/0.3972, allocations: 7.812 kB / 390.1 MB, free: 14.86 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.3974, allocations: 10.94 kB / 390.1 MB, free: 14.86 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-05/0.3975, allocations: 48.39 kB / 390.2 MB, free: 14.85 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007358/0.4049, allocations: 4.868 MB / 395.1 MB, free: 11.59 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/0.4068, allocations: 0.8876 MB / 396 MB, free: 11.22 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009804/0.4079, allocations: 413.8 kB / 396.4 MB, free: 11.2 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003507/0.4083, allocations: 96.53 kB / 396.4 MB, free: 11.1 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00117/0.4095, allocations: 0.6275 MB / 397.1 MB, free: 10.77 MB / 312.6 MB Notification: Performance of pre-optimization done (n=110): time 7.962e-06/0.4096, allocations: 1.25 kB / 397.1 MB, free: 10.77 MB / 312.6 MB Notification: Performance of matching and sorting (n=110): time 0.00208/0.4117, allocations: 0.7046 MB / 397.8 MB, free: 10.63 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001439/0.412, allocations: 409.8 kB / 398.2 MB, free: 10.18 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009074/0.413, allocations: 450.3 kB / 398.6 MB, free: 9.988 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0003776/0.4134, allocations: 72.56 kB / 398.7 MB, free: 9.953 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/0.4139, allocations: 383.5 kB / 399.1 MB, free: 9.688 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003956/0.4144, allocations: 250.1 kB / 399.3 MB, free: 9.539 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.912e-05/0.4145, allocations: 5.375 kB / 399.3 MB, free: 9.535 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.4147, allocations: 393.3 kB / 399.7 MB, free: 9.195 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.4158, allocations: 361.1 kB / 400.1 MB, free: 9.176 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001388/0.4173, allocations: 0.6599 MB / 400.7 MB, free: 8.797 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.4188, allocations: 391.6 kB / 401.1 MB, free: 8.719 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.585e-05/0.4189, allocations: 4.125 kB / 401.1 MB, free: 8.719 MB / 312.6 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.003128/0.422, allocations: 1.081 MB / 402.2 MB, free: 8.48 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.4222, allocations: 5.625 kB / 402.2 MB, free: 8.48 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.933e-05/0.4223, allocations: 13.38 kB / 402.2 MB, free: 8.477 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.693e-05/0.4224, allocations: 17.22 kB / 402.2 MB, free: 8.477 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007822/0.4232, allocations: 147.2 kB / 402.4 MB, free: 8.434 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.255e-05/0.4233, allocations: 26.92 kB / 402.4 MB, free: 8.422 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000907/0.4243, allocations: 70.05 kB / 402.5 MB, free: 8.383 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002158/0.4246, allocations: 63.45 kB / 402.5 MB, free: 8.379 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002856/0.4249, allocations: 273.9 kB / 402.8 MB, free: 8.105 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.4252, allocations: 74.5 kB / 402.9 MB, free: 8.07 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002429/0.4277, allocations: 0.8131 MB / 403.7 MB, free: 7.895 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.4278, allocations: 13.17 kB / 403.7 MB, free: 7.891 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.194e-05/0.4279, allocations: 4.938 kB / 403.7 MB, free: 7.887 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.648e-05/0.428, allocations: 3.984 kB / 403.7 MB, free: 7.883 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005901/0.4339, allocations: 1.967 MB / 405.7 MB, free: 6.949 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.4341, allocations: 0 / 405.7 MB, free: 6.949 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005187/0.4347, allocations: 63.36 kB / 405.7 MB, free: 6.926 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-05/0.4347, allocations: 3.688 kB / 405.7 MB, free: 6.926 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001546/0.435, allocations: 36.5 kB / 405.8 MB, free: 6.902 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.358e-06/0.435, allocations: 7.406 kB / 405.8 MB, free: 6.898 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.448e-06/0.4351, allocations: 1.094 kB / 405.8 MB, free: 6.898 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003306/0.4384, allocations: 1.359 MB / 407.1 MB, free: 6.18 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000589/0.4392, allocations: 262.2 kB / 407.4 MB, free: 5.957 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002413/0.4395, allocations: 25.53 kB / 407.4 MB, free: 5.949 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005839/0.4401, allocations: 42.52 kB / 407.5 MB, free: 5.934 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004042/0.4406, allocations: 136.9 kB / 407.6 MB, free: 5.848 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001321/0.4408, allocations: 44.75 kB / 407.6 MB, free: 5.832 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0004847/0.4413, allocations: 249.6 kB / 407.9 MB, free: 5.672 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.001807/0.4432, allocations: 225.5 kB / 408.1 MB, free: 5.648 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0003798/0.4437, allocations: 140.7 kB / 408.2 MB, free: 5.566 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.002846/0.4466, allocations: 1.205 MB / 409.4 MB, free: 4.887 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 5.727e-06/0.4467, allocations: 0.5312 kB / 409.4 MB, free: 4.887 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001329/0.4481, allocations: 0.6823 MB / 410.1 MB, free: 4.469 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007087/0.4489, allocations: 71.44 kB / 410.2 MB, free: 4.438 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.4526, allocations: 1.266 MB / 411.5 MB, free: 3.16 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00124/0.4539, allocations: 1.13 MB / 412.6 MB, free: 2.008 MB / 312.6 MB Notification: Performance of SimCode: time 2.585e-06/0.454, allocations: 0 / 412.6 MB, free: 2.008 MB / 312.6 MB Notification: Performance of Templates: time 0.07054/0.5246, allocations: 11.34 MB / 423.9 MB, free: 6.707 MB / 328.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.StateGraph.Examples.ControlledTanks.makefile clang -fPIC -O2 -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_-O2_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_-O2_Modelica.StateGraph.Examples.ControlledTanks.o Modelica_3.2.2_-O2_Modelica.StateGraph.Examples.ControlledTanks.c In file included from Modelica_3.2.2_-O2_Modelica.StateGraph.Examples.ControlledTanks.c:2: ./Modelica_3.2.2_-O2_Modelica.StateGraph.Examples.ControlledTanks_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_StateGraph_Examples_ControlledTanks__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.StateGraph.Examples.ControlledTanks_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_StateGraph_Examples_ControlledTanks__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.StateGraph.Examples.ControlledTanks.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_StateGraph_Examples_ControlledTanks_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.StateGraph.Examples.ControlledTanks.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_StateGraph_Examples_ControlledTanks_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.StateGraph.Examples.ControlledTanks.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.StateGraph.Examples.ControlledTanks.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_StateGraph_Examples_ControlledTanks_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.StateGraph.Examples.ControlledTanks.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_StateGraph_Examples_ControlledTanks_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.StateGraph.Examples.ControlledTanks.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.StateGraph.Examples.ControlledTanks.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_StateGraph_Examples_ControlledTanks_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.StateGraph.Examples.ControlledTanks.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_StateGraph_Examples_ControlledTanks_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.StateGraph.Examples.ControlledTanks.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_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_-O2_Modelica.StateGraph.Examples.ControlledTanks.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_StateGraph_Examples_ControlledTanks_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.StateGraph.Examples.ControlledTanks.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_StateGraph_Examples_ControlledTanks_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.StateGraph.Examples.ControlledTanks.c:1930:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_StateGraph_Examples_ControlledTanks_eqFunction_228(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.StateGraph.Examples.ControlledTanks.c:1931:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_StateGraph_Examples_ControlledTanks_eqFunction_236(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.StateGraph.Examples.ControlledTanks.c:1932:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_StateGraph_Examples_ControlledTanks_eqFunction_237(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.StateGraph.Examples.ControlledTanks.c:1933:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_StateGraph_Examples_ControlledTanks_eqFunction_241(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.StateGraph.Examples.ControlledTanks.c:1934:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_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_-O2_Modelica.StateGraph.Examples.ControlledTanks.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.StateGraph.Examples.ControlledTanks.o] Error 1