Notification: Performance of loadModel(Modelica): time 1.519/1.519, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.358e-06/9.429e-06, allocations: 1.062 kB / 247.4 MB, free: 4.672 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06307/0.06315, allocations: 44.37 MB / 291.7 MB, free: 9.262 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2327/0.2959, allocations: 81.7 MB / 373.4 MB, free: 6.535 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.2963, allocations: 88.31 kB / 373.5 MB, free: 6.52 MB / 296.6 MB [Modelica 3.2.2/Magnetic/FluxTubes.mo:1374:11-1374:91:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd: time 0.1439/0.4402, allocations: 35.24 MB / 408.8 MB, free: 7.234 MB / 312.6 MB Notification: Performance of Transformations before backend: time 5.566e-05/0.4404, allocations: 23.75 kB / 408.8 MB, free: 7.215 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.002803/0.4433, allocations: 1.159 MB / 409.9 MB, free: 6.074 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/0.4434, allocations: 12.03 kB / 410 MB, free: 6.062 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005755/0.4441, allocations: 122.6 kB / 410.1 MB, free: 5.941 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001405/0.4455, allocations: 0.603 MB / 410.7 MB, free: 5.445 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/0.4458, allocations: 57.39 kB / 410.7 MB, free: 5.395 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.446, allocations: 56 kB / 410.8 MB, free: 5.34 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001914/0.448, allocations: 0.7303 MB / 411.5 MB, free: 4.902 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.4501, allocations: 0.7998 MB / 412.3 MB, free: 4.348 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.812e-05/0.4502, allocations: 11.91 kB / 412.3 MB, free: 4.336 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.4504, allocations: 0 / 412.3 MB, free: 4.336 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.472e-05/0.4505, allocations: 24 kB / 412.4 MB, free: 4.312 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007793/0.4583, allocations: 3.408 MB / 415.8 MB, free: 1.504 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.4596, allocations: 495.8 kB / 416.3 MB, free: 1 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009194/0.4606, allocations: 432.2 kB / 416.7 MB, free: 0.5742 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.935e-05/0.4607, allocations: 16.48 kB / 416.7 MB, free: 0.5586 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.4608, allocations: 50.75 kB / 416.7 MB, free: 0.5 MB / 312.6 MB Notification: Performance of pre-optimization done (n=95): time 5.098e-06/0.4609, allocations: 4 kB / 416.7 MB, free: 0.4961 MB / 312.6 MB Notification: Performance of matching and sorting (n=131): time 0.009955/0.4709, allocations: 3.627 MB / 420.4 MB, free: 12.7 MB / 328.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.471, allocations: 94.2 kB / 420.5 MB, free: 12.59 MB / 328.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007325/0.4718, allocations: 466.1 kB / 420.9 MB, free: 12.12 MB / 328.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.472, allocations: 25.7 kB / 420.9 MB, free: 12.09 MB / 328.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.4722, allocations: 344.3 kB / 421.3 MB, free: 11.75 MB / 328.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003311/0.4726, allocations: 433.5 kB / 421.7 MB, free: 11.32 MB / 328.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.305e-05/0.4727, allocations: 0 / 421.7 MB, free: 11.32 MB / 328.6 MB Notification: Performance of setup shared object (initialization): time 0.0002879/0.4731, allocations: 390.7 kB / 422.1 MB, free: 10.93 MB / 328.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008177/0.4739, allocations: 350.6 kB / 422.4 MB, free: 10.58 MB / 328.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008965/0.4749, allocations: 482 kB / 422.9 MB, free: 10.08 MB / 328.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009112/0.4759, allocations: 397.2 kB / 423.3 MB, free: 9.691 MB / 328.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.727e-06/0.476, allocations: 0 / 423.3 MB, free: 9.691 MB / 328.6 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002841/0.4789, allocations: 1.111 MB / 424.4 MB, free: 8.57 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.479, allocations: 7.938 kB / 424.4 MB, free: 8.562 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.4791, allocations: 4 kB / 424.4 MB, free: 8.559 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006119/0.4797, allocations: 150.2 kB / 424.6 MB, free: 8.406 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/0.4817, allocations: 291.6 kB / 424.8 MB, free: 8.121 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004671/0.4865, allocations: 4.528 MB / 429.4 MB, free: 3.246 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001274/0.4878, allocations: 68 kB / 429.4 MB, free: 3.18 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.488, allocations: 39.98 kB / 429.5 MB, free: 3.141 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001319/0.4882, allocations: 83.12 kB / 429.6 MB, free: 3.059 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000233/0.4885, allocations: 90.97 kB / 429.6 MB, free: 2.969 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.4903, allocations: 0.7006 MB / 430.3 MB, free: 2.25 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/0.4904, allocations: 19.91 kB / 430.4 MB, free: 2.23 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/0.4905, allocations: 0 / 430.4 MB, free: 2.23 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/0.4905, allocations: 11.97 kB / 430.4 MB, free: 2.219 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006113/0.4967, allocations: 2.739 MB / 433.1 MB, free: 15.41 MB / 344.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/0.4968, allocations: 7.906 kB / 433.1 MB, free: 15.4 MB / 344.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001695/0.4986, allocations: 263.9 kB / 433.4 MB, free: 15.14 MB / 344.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005997/0.4993, allocations: 122.5 kB / 433.5 MB, free: 15.01 MB / 344.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/0.4995, allocations: 15.98 kB / 433.5 MB, free: 15 MB / 344.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003855/0.5034, allocations: 4.158 MB / 437.7 MB, free: 10.49 MB / 344.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.752e-06/0.5035, allocations: 0 / 437.7 MB, free: 10.49 MB / 344.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003612/0.5072, allocations: 1.86 MB / 439.5 MB, free: 8.516 MB / 344.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003361/0.5076, allocations: 172.2 kB / 439.7 MB, free: 8.328 MB / 344.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001976/0.5079, allocations: 8 kB / 439.7 MB, free: 8.32 MB / 344.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.5091, allocations: 63.94 kB / 439.8 MB, free: 8.258 MB / 344.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003574/0.5095, allocations: 84.44 kB / 439.9 MB, free: 8.176 MB / 344.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.5097, allocations: 32 kB / 439.9 MB, free: 8.145 MB / 344.6 MB Notification: Performance of sort global known variables: time 0.0005736/0.5103, allocations: 358.9 kB / 440.2 MB, free: 7.793 MB / 344.6 MB Notification: Performance of remove unused functions: time 0.001518/0.5119, allocations: 224 kB / 440.5 MB, free: 7.574 MB / 344.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0001413/0.5121, allocations: 93.14 kB / 440.5 MB, free: 7.484 MB / 344.6 MB Notification: Performance of simCode: created initialization part: time 0.002735/0.5149, allocations: 1.257 MB / 441.8 MB, free: 6.195 MB / 344.6 MB Notification: Performance of simCode: created event and clocks part: time 6.984e-06/0.515, allocations: 4.062 kB / 441.8 MB, free: 6.191 MB / 344.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.5166, allocations: 0.8472 MB / 442.7 MB, free: 5.316 MB / 344.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.5179, allocations: 122.8 kB / 442.8 MB, free: 5.199 MB / 344.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004723/0.5227, allocations: 1.747 MB / 444.5 MB, free: 3.395 MB / 344.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001241/0.524, allocations: 1.149 MB / 445.7 MB, free: 2.215 MB / 344.6 MB Notification: Performance of SimCode: time 2.445e-06/0.5241, allocations: 4 kB / 445.7 MB, free: 2.211 MB / 344.6 MB Notification: Performance of Templates: time 0.0853/0.6095, allocations: 12.89 MB / 458.6 MB, free: 5.414 MB / 360.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.o Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke_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.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke_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.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke_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.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.c:2099:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke_eqFunction_228(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.c:2100:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke_eqFunction_229(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.c:2101:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke_eqFunction_230(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.c:2102:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke_eqFunction_231(DATA* data, threadData_t *threadData); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.c:2103:28: error: expected ';' after top level declarator extern void Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ArmatureStroke_eqFunction_236(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.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.o] Error 1