Notification: Performance of loadModel(Modelica): time 1.588/1.588, allocations: 194.5 MB / 200.7 MB, free: 5.16 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.289e-06/9.568e-06, allocations: 1.281 kB / 247.4 MB, free: 4.637 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06145/0.06153, allocations: 44.35 MB / 291.8 MB, free: 9.219 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2318/0.2935, allocations: 78.11 MB / 369.9 MB, free: 7.051 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.2939, allocations: 89.44 kB / 370 MB, free: 7.047 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.1181/0.412, allocations: 37.2 MB / 407.2 MB, free: 4.535 MB / 312.6 MB Notification: Performance of Transformations before backend: time 0.0002328/0.4123, allocations: 32 kB / 407.2 MB, free: 4.504 MB / 312.6 MB Notification: Performance of Generate backend data structure: time 0.003921/0.4163, allocations: 1.987 MB / 409.2 MB, free: 2.586 MB / 312.6 MB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.4165, allocations: 8.031 kB / 409.2 MB, free: 2.578 MB / 312.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007046/0.4173, allocations: 284.3 kB / 409.5 MB, free: 2.297 MB / 312.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004799/0.4221, allocations: 1.857 MB / 411.3 MB, free: 0.7578 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/0.4223, allocations: 46.42 kB / 411.4 MB, free: 0.707 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002456/0.4226, allocations: 47.34 kB / 411.4 MB, free: 0.6641 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007842/0.4235, allocations: 275 kB / 411.7 MB, free: 500 kB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000763/0.4243, allocations: 321.6 kB / 412 MB, free: 244 kB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.4244, allocations: 0 / 412 MB, free: 244 kB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.868e-05/0.4245, allocations: 7.938 kB / 412 MB, free: 236 kB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.551e-05/0.4246, allocations: 8 kB / 412 MB, free: 228 kB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006935/0.4316, allocations: 2.999 MB / 415 MB, free: 13.88 MB / 328.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004721/0.4322, allocations: 179.7 kB / 415.2 MB, free: 13.75 MB / 328.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002941/0.4325, allocations: 138.1 kB / 415.3 MB, free: 13.66 MB / 328.6 MB Notification: Performance of preOpt evalFunc (simulation): time 4.386e-05/0.4326, allocations: 11.03 kB / 415.3 MB, free: 13.65 MB / 328.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.4327, allocations: 46.06 kB / 415.4 MB, free: 13.6 MB / 328.6 MB Notification: Performance of pre-optimization done (n=37): time 3.841e-06/0.4328, allocations: 0 / 415.4 MB, free: 13.6 MB / 328.6 MB Notification: Performance of matching and sorting (n=48): time 0.005143/0.438, allocations: 2.03 MB / 417.4 MB, free: 11.71 MB / 328.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.4381, allocations: 81.55 kB / 417.5 MB, free: 11.62 MB / 328.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01404/0.4522, allocations: 4.671 MB / 422.2 MB, free: 8.227 MB / 328.6 MB Notification: Performance of collectPreVariables (initialization): time 8.479e-05/0.4524, allocations: 28.7 kB / 422.2 MB, free: 8.195 MB / 328.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007482/0.4532, allocations: 500 kB / 422.7 MB, free: 7.816 MB / 328.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.4534, allocations: 161.5 kB / 422.8 MB, free: 7.676 MB / 328.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.4535, allocations: 0 / 422.8 MB, free: 7.676 MB / 328.6 MB Notification: Performance of setup shared object (initialization): time 7.068e-05/0.4536, allocations: 327.5 kB / 423.2 MB, free: 7.359 MB / 328.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000317/0.454, allocations: 129.6 kB / 423.3 MB, free: 7.281 MB / 328.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/0.4544, allocations: 203.2 kB / 423.5 MB, free: 7.121 MB / 328.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003723/0.4548, allocations: 154.7 kB / 423.6 MB, free: 7.023 MB / 328.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.261e-06/0.4549, allocations: 0 / 423.6 MB, free: 7.023 MB / 328.6 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001967/0.4569, allocations: 0.7006 MB / 424.3 MB, free: 6.438 MB / 328.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.457, allocations: 4 kB / 424.3 MB, free: 6.434 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4571, allocations: 0 / 424.3 MB, free: 6.434 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006426/0.4578, allocations: 148.8 kB / 424.5 MB, free: 6.316 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005911/0.4585, allocations: 103.1 kB / 424.6 MB, free: 6.219 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.4596, allocations: 0.7754 MB / 425.4 MB, free: 5.52 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/0.4608, allocations: 8 kB / 425.4 MB, free: 5.512 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.312e-05/0.4609, allocations: 15.94 kB / 425.4 MB, free: 5.5 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.0001143/0.4611, allocations: 83.17 kB / 425.5 MB, free: 5.418 MB / 328.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007428/0.4619, allocations: 268.5 kB / 425.7 MB, free: 5.152 MB / 328.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/0.4642, allocations: 0.7271 MB / 426.5 MB, free: 4.586 MB / 328.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.4643, allocations: 11.94 kB / 426.5 MB, free: 4.574 MB / 328.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.892e-06/0.4644, allocations: 0 / 426.5 MB, free: 4.574 MB / 328.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.4644, allocations: 0 / 426.5 MB, free: 4.574 MB / 328.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003122/0.4676, allocations: 1.607 MB / 428.1 MB, free: 3.367 MB / 328.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.131e-05/0.4677, allocations: 4 kB / 428.1 MB, free: 3.363 MB / 328.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007716/0.4686, allocations: 103 kB / 428.2 MB, free: 3.266 MB / 328.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003951/0.469, allocations: 95.7 kB / 428.3 MB, free: 3.191 MB / 328.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.734e-05/0.4692, allocations: 4 kB / 428.3 MB, free: 3.188 MB / 328.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009297/0.4702, allocations: 0.654 MB / 428.9 MB, free: 2.566 MB / 328.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.168e-06/0.4702, allocations: 0 / 428.9 MB, free: 2.566 MB / 328.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00207/0.4724, allocations: 1.019 MB / 430 MB, free: 1.703 MB / 328.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00165/0.4741, allocations: 0.6714 MB / 430.6 MB, free: 1.105 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000638/0.4748, allocations: 0 / 430.6 MB, free: 1.105 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.476, allocations: 15.98 kB / 430.6 MB, free: 1.09 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.219e-05/0.4762, allocations: 28.39 kB / 430.7 MB, free: 1.062 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.4e-05/0.4763, allocations: 16 kB / 430.7 MB, free: 1.047 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.008079/0.4844, allocations: 3.629 MB / 434.3 MB, free: 13.43 MB / 344.6 MB Notification: Performance of remove unused functions: time 0.001456/0.486, 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.0006746/0.4868, allocations: 294.7 kB / 434.9 MB, free: 12.92 MB / 344.6 MB Notification: Performance of simCode: created initialization part: time 0.0009795/0.4879, allocations: 410.7 kB / 435.3 MB, free: 12.51 MB / 344.6 MB Notification: Performance of simCode: created event and clocks part: time 5.866e-06/0.4879, allocations: 3.938 kB / 435.3 MB, free: 12.5 MB / 344.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0004395/0.4884, 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.001654/0.4902, allocations: 163.4 kB / 435.7 MB, free: 12.15 MB / 344.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.5013, allocations: 4.787 MB / 440.4 MB, free: 7.312 MB / 344.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00334/0.5048, allocations: 1.981 MB / 442.4 MB, free: 5.297 MB / 344.6 MB Notification: Performance of SimCode: time 2.374e-06/0.5049, allocations: 0 / 442.4 MB, free: 5.297 MB / 344.6 MB Notification: Performance of Templates: time 0.09414/0.5991, allocations: 13.31 MB / 455.7 MB, free: 8.043 MB / 360.6 MB make -j1 -f Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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_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_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.o Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c In file included from Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:2: ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1__MODEL_H) ^ ./Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1__MODEL_H) ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_performSimulation ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_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_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O2_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_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_performQSSSimulation ^ Modelica_3.2.2_-O2_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_-O2_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_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_updateContinuousSystem ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:304:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_eqFunction_86(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:304:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_eqFunction_86(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:305:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_eqFunction_87(DATA*,threadData_t*); ^ Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:305:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O2_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis1_eqFunction_87(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.c:306:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O2_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_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.o' failed make: *** [Modelica_3.2.2_-O2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.o] Error 1