Notification: Performance of loadModel(Modelica): time 1.604/1.604, allocations: 194.5 MB / 200.7 MB, free: 5.176 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.987e-06/1.006e-05, allocations: 1.219 kB / 247.4 MB, free: 4.688 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06646/0.06654, allocations: 44.36 MB / 291.7 MB, free: 9.27 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2383/0.3049, allocations: 83.23 MB / 375 MB, free: 6.168 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.3052, allocations: 88.81 kB / 375.1 MB, free: 6.152 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.08261/0.3879, allocations: 20.95 MB / 396 MB, free: 14.55 MB / 312.6 MB Notification: Performance of Transformations before backend: time 7.375e-05/0.3881, allocations: 26.12 kB / 396 MB, free: 14.55 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.003045/0.3912, allocations: 1.278 MB / 397.3 MB, free: 13.7 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.3913, allocations: 9.969 kB / 397.3 MB, free: 13.7 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004289/0.3918, allocations: 130 kB / 397.4 MB, free: 13.63 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/0.3934, allocations: 0.651 MB / 398.1 MB, free: 13.24 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001653/0.3936, allocations: 48.88 kB / 398.1 MB, free: 13.24 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/0.3939, allocations: 62.19 kB / 398.2 MB, free: 13.23 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002001/0.3959, allocations: 0.7178 MB / 398.9 MB, free: 13.2 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/0.3981, allocations: 0.8033 MB / 399.7 MB, free: 13 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.624e-05/0.3982, allocations: 5.719 kB / 399.7 MB, free: 13 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.3984, allocations: 0.5312 kB / 399.7 MB, free: 13 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-05/0.3985, allocations: 23.75 kB / 399.8 MB, free: 13 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008417/0.407, allocations: 3.686 MB / 403.4 MB, free: 11.08 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001946/0.409, allocations: 0.578 MB / 404 MB, free: 10.75 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009364/0.4101, allocations: 343.1 kB / 404.4 MB, free: 10.54 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 7.857e-05/0.4103, allocations: 12.19 kB / 404.4 MB, free: 10.53 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.4103, allocations: 43.05 kB / 404.4 MB, free: 10.48 MB / 312.6 MB Notification: Performance of pre-optimization done (n=68): time 6.774e-06/0.4104, allocations: 4 kB / 404.4 MB, free: 10.48 MB / 312.6 MB Notification: Performance of matching and sorting (n=86): time 0.003964/0.4144, allocations: 1.391 MB / 405.8 MB, free: 9.371 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.192e-05/0.4146, allocations: 89.53 kB / 405.9 MB, free: 9.266 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.416, allocations: 0.6902 MB / 406.6 MB, free: 8.758 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 9.694e-05/0.4161, allocations: 25.7 kB / 406.6 MB, free: 8.727 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.4164, allocations: 418.3 kB / 407 MB, free: 8.359 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.4166, allocations: 275.6 kB / 407.3 MB, free: 8.121 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.4168, allocations: 4 kB / 407.3 MB, free: 8.117 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.4169, allocations: 394.5 kB / 407.7 MB, free: 7.758 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006814/0.4177, allocations: 283.9 kB / 408 MB, free: 7.609 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000762/0.4185, allocations: 440.3 kB / 408.4 MB, free: 7.27 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007393/0.4193, allocations: 319 kB / 408.7 MB, free: 7.09 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.447e-06/0.4194, allocations: 4 kB / 408.7 MB, free: 7.086 MB / 312.6 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002139/0.4216, allocations: 0.8436 MB / 409.5 MB, free: 6.473 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.4217, allocations: 4 kB / 409.5 MB, free: 6.469 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.4217, allocations: 4 kB / 409.5 MB, free: 6.465 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.052e-05/0.4218, allocations: 12 kB / 409.6 MB, free: 6.453 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/0.424, allocations: 373.1 kB / 409.9 MB, free: 6.098 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.683e-05/0.424, allocations: 8 kB / 409.9 MB, free: 6.09 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001393/0.4255, allocations: 108.5 kB / 410 MB, free: 5.984 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-05/0.4257, allocations: 42.42 kB / 410.1 MB, free: 5.953 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 8.067e-05/0.4258, allocations: 79.19 kB / 410.2 MB, free: 5.875 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.4261, allocations: 86.97 kB / 410.2 MB, free: 5.789 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008747/0.427, allocations: 346.6 kB / 410.6 MB, free: 5.547 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.4271, allocations: 8 kB / 410.6 MB, free: 5.539 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.079e-06/0.4272, allocations: 0 / 410.6 MB, free: 5.539 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.4272, allocations: 7.984 kB / 410.6 MB, free: 5.531 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005863/0.4331, allocations: 2.664 MB / 413.3 MB, free: 3.488 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.578e-05/0.4333, allocations: 8 kB / 413.3 MB, free: 3.48 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/0.4349, allocations: 288.4 kB / 413.5 MB, free: 3.207 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.34e-05/0.435, allocations: 16 kB / 413.6 MB, free: 3.191 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.375e-05/0.4351, allocations: 19.98 kB / 413.6 MB, free: 3.172 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.935e-05/0.4352, allocations: 31.84 kB / 413.6 MB, free: 3.141 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.606e-05/0.4353, allocations: 15.94 kB / 413.6 MB, free: 3.125 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001911/0.4372, allocations: 1.609 MB / 415.2 MB, free: 1.09 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000314/0.4376, allocations: 199.9 kB / 415.4 MB, free: 0.875 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/0.4379, allocations: 15.98 kB / 415.5 MB, free: 0.8594 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.4391, allocations: 75.94 kB / 415.5 MB, free: 0.7852 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/0.4394, allocations: 79.67 kB / 415.6 MB, free: 0.707 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.058e-05/0.4395, allocations: 40 kB / 415.6 MB, free: 0.668 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0009619/0.4406, allocations: 0.5226 MB / 416.2 MB, free: 156 kB / 312.6 MB Notification: Performance of remove unused functions: time 0.001379/0.442, allocations: 196 kB / 416.4 MB, free: 15.96 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0004667/0.4425, allocations: 190.3 kB / 416.5 MB, free: 15.82 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.4443, allocations: 0.7043 MB / 417.2 MB, free: 15.11 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/0.4444, allocations: 4 kB / 417.3 MB, free: 15.11 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.4455, allocations: 382.7 kB / 417.6 MB, free: 14.73 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/0.447, allocations: 147.5 kB / 417.8 MB, free: 14.59 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004019/0.4511, allocations: 1.546 MB / 419.3 MB, free: 12.88 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001324/0.4525, allocations: 1.146 MB / 420.5 MB, free: 11.71 MB / 328.6 MB Notification: Performance of SimCode: time 2.375e-06/0.4526, allocations: 4 kB / 420.5 MB, free: 11.7 MB / 328.6 MB Notification: Performance of Templates: time 0.06183/0.5145, allocations: 10.73 MB / 431.2 MB, free: 1.062 MB / 328.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.o Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:2: ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_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.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_performSimulation ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_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.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_performQSSSimulation ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:18:5: error: non-static declaration of 'Modelica_3_2_2_' follows static declaration int Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_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.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:1595: ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:7:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:18:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:29:26: warning: ISO C99 requires whitespace after the macro name [-Wc99-extensions] #define Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_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_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.o] Error 1