Notification: Performance of loadModel(Modelica): time 1.525/1.525, allocations: 194.5 MB / 200.7 MB, free: 5.188 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.041e-05/1.055e-05, allocations: 1.062 kB / 247.4 MB, free: 4.656 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06251/0.0626, allocations: 44.36 MB / 291.8 MB, free: 9.215 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2294/0.2921, allocations: 78.11 MB / 369.9 MB, free: 7.062 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002523/0.2925, allocations: 89.62 kB / 370 MB, free: 7.059 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1152/0.4077, allocations: 37.2 MB / 407.2 MB, free: 4.559 MB / 312.6 MB Notification: Performance of Transformations before backend: time 0.0002565/0.4081, allocations: 32 kB / 407.2 MB, free: 4.527 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.003785/0.4119, allocations: 1.985 MB / 409.2 MB, free: 2.609 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.4121, allocations: 8.031 kB / 409.2 MB, free: 2.602 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008341/0.413, allocations: 280.3 kB / 409.5 MB, free: 2.324 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004438/0.4175, allocations: 1.86 MB / 411.3 MB, free: 0.7852 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.22e-05/0.4177, allocations: 49.55 kB / 411.4 MB, free: 0.7305 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002242/0.418, allocations: 43.83 kB / 411.4 MB, free: 0.6875 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006979/0.4187, allocations: 274.2 kB / 411.7 MB, free: 0.5156 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007127/0.4195, allocations: 321.6 kB / 412 MB, free: 268 kB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.4196, allocations: 0 / 412 MB, free: 268 kB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.728e-05/0.4197, allocations: 4 kB / 412 MB, free: 264 kB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.4198, allocations: 8 kB / 412 MB, free: 256 kB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006434/0.4262, allocations: 2.998 MB / 415 MB, free: 13.91 MB / 328.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004813/0.4268, allocations: 179.8 kB / 415.2 MB, free: 13.77 MB / 328.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.4272, allocations: 144 kB / 415.3 MB, free: 13.68 MB / 328.6 MB Notification: Performance of preOpt evalFunc (simulation): time 4.456e-05/0.4273, allocations: 11.47 kB / 415.3 MB, free: 13.67 MB / 328.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.4276, allocations: 41.88 kB / 415.4 MB, free: 13.62 MB / 328.6 MB Notification: Performance of pre-optimization done (n=37): time 4.679e-06/0.4276, allocations: 0 / 415.4 MB, free: 13.62 MB / 328.6 MB Notification: Performance of matching and sorting (n=48): time 0.004809/0.4325, allocations: 2.027 MB / 417.4 MB, free: 11.74 MB / 328.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001943/0.4328, allocations: 85.53 kB / 417.5 MB, free: 11.64 MB / 328.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01316/0.446, allocations: 4.674 MB / 422.2 MB, free: 8.246 MB / 328.6 MB Notification: Performance of collectPreVariables (initialization): time 9.149e-05/0.4462, allocations: 29.73 kB / 422.2 MB, free: 8.211 MB / 328.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007457/0.447, allocations: 495.3 kB / 422.7 MB, free: 7.836 MB / 328.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.4473, allocations: 166.4 kB / 422.8 MB, free: 7.691 MB / 328.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.4474, allocations: 0 / 422.8 MB, free: 7.691 MB / 328.6 MB Notification: Performance of setup shared object (initialization): time 0.0002264/0.4476, allocations: 328.7 kB / 423.2 MB, free: 7.375 MB / 328.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003199/0.448, allocations: 125.4 kB / 423.3 MB, free: 7.301 MB / 328.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.4484, allocations: 204.4 kB / 423.5 MB, free: 7.141 MB / 328.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.4488, allocations: 157.4 kB / 423.6 MB, free: 7.039 MB / 328.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.68e-06/0.4489, allocations: 0 / 423.6 MB, free: 7.039 MB / 328.6 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001739/0.4507, allocations: 0.704 MB / 424.3 MB, free: 6.449 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.4508, allocations: 4 kB / 424.3 MB, free: 6.445 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.4509, allocations: 0 / 424.3 MB, free: 6.445 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006307/0.4516, allocations: 148.1 kB / 424.5 MB, free: 6.328 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005598/0.4522, allocations: 99.56 kB / 424.6 MB, free: 6.234 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.4535, allocations: 0.7788 MB / 425.4 MB, free: 5.531 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.4546, allocations: 8 kB / 425.4 MB, free: 5.523 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.286e-05/0.4547, allocations: 15.62 kB / 425.4 MB, free: 5.512 MB / 328.6 MB Warning: There are iteration variables with default zero start attribute. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->OMCFlags, in OMNotebook call setCommandLineOptions("-d=initialization"). Notification: Performance of prepare postOptimizeDAE: time 0.0001146/0.4549, allocations: 79.19 kB / 425.5 MB, free: 5.434 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006534/0.4556, allocations: 264.5 kB / 425.7 MB, free: 5.172 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001934/0.4576, allocations: 0.7179 MB / 426.4 MB, free: 4.613 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.4577, allocations: 19.86 kB / 426.5 MB, free: 4.594 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.4578, allocations: 0 / 426.5 MB, free: 4.594 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.4578, allocations: 0 / 426.5 MB, free: 4.594 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.461, allocations: 1.611 MB / 428.1 MB, free: 3.387 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.4612, allocations: 4 kB / 428.1 MB, free: 3.383 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007447/0.462, allocations: 98.88 kB / 428.2 MB, free: 3.289 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003988/0.4624, allocations: 97.64 kB / 428.3 MB, free: 3.211 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-05/0.4626, allocations: 11.36 kB / 428.3 MB, free: 3.203 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007741/0.4634, allocations: 0.6524 MB / 428.9 MB, free: 2.578 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.657e-06/0.4635, allocations: 0 / 428.9 MB, free: 2.578 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002113/0.4656, allocations: 1.021 MB / 430 MB, free: 1.715 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00186/0.4676, allocations: 0.6703 MB / 430.6 MB, free: 1.102 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006588/0.4684, allocations: 0 / 430.6 MB, free: 1.102 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001163/0.4696, allocations: 15.98 kB / 430.6 MB, free: 1.086 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.4698, allocations: 24.39 kB / 430.7 MB, free: 1.062 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.903e-05/0.4699, allocations: 20 kB / 430.7 MB, free: 1.043 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.008206/0.4782, allocations: 3.629 MB / 434.3 MB, free: 13.42 MB / 344.6 MB Notification: Performance of remove unused functions: time 0.001438/0.4797, allocations: 308 kB / 434.6 MB, free: 13.12 MB / 344.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0006789/0.4805, allocations: 298.1 kB / 434.9 MB, free: 12.91 MB / 344.6 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.4818, allocations: 406.7 kB / 435.3 MB, free: 12.5 MB / 344.6 MB Notification: Performance of simCode: created event and clocks part: time 6.355e-06/0.4819, allocations: 0 / 435.3 MB, free: 12.5 MB / 344.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0004391/0.4824, allocations: 193.4 kB / 435.5 MB, free: 12.32 MB / 344.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/0.4841, allocations: 155.5 kB / 435.6 MB, free: 12.16 MB / 344.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01086/0.495, allocations: 4.787 MB / 440.4 MB, free: 7.324 MB / 344.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003806/0.4989, allocations: 1.981 MB / 442.4 MB, free: 5.309 MB / 344.6 MB Notification: Performance of SimCode: time 3.422e-06/0.4991, allocations: 3.938 kB / 442.4 MB, free: 5.305 MB / 344.6 MB Notification: Performance of Templates: time 0.0733/0.5724, allocations: 13.31 MB / 455.7 MB, free: 8.047 MB / 360.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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_Hysteresis_SinglePhaseTransformerWithHysteresis1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.o Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_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.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_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.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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_Hysteresis_SinglePhaseTransformerWithHysteresis1_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.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:304:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_eqFunction_86(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:304:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_eqFunction_86(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:305:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_eqFunction_87(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:305:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_eqFunction_87(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:306:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_eqFunction_88(DATA*,threadData_t*); ^ 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.Hysteresis.SinglePhaseTransformerWithHysteresis1.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.o] Error 1