Notification: Performance of loadModel(Modelica): time 1.489/1.489, allocations: 194.5 MB / 200.7 MB, free: 7.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 9.988e-06/1.013e-05, allocations: 1 kB / 247.4 MB, free: 5.426 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06366/0.06375, allocations: 44.36 MB / 291.7 MB, free: 11.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2388/0.3027, allocations: 77.05 MB / 368.8 MB, free: 7.254 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.303, allocations: 77.53 kB / 368.9 MB, free: 7.246 MB / 298.7 MB Notification: Performance of FrontEnd: time 0.07508/0.3782, allocations: 20.69 MB / 389.6 MB, free: 1.305 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.869e-05/0.3784, allocations: 38.75 kB / 389.6 MB, free: 1.297 MB / 298.7 MB Notification: Performance of Generate backend data structure: time 0.003556/0.382, allocations: 1.437 MB / 391 MB, free: 392 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3822, allocations: 7.781 kB / 391 MB, free: 392 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.3833, allocations: 182.7 kB / 391.2 MB, free: 300 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/0.3857, allocations: 0.931 MB / 392.1 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.8e-05/0.3859, allocations: 50.41 kB / 392.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000438/0.3864, allocations: 77.38 kB / 392.3 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003369/0.3899, allocations: 1.277 MB / 393.5 MB, free: 15.73 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00433/0.3943, allocations: 1.611 MB / 395.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.73e-05/0.3944, allocations: 5.25 kB / 395.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/0.3947, allocations: 1.188 kB / 395.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.03e-05/0.3948, allocations: 33.44 kB / 395.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01119/0.406, allocations: 4.759 MB / 400 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008042/0.4069, allocations: 463.3 kB / 400.4 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/0.408, allocations: 0.4965 MB / 400.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.071e-05/0.4082, allocations: 11.06 kB / 400.9 MB, free: 12.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.4083, allocations: 40.19 kB / 401 MB, free: 12.94 MB / 314.7 MB Notification: Performance of pre-optimization done (n=42): time 6.565e-06/0.4083, allocations: 1.188 kB / 401 MB, free: 12.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.003437/0.4118, allocations: 1.496 MB / 402.5 MB, free: 12.26 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.4119, allocations: 55.47 kB / 402.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001217/0.4132, allocations: 0.5654 MB / 403.1 MB, free: 12.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.137e-05/0.4134, allocations: 26.61 kB / 403.1 MB, free: 11.99 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000341/0.4138, allocations: 0.5449 MB / 403.6 MB, free: 11.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.414, allocations: 147.6 kB / 403.8 MB, free: 11.46 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.4141, allocations: 5.031 kB / 403.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4143, allocations: 373.7 kB / 404.2 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004804/0.4148, allocations: 257.8 kB / 404.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005473/0.4154, allocations: 387.9 kB / 404.8 MB, free: 10.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005954/0.4161, allocations: 331.5 kB / 405.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.867e-06/0.4162, allocations: 1.344 kB / 405.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001706/0.4179, allocations: 0.7785 MB / 405.9 MB, free: 10.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.418, allocations: 5.406 kB / 405.9 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.4181, allocations: 4.688 kB / 405.9 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003507/0.4185, allocations: 86.28 kB / 406 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008271/0.4194, allocations: 122.1 kB / 406.1 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/0.4219, allocations: 1.825 MB / 407.9 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007025/0.4227, allocations: 21.64 kB / 408 MB, free: 9.148 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.744e-05/0.4228, allocations: 27.42 kB / 408 MB, free: 9.145 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.585e-05/0.423, allocations: 76.59 kB / 408.1 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.4232, allocations: 60.47 kB / 408.1 MB, free: 9.039 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.4235, allocations: 78.55 kB / 408.2 MB, free: 9.012 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.4236, allocations: 4.938 kB / 408.2 MB, free: 9.012 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/0.4236, allocations: 1.375 kB / 408.2 MB, free: 9.012 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.4237, allocations: 5.25 kB / 408.2 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00424/0.428, allocations: 1.737 MB / 409.9 MB, free: 8.238 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.311e-06/0.4281, allocations: 3.938 kB / 409.9 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005399/0.4287, allocations: 83.67 kB / 410 MB, free: 8.156 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004887/0.4293, allocations: 82.34 kB / 410.1 MB, free: 8.094 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.532e-05/0.4294, allocations: 7.984 kB / 410.1 MB, free: 8.086 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.4314, allocations: 1.794 MB / 411.9 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-06/0.4315, allocations: 0 / 411.9 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001917/0.4335, allocations: 1.108 MB / 413 MB, free: 5.297 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004239/0.434, allocations: 196.3 kB / 413.2 MB, free: 5.086 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.4342, allocations: 4 kB / 413.2 MB, free: 5.082 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000601/0.4349, allocations: 32.03 kB / 413.2 MB, free: 5.051 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.4351, allocations: 27.88 kB / 413.3 MB, free: 5.023 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.756e-05/0.4352, allocations: 19.98 kB / 413.3 MB, free: 5.004 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0006978/0.4359, allocations: 446.8 kB / 413.7 MB, free: 4.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001236/0.4372, allocations: 184 kB / 413.9 MB, free: 4.391 MB / 314.7 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001041/0.4374, allocations: 69.55 kB / 414 MB, free: 4.32 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001599/0.4391, allocations: 0.6949 MB / 414.7 MB, free: 3.617 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.8e-06/0.4392, allocations: 4.312 kB / 414.7 MB, free: 3.613 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008142/0.44, allocations: 409.4 kB / 415.1 MB, free: 3.203 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001124/0.4412, allocations: 146.5 kB / 415.2 MB, free: 3.059 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004572/0.4459, allocations: 1.8 MB / 417 MB, free: 1.203 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/0.4475, allocations: 1.494 MB / 418.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of SimCode: time 2.375e-06/0.4477, allocations: 0 / 418.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of Templates: time 0.05707/0.5048, allocations: 7.964 MB / 426.5 MB, free: 7.836 MB / 330.7 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Electrical.MultiPhase.Examples.TestSensors.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_Electrical_MultiPhase_Examples_TestSensors -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Electrical.MultiPhase.Examples.TestSensors.o Modelica_3.2.2_-O2_Modelica.Electrical.MultiPhase.Examples.TestSensors.c In file included from Modelica_3.2.2_-O2_Modelica.Electrical.MultiPhase.Examples.TestSensors.c:2: ./Modelica_3.2.2_-O2_Modelica.Electrical.MultiPhase.Examples.TestSensors_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_MultiPhase_Examples_TestSensors__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Electrical.MultiPhase.Examples.TestSensors_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Electrical_MultiPhase_Examples_TestSensors__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.MultiPhase.Examples.TestSensors.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.Electrical.MultiPhase.Examples.TestSensors.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_MultiPhase_Examples_TestSensors_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.MultiPhase.Examples.TestSensors.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.Electrical.MultiPhase.Examples.TestSensors.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_MultiPhase_Examples_TestSensors_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.MultiPhase.Examples.TestSensors.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.Electrical.MultiPhase.Examples.TestSensors.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_MultiPhase_Examples_TestSensors_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.Electrical.MultiPhase.Examples.TestSensors.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_MultiPhase_Examples_TestSensors_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.MultiPhase.Examples.TestSensors.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.Electrical.MultiPhase.Examples.TestSensors.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Electrical_MultiPhase_Examples_TestSensors_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.MultiPhase.Examples.TestSensors.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.Electrical.MultiPhase.Examples.TestSensors.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_MultiPhase_Examples_TestSensors_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.Electrical.MultiPhase.Examples.TestSensors.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_MultiPhase_Examples_TestSensors_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Electrical.MultiPhase.Examples.TestSensors.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.Electrical.MultiPhase.Examples.TestSensors.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Electrical_MultiPhase_Examples_TestSensors_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Electrical.MultiPhase.Examples.TestSensors.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Electrical_MultiPhase_Examples_TestSensors_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.Electrical.MultiPhase.Examples.TestSensors.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Electrical_MultiPhase_Examples_TestSensors_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Electrical.MultiPhase.Examples.TestSensors.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Electrical_MultiPhase_Examples_TestSensors_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.MultiPhase.Examples.TestSensors.c:779:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_MultiPhase_Examples_TestSensors_eqFunction_79(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.MultiPhase.Examples.TestSensors.c:780:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_MultiPhase_Examples_TestSensors_eqFunction_80(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.MultiPhase.Examples.TestSensors.c:781:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_MultiPhase_Examples_TestSensors_eqFunction_83(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.MultiPhase.Examples.TestSensors.c:782:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_MultiPhase_Examples_TestSensors_eqFunction_85(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O2_Modelica.Electrical.MultiPhase.Examples.TestSensors.c:783:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O2_Modelica_Electrical_MultiPhase_Examples_TestSensors_eqFunction_87(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.Electrical.MultiPhase.Examples.TestSensors.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Electrical.MultiPhase.Examples.TestSensors.o] Error 1