Notification: Performance of loadModel(Modelica): time 1.576/1.576, allocations: 194.5 MB / 200.7 MB, free: 5.164 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 1.117e-05/1.124e-05, allocations: 1.281 kB / 247.4 MB, free: 4.672 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0701/0.07021, allocations: 44.36 MB / 291.8 MB, free: 9.207 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2352/0.3055, allocations: 78.11 MB / 369.9 MB, free: 7.016 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.3058, allocations: 89.7 kB / 370 MB, free: 7.012 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1169/0.4228, allocations: 37.2 MB / 407.2 MB, free: 4.559 MB / 312.6 MB Notification: Performance of Transformations before backend: time 0.0002263/0.4231, allocations: 35.44 kB / 407.2 MB, free: 4.527 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.003794/0.4269, allocations: 1.988 MB / 409.2 MB, free: 2.602 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.4271, allocations: 12.03 kB / 409.2 MB, free: 2.59 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006631/0.4278, allocations: 276.3 kB / 409.5 MB, free: 2.316 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004595/0.4325, allocations: 1.862 MB / 411.3 MB, free: 0.7773 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-05/0.4327, allocations: 46.42 kB / 411.4 MB, free: 0.7227 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/0.433, allocations: 39.08 kB / 411.4 MB, free: 0.6875 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007517/0.4338, allocations: 277.2 kB / 411.7 MB, free: 0.5117 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007138/0.4345, allocations: 322.7 kB / 412 MB, free: 264 kB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/0.4346, allocations: 0 / 412 MB, free: 264 kB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.658e-05/0.4347, allocations: 4 kB / 412 MB, free: 260 kB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.446e-05/0.4348, allocations: 8 kB / 412 MB, free: 252 kB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007275/0.4422, allocations: 3.003 MB / 415 MB, free: 13.91 MB / 328.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004561/0.4428, allocations: 184.8 kB / 415.2 MB, free: 13.77 MB / 328.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/0.4431, allocations: 143.4 kB / 415.3 MB, free: 13.68 MB / 328.6 MB Notification: Performance of preOpt evalFunc (simulation): time 4.665e-05/0.4432, allocations: 7.594 kB / 415.3 MB, free: 13.67 MB / 328.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.4433, allocations: 41.12 kB / 415.4 MB, free: 13.62 MB / 328.6 MB Notification: Performance of pre-optimization done (n=37): time 5.588e-06/0.4434, allocations: 3.984 kB / 415.4 MB, free: 13.62 MB / 328.6 MB Notification: Performance of matching and sorting (n=48): time 0.004945/0.4484, allocations: 2.027 MB / 417.4 MB, free: 11.74 MB / 328.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.542e-05/0.4485, allocations: 89.47 kB / 417.5 MB, free: 11.64 MB / 328.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01327/0.4618, allocations: 4.673 MB / 422.2 MB, free: 8.246 MB / 328.6 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-05/0.462, allocations: 33.7 kB / 422.2 MB, free: 8.207 MB / 328.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008718/0.463, allocations: 495.6 kB / 422.7 MB, free: 7.832 MB / 328.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.4632, allocations: 153.8 kB / 422.8 MB, free: 7.699 MB / 328.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.4633, allocations: 4 kB / 422.8 MB, free: 7.695 MB / 328.6 MB Notification: Performance of setup shared object (initialization): time 6.027e-05/0.4634, allocations: 332 kB / 423.2 MB, free: 7.375 MB / 328.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.4637, allocations: 127.3 kB / 423.3 MB, free: 7.301 MB / 328.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000337/0.4641, allocations: 204 kB / 423.5 MB, free: 7.141 MB / 328.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.4646, allocations: 156.5 kB / 423.6 MB, free: 7.039 MB / 328.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.121e-06/0.4646, allocations: 0 / 423.6 MB, free: 7.039 MB / 328.6 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001694/0.4664, allocations: 0.697 MB / 424.3 MB, free: 6.457 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.4665, allocations: 8 kB / 424.4 MB, free: 6.449 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.4666, allocations: 0 / 424.4 MB, free: 6.449 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006443/0.4672, allocations: 148.2 kB / 424.5 MB, free: 6.332 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005961/0.4679, allocations: 99.62 kB / 424.6 MB, free: 6.238 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.4692, allocations: 0.7766 MB / 425.4 MB, free: 5.535 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.4704, allocations: 4 kB / 425.4 MB, free: 5.531 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/0.4705, allocations: 20.44 kB / 425.4 MB, free: 5.516 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.000112/0.4707, allocations: 75.28 kB / 425.5 MB, free: 5.441 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005818/0.4713, allocations: 273 kB / 425.7 MB, free: 5.172 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001932/0.4733, allocations: 0.7214 MB / 426.5 MB, free: 4.609 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.4734, allocations: 7.938 kB / 426.5 MB, free: 4.602 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.613e-06/0.4734, allocations: 4 kB / 426.5 MB, free: 4.598 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.66e-06/0.4735, allocations: 0 / 426.5 MB, free: 4.598 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00287/0.4764, allocations: 1.607 MB / 428.1 MB, free: 3.387 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.076e-06/0.4765, allocations: 0 / 428.1 MB, free: 3.387 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007409/0.4773, allocations: 103.5 kB / 428.2 MB, free: 3.289 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003764/0.4778, allocations: 95.55 kB / 428.3 MB, free: 3.215 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/0.4779, allocations: 8 kB / 428.3 MB, free: 3.207 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007293/0.4787, allocations: 0.6601 MB / 428.9 MB, free: 2.582 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.4787, allocations: 0 / 428.9 MB, free: 2.582 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001982/0.4808, allocations: 1.012 MB / 430 MB, free: 1.723 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/0.4824, allocations: 0.6691 MB / 430.6 MB, free: 1.109 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004304/0.4829, allocations: 4 kB / 430.6 MB, free: 1.105 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000908/0.4838, allocations: 15.98 kB / 430.6 MB, free: 1.09 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.709e-05/0.484, allocations: 28.39 kB / 430.7 MB, free: 1.062 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-05/0.4841, allocations: 16 kB / 430.7 MB, free: 1.047 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.007387/0.4915, allocations: 3.629 MB / 434.3 MB, free: 13.43 MB / 344.6 MB Notification: Performance of remove unused functions: time 0.002686/0.4944, allocations: 308.1 kB / 434.6 MB, free: 13.12 MB / 344.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0011/0.4956, allocations: 295.9 kB / 434.9 MB, free: 12.92 MB / 344.6 MB Notification: Performance of simCode: created initialization part: time 0.001767/0.4975, allocations: 402.7 kB / 435.3 MB, free: 12.52 MB / 344.6 MB Notification: Performance of simCode: created event and clocks part: time 5.797e-06/0.4976, allocations: 7.938 kB / 435.3 MB, free: 12.51 MB / 344.6 MB Notification: Performance of simCode: created simulation system equations: time 0.000727/0.4984, allocations: 193.5 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.002633/0.5012, allocations: 155.4 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.01839/0.5197, allocations: 4.787 MB / 440.4 MB, free: 7.328 MB / 344.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005788/0.5256, allocations: 1.985 MB / 442.4 MB, free: 5.309 MB / 344.6 MB Notification: Performance of SimCode: time 2.305e-06/0.5257, allocations: 3.938 kB / 442.4 MB, free: 5.305 MB / 344.6 MB Notification: Performance of Templates: time 0.08278/0.6086, allocations: 13.31 MB / 455.7 MB, free: 8.066 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