Notification: Performance of loadModel(Modelica): time 1.52/1.52, allocations: 194.5 MB / 200.7 MB, free: 5.172 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.006e-05/1.048e-05, allocations: 1.562 kB / 247.4 MB, free: 4.68 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06301/0.06309, allocations: 44.36 MB / 291.7 MB, free: 9.277 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2371/0.3003, allocations: 83.23 MB / 375 MB, free: 6.172 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.3006, allocations: 92.69 kB / 375.1 MB, free: 6.156 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.08555/0.3862, allocations: 20.95 MB / 396 MB, free: 14.55 MB / 312.6 MB Notification: Performance of Transformations before backend: time 7.508e-05/0.3864, allocations: 20.38 kB / 396 MB, free: 14.55 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.003388/0.3899, allocations: 1.28 MB / 397.3 MB, free: 13.69 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.39, allocations: 13.61 kB / 397.3 MB, free: 13.69 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004729/0.3905, allocations: 129.9 kB / 397.4 MB, free: 13.62 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.3924, allocations: 0.6474 MB / 398.1 MB, free: 13.24 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/0.3927, allocations: 45.16 kB / 398.1 MB, free: 13.24 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002274/0.393, allocations: 62.73 kB / 398.2 MB, free: 13.23 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002369/0.3954, allocations: 0.7184 MB / 398.9 MB, free: 13.19 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002374/0.3979, allocations: 0.8017 MB / 399.7 MB, free: 13 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.679e-05/0.3981, allocations: 5.969 kB / 399.7 MB, free: 13 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/0.3982, allocations: 4.766 kB / 399.7 MB, free: 13 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-05/0.3983, allocations: 22.88 kB / 399.8 MB, free: 13 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008815/0.4072, allocations: 3.688 MB / 403.4 MB, free: 11.08 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/0.4092, allocations: 0.578 MB / 404 MB, free: 10.82 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008951/0.4102, allocations: 347.7 kB / 404.4 MB, free: 10.61 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 6.027e-05/0.4103, allocations: 16.38 kB / 404.4 MB, free: 10.6 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.4104, allocations: 42.19 kB / 404.4 MB, free: 10.55 MB / 312.6 MB Notification: Performance of pre-optimization done (n=68): time 6.984e-06/0.4104, allocations: 0 / 404.4 MB, free: 10.55 MB / 312.6 MB Notification: Performance of matching and sorting (n=86): time 0.004075/0.4146, allocations: 1.391 MB / 405.8 MB, free: 9.445 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001967/0.4149, allocations: 89.48 kB / 405.9 MB, free: 9.34 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001209/0.4161, allocations: 0.6874 MB / 406.6 MB, free: 8.832 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001147/0.4163, allocations: 29.7 kB / 406.6 MB, free: 8.797 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.4166, allocations: 410.9 kB / 407 MB, free: 8.438 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.4169, allocations: 287.6 kB / 407.3 MB, free: 8.188 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.649e-05/0.417, allocations: 0 / 407.3 MB, free: 8.188 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.4172, allocations: 394.9 kB / 407.7 MB, free: 7.828 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007181/0.418, allocations: 285.2 kB / 408 MB, free: 7.68 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009703/0.419, allocations: 427.7 kB / 408.4 MB, free: 7.348 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007395/0.4198, allocations: 323.7 kB / 408.7 MB, free: 7.164 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.727e-06/0.4199, allocations: 0 / 408.7 MB, free: 7.164 MB / 312.6 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.00204/0.422, allocations: 0.8463 MB / 409.5 MB, free: 6.551 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.4221, allocations: 8 kB / 409.5 MB, free: 6.543 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.4221, allocations: 4 kB / 409.5 MB, free: 6.539 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/0.4222, allocations: 8 kB / 409.6 MB, free: 6.531 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002124/0.4244, allocations: 370.7 kB / 409.9 MB, free: 6.18 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.018e-05/0.4245, allocations: 15.92 kB / 409.9 MB, free: 6.164 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.4261, allocations: 111.9 kB / 410 MB, free: 6.055 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.4263, allocations: 39.05 kB / 410.1 MB, free: 6.023 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/0.4264, allocations: 79.19 kB / 410.2 MB, free: 5.945 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002667/0.4268, allocations: 86.97 kB / 410.2 MB, free: 5.859 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008985/0.4277, allocations: 339.5 kB / 410.6 MB, free: 5.625 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.4278, allocations: 8 kB / 410.6 MB, free: 5.617 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.4279, allocations: 0 / 410.6 MB, free: 5.617 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.4279, allocations: 3.984 kB / 410.6 MB, free: 5.613 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006198/0.4342, allocations: 2.673 MB / 413.3 MB, free: 3.562 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/0.4343, allocations: 12 kB / 413.3 MB, free: 3.551 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00171/0.4361, allocations: 291.7 kB / 413.6 MB, free: 3.266 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.577e-05/0.4362, allocations: 16 kB / 413.6 MB, free: 3.25 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-05/0.4364, allocations: 20 kB / 413.6 MB, free: 3.23 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-05/0.4364, allocations: 19.92 kB / 413.6 MB, free: 3.211 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-05/0.4365, allocations: 15.94 kB / 413.6 MB, free: 3.195 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001832/0.4384, allocations: 1.614 MB / 415.2 MB, free: 1.145 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004184/0.4389, allocations: 199.9 kB / 415.4 MB, free: 0.9297 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/0.4391, allocations: 16 kB / 415.4 MB, free: 0.9141 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/0.4404, allocations: 71.94 kB / 415.5 MB, free: 0.8438 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.4407, allocations: 87.67 kB / 415.6 MB, free: 0.7578 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.681e-05/0.4408, allocations: 35.98 kB / 415.6 MB, free: 0.7227 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.00101/0.4419, allocations: 0.5148 MB / 416.2 MB, free: 220 kB / 312.6 MB Notification: Performance of remove unused functions: time 0.001502/0.4435, allocations: 200 kB / 416.3 MB, free: 20 kB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0005163/0.4441, allocations: 193.4 kB / 416.5 MB, free: 15.88 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.001855/0.446, allocations: 0.7004 MB / 417.2 MB, free: 15.17 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/0.4461, allocations: 0 / 417.2 MB, free: 15.17 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.4472, allocations: 394.3 kB / 417.6 MB, free: 14.79 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001527/0.4488, allocations: 151.8 kB / 417.8 MB, free: 14.64 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004258/0.4531, allocations: 1.538 MB / 419.3 MB, free: 12.93 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001307/0.4545, allocations: 1.141 MB / 420.5 MB, free: 11.77 MB / 328.6 MB Notification: Performance of SimCode: time 2.654e-06/0.4546, allocations: 3.938 kB / 420.5 MB, free: 11.76 MB / 328.6 MB Notification: Performance of Templates: time 0.05531/0.51, allocations: 10.72 MB / 431.2 MB, free: 1.129 MB / 328.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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_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_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.o Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_performSimulation ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_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_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_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_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_performQSSSimulation ^ Modelica_3.2.2_-O1_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_-O1_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_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_input_function(DATA *data, threadData_t *threadData) ^ ; In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.c:1595: ./Modelica_3.2.2_-O1_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_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:8:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_functionJacA_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:9:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_initialAnalyticJacobianA(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:7:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_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_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:18:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:7:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_INDEX_JAC_A 3 ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:19:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_functionJacB_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:20:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_initialAnalyticJacobianB(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:18:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_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_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:29:11: warning: 'Modelica_3_2_2_' macro redefined [-Wmacro-redefined] #define Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_INDEX_JAC_C 1 ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:18:11: note: previous definition is here #define Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_INDEX_JAC_B 2 ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:30:7: error: expected identifier or '(' int Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_functionJacC_column(void* data, threadData_t *threadData); ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_12jac.h:29:26: note: expanded from macro 'Modelica_3_2_2_' #define Modelica_3_2_2_-O1_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_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.o] Error 1