Notification: Performance of loadModel(Modelica): time 1.508/1.508, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.568e-06/9.778e-06, allocations: 1.25 kB / 247.4 MB, free: 4.688 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06302/0.0631, allocations: 44.36 MB / 291.7 MB, free: 9.258 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2314/0.2946, allocations: 77.04 MB / 368.8 MB, free: 6.922 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001849/0.2949, allocations: 77.28 kB / 368.9 MB, free: 6.918 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.07153/0.3665, allocations: 20.68 MB / 389.5 MB, free: 92 kB / 296.6 MB Notification: Performance of Transformations before backend: time 8.514e-05/0.3667, allocations: 41.56 kB / 389.6 MB, free: 80 kB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.003322/0.3701, allocations: 1.434 MB / 391 MB, free: 15.16 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.3702, allocations: 9.125 kB / 391 MB, free: 15.16 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008622/0.3711, allocations: 176.4 kB / 391.2 MB, free: 15.07 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/0.3734, allocations: 0.932 MB / 392.1 MB, free: 14.63 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.949e-05/0.3735, allocations: 49.52 kB / 392.2 MB, free: 14.63 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003629/0.374, allocations: 78.69 kB / 392.3 MB, free: 14.63 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003198/0.3772, allocations: 1.276 MB / 393.5 MB, free: 14.52 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004192/0.3815, allocations: 1.618 MB / 395.2 MB, free: 14.03 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/0.3816, allocations: 4 kB / 395.2 MB, free: 14.03 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.3819, allocations: 2.375 kB / 395.2 MB, free: 14.03 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.051e-05/0.382, allocations: 33.16 kB / 395.2 MB, free: 14.03 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01084/0.3928, allocations: 4.757 MB / 400 MB, free: 11.91 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007927/0.3937, allocations: 464.2 kB / 400.4 MB, free: 11.84 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.3948, allocations: 0.5016 MB / 400.9 MB, free: 11.76 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 4.211e-05/0.3949, allocations: 3.875 kB / 400.9 MB, free: 11.76 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.395, allocations: 43.81 kB / 401 MB, free: 11.72 MB / 312.6 MB Notification: Performance of pre-optimization done (n=42): time 5.447e-06/0.3951, allocations: 0 / 401 MB, free: 11.72 MB / 312.6 MB Notification: Performance of matching and sorting (n=44): time 0.003443/0.3986, allocations: 1.498 MB / 402.5 MB, free: 11.04 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.3987, allocations: 56.25 kB / 402.5 MB, free: 10.98 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009629/0.3997, allocations: 0.5656 MB / 403.1 MB, free: 10.8 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 6.216e-05/0.3999, allocations: 29.7 kB / 403.1 MB, free: 10.77 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003053/0.4002, allocations: 0.546 MB / 403.6 MB, free: 10.34 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.4004, allocations: 148.6 kB / 403.8 MB, free: 10.23 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/0.4005, allocations: 0 / 403.8 MB, free: 10.23 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0003012/0.4009, allocations: 372.1 kB / 404.2 MB, free: 9.902 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004989/0.4014, allocations: 259.4 kB / 404.4 MB, free: 9.867 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005328/0.402, allocations: 393.3 kB / 404.8 MB, free: 9.672 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005706/0.4027, allocations: 336.4 kB / 405.1 MB, free: 9.582 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.4027, allocations: 0 / 405.1 MB, free: 9.582 MB / 312.6 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001476/0.4042, allocations: 0.7778 MB / 405.9 MB, free: 8.98 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4043, allocations: 8 kB / 405.9 MB, free: 8.973 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/0.4044, allocations: 4 kB / 405.9 MB, free: 8.969 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003041/0.4048, allocations: 85.23 kB / 406 MB, free: 8.898 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006833/0.4055, allocations: 122.9 kB / 406.1 MB, free: 8.785 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/0.4077, allocations: 1.822 MB / 407.9 MB, free: 7.078 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007058/0.4085, allocations: 27.83 kB / 408 MB, free: 7.051 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/0.4086, allocations: 23.75 kB / 408 MB, free: 7.031 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 7.585e-05/0.4088, allocations: 75.28 kB / 408.1 MB, free: 6.957 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.409, allocations: 63.25 kB / 408.1 MB, free: 6.895 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.4092, allocations: 73.8 kB / 408.2 MB, free: 6.855 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.73e-06/0.4093, allocations: 4 kB / 408.2 MB, free: 6.852 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.4094, allocations: 0 / 408.2 MB, free: 6.852 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.612e-06/0.4094, allocations: 4 kB / 408.2 MB, free: 6.848 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003825/0.4133, allocations: 1.743 MB / 409.9 MB, free: 5.441 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.984e-06/0.4134, allocations: 0 / 409.9 MB, free: 5.441 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004974/0.414, allocations: 75.89 kB / 410 MB, free: 5.367 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002773/0.4143, allocations: 79.84 kB / 410.1 MB, free: 5.289 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/0.4144, allocations: 16.14 kB / 410.1 MB, free: 5.273 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001993/0.4165, allocations: 1.793 MB / 411.9 MB, free: 3.367 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.286e-06/0.4166, allocations: 3.938 kB / 411.9 MB, free: 3.363 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001663/0.4183, allocations: 1.105 MB / 413 MB, free: 2.199 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004647/0.4189, allocations: 196.3 kB / 413.2 MB, free: 1.988 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.4191, allocations: 4 kB / 413.2 MB, free: 1.984 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006117/0.4198, allocations: 27.97 kB / 413.2 MB, free: 1.957 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.42, allocations: 39.86 kB / 413.3 MB, free: 1.918 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.323e-05/0.4201, allocations: 16 kB / 413.3 MB, free: 1.902 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.000655/0.4208, allocations: 442.8 kB / 413.7 MB, free: 1.473 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.001129/0.422, allocations: 184 kB / 413.9 MB, free: 1.293 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 9.554e-05/0.4221, allocations: 69.55 kB / 414 MB, free: 1.223 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.4234, allocations: 0.6983 MB / 414.7 MB, free: 0.5156 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 5.727e-06/0.4235, allocations: 0 / 414.7 MB, free: 0.5156 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0007522/0.4243, allocations: 417.4 kB / 415.1 MB, free: 100 kB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.4255, allocations: 132.1 kB / 415.2 MB, free: 15.97 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004647/0.4303, allocations: 1.808 MB / 417 MB, free: 14.11 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001523/0.4319, allocations: 1.494 MB / 418.5 MB, free: 12.58 MB / 328.6 MB Notification: Performance of SimCode: time 2.445e-06/0.432, allocations: 0 / 418.5 MB, free: 12.58 MB / 328.6 MB Notification: Performance of Templates: time 0.07621/0.5083, allocations: 7.988 MB / 426.5 MB, free: 4.719 MB / 328.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Electrical.MultiPhase.Examples.TestSensors.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_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_-O1_Modelica.Electrical.MultiPhase.Examples.TestSensors.o Modelica_3.2.2_-O1_Modelica.Electrical.MultiPhase.Examples.TestSensors.c In file included from Modelica_3.2.2_-O1_Modelica.Electrical.MultiPhase.Examples.TestSensors.c:2: ./Modelica_3.2.2_-O1_Modelica.Electrical.MultiPhase.Examples.TestSensors_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_MultiPhase_Examples_TestSensors__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Electrical.MultiPhase.Examples.TestSensors_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Electrical_MultiPhase_Examples_TestSensors__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.MultiPhase.Examples.TestSensors.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_MultiPhase_Examples_TestSensors_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.MultiPhase.Examples.TestSensors.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_MultiPhase_Examples_TestSensors_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.MultiPhase.Examples.TestSensors.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.MultiPhase.Examples.TestSensors.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_MultiPhase_Examples_TestSensors_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.MultiPhase.Examples.TestSensors.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Electrical_MultiPhase_Examples_TestSensors_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.MultiPhase.Examples.TestSensors.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.MultiPhase.Examples.TestSensors.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_MultiPhase_Examples_TestSensors_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Electrical.MultiPhase.Examples.TestSensors.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Electrical_MultiPhase_Examples_TestSensors_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Electrical.MultiPhase.Examples.TestSensors.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Electrical_MultiPhase_Examples_TestSensors_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Electrical.MultiPhase.Examples.TestSensors.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Electrical_MultiPhase_Examples_TestSensors_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.MultiPhase.Examples.TestSensors.c:779:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_MultiPhase_Examples_TestSensors_eqFunction_79(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.MultiPhase.Examples.TestSensors.c:780:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_MultiPhase_Examples_TestSensors_eqFunction_80(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.MultiPhase.Examples.TestSensors.c:781:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_MultiPhase_Examples_TestSensors_eqFunction_83(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.MultiPhase.Examples.TestSensors.c:782:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Electrical_MultiPhase_Examples_TestSensors_eqFunction_85(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Electrical.MultiPhase.Examples.TestSensors.c:783:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_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_-O1_Modelica.Electrical.MultiPhase.Examples.TestSensors.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Electrical.MultiPhase.Examples.TestSensors.o] Error 1