Notification: Performance of loadModel(Modelica): time 1.556/1.556, allocations: 194.5 MB / 200.7 MB, free: 5.168 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.428e-06/9.499e-06, allocations: 1.125 kB / 247.4 MB, free: 4.707 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0703/0.07038, allocations: 44.35 MB / 291.7 MB, free: 9.281 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2376/0.3081, allocations: 81.22 MB / 372.9 MB, free: 6.812 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.3084, allocations: 94.5 kB / 373 MB, free: 6.793 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.05743/0.3659, allocations: 14.76 MB / 387.8 MB, free: 1.426 MB / 296.6 MB Notification: Performance of Transformations before backend: time 5.86e-05/0.3661, allocations: 19.22 kB / 387.8 MB, free: 1.422 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.002105/0.3683, allocations: 1.015 MB / 388.8 MB, free: 0.6875 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3684, allocations: 8.906 kB / 388.8 MB, free: 0.6875 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003088/0.3688, allocations: 94.59 kB / 388.9 MB, free: 0.6406 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.37, allocations: 0.5256 MB / 389.5 MB, free: 308 kB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/0.3702, allocations: 37.06 kB / 389.5 MB, free: 296 kB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.3704, allocations: 38.53 kB / 389.5 MB, free: 292 kB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001318/0.3718, allocations: 475.1 kB / 390 MB, free: 264 kB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.3731, allocations: 0.5188 MB / 390.5 MB, free: 116 kB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/0.3732, allocations: 1.375 kB / 390.5 MB, free: 116 kB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-05/0.3734, allocations: 0 / 390.5 MB, free: 116 kB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.521e-05/0.3735, allocations: 19.11 kB / 390.5 MB, free: 112 kB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005758/0.3793, allocations: 2.558 MB / 393.1 MB, free: 14.71 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007323/0.3801, allocations: 307.2 kB / 393.4 MB, free: 14.68 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006928/0.3809, allocations: 259.2 kB / 393.6 MB, free: 14.65 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 5.434e-05/0.381, allocations: 22.19 kB / 393.7 MB, free: 14.64 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.34e-05/0.3811, allocations: 41.59 kB / 393.7 MB, free: 14.59 MB / 312.6 MB Notification: Performance of pre-optimization done (n=50): time 4.26e-06/0.3812, allocations: 0 / 393.7 MB, free: 14.59 MB / 312.6 MB Notification: Performance of matching and sorting (n=66): time 0.003027/0.3842, allocations: 0.948 MB / 394.7 MB, free: 14.29 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/0.3844, allocations: 58.06 kB / 394.7 MB, free: 14.23 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.3858, allocations: 0.7447 MB / 395.5 MB, free: 14.04 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 5.357e-05/0.3859, allocations: 26.8 kB / 395.5 MB, free: 14 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.3862, allocations: 302 kB / 395.8 MB, free: 13.78 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.3864, allocations: 216.2 kB / 396 MB, free: 13.62 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.3865, allocations: 1.375 kB / 396 MB, free: 13.62 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.3867, allocations: 386.1 kB / 396.4 MB, free: 13.29 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005093/0.3873, allocations: 196.4 kB / 396.6 MB, free: 13.27 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005894/0.3879, allocations: 286.8 kB / 396.8 MB, free: 13.18 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005698/0.3885, allocations: 230.9 kB / 397.1 MB, free: 13.14 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.518e-06/0.3886, allocations: 1.125 kB / 397.1 MB, free: 13.14 MB / 312.6 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00173/0.3904, allocations: 0.6102 MB / 397.7 MB, free: 13.01 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.3905, allocations: 9.062 kB / 397.7 MB, free: 13 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.3906, allocations: 2.219 kB / 397.7 MB, free: 13 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.738e-05/0.3906, allocations: 10.09 kB / 397.7 MB, free: 13 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.392, allocations: 203.4 kB / 397.9 MB, free: 12.95 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.949e-05/0.3921, allocations: 10.19 kB / 397.9 MB, free: 12.95 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009556/0.3931, allocations: 51.33 kB / 398 MB, free: 12.93 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.137e-05/0.3933, allocations: 30.48 kB / 398 MB, free: 12.93 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 6.537e-05/0.3934, allocations: 75.28 kB / 398.1 MB, free: 12.85 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.3936, allocations: 75.25 kB / 398.1 MB, free: 12.81 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.3951, allocations: 0.5303 MB / 398.7 MB, free: 12.68 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.3952, allocations: 10.16 kB / 398.7 MB, free: 12.67 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.3952, allocations: 1.219 kB / 398.7 MB, free: 12.67 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.3953, allocations: 7.984 kB / 398.7 MB, free: 12.66 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003583/0.3989, allocations: 1.744 MB / 400.4 MB, free: 11.8 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.149e-06/0.3991, allocations: 7.031 kB / 400.4 MB, free: 11.79 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009821/0.4001, allocations: 157.8 kB / 400.6 MB, free: 11.76 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.544e-05/0.4002, allocations: 6.406 kB / 400.6 MB, free: 11.76 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.77e-05/0.4003, allocations: 5 kB / 400.6 MB, free: 11.76 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/0.4004, allocations: 13.2 kB / 400.6 MB, free: 11.75 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.705e-06/0.4004, allocations: 3.688 kB / 400.6 MB, free: 11.75 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001392/0.4019, allocations: 0.7734 MB / 401.4 MB, free: 11.26 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004614/0.4024, allocations: 234.8 kB / 401.6 MB, free: 11.1 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001587/0.4026, allocations: 3.969 kB / 401.6 MB, free: 11.1 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008056/0.4035, allocations: 62.23 kB / 401.7 MB, free: 11.08 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002776/0.4038, allocations: 41.38 kB / 401.7 MB, free: 11.05 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.23e-05/0.4039, allocations: 23.16 kB / 401.7 MB, free: 11.05 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0009412/0.4049, allocations: 0.5856 MB / 402.3 MB, free: 10.91 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.0009254/0.4059, allocations: 146.4 kB / 402.5 MB, free: 10.91 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004555/0.4065, allocations: 190.6 kB / 402.7 MB, free: 10.8 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.4078, allocations: 0.5116 MB / 403.2 MB, free: 10.74 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.4079, allocations: 5.25 kB / 403.2 MB, free: 10.74 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0006492/0.4086, allocations: 267.2 kB / 403.4 MB, free: 10.71 MB / 312.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009228/0.4096, allocations: 98.16 kB / 403.5 MB, free: 10.68 MB / 312.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002952/0.4126, allocations: 1.18 MB / 404.7 MB, free: 9.648 MB / 312.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/0.4138, allocations: 1.058 MB / 405.8 MB, free: 8.578 MB / 312.6 MB Notification: Performance of SimCode: time 2.235e-06/0.4138, allocations: 0 / 405.8 MB, free: 8.578 MB / 312.6 MB Notification: Performance of Templates: time 0.08775/0.5016, allocations: 8.105 MB / 413.9 MB, free: 0.5391 MB / 312.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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_ForceStrokeBehaviour -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.o Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.ForceStrokeBehaviour.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.ForceStrokeBehaviour.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.ForceStrokeBehaviour.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_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.ForceStrokeBehaviour.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.ForceStrokeBehaviour.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.ForceStrokeBehaviour.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_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.ForceStrokeBehaviour.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.ForceStrokeBehaviour.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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_ForceStrokeBehaviour_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.ForceStrokeBehaviour.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.c:1181: ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_12jac.h:7:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_12jac.h:18:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_12jac.h:29:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_INDEX_JAC_C 1 ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 11 warnings and 20 errors generated. : recipe for target 'Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.o] Error 1