Notification: Performance of loadModel(Modelica): time 1.516/1.516, allocations: 194.5 MB / 200.7 MB, free: 5.102 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 9.01e-06/9.079e-06, allocations: 1.219 kB / 247.3 MB, free: 4.699 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06098/0.06105, allocations: 44.37 MB / 291.7 MB, free: 9.273 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2311/0.2923, allocations: 84.41 MB / 376.1 MB, free: 5.945 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/0.2926, allocations: 88.59 kB / 376.2 MB, free: 5.93 MB / 296.6 MB Notification: Performance of FrontEnd: time 0.06237/0.355, allocations: 15.08 MB / 391.3 MB, free: 0.7461 MB / 296.6 MB Notification: Performance of Transformations before backend: time 4.086e-05/0.3552, allocations: 12.22 kB / 391.3 MB, free: 0.7461 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.001878/0.3571, allocations: 0.8682 MB / 392.2 MB, free: 124 kB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.3573, allocations: 8.906 kB / 392.2 MB, free: 124 kB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/0.3575, allocations: 78.94 kB / 392.3 MB, free: 84 kB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.3586, allocations: 0.4978 MB / 392.8 MB, free: 15.77 MB / 312.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001018/0.3588, allocations: 55.86 kB / 392.8 MB, free: 15.73 MB / 312.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002491/0.3591, allocations: 42.05 kB / 392.8 MB, free: 15.73 MB / 312.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001151/0.3603, allocations: 449.3 kB / 393.3 MB, free: 15.7 MB / 312.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/0.3615, allocations: 499.2 kB / 393.8 MB, free: 15.55 MB / 312.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.661e-05/0.3616, allocations: 0 / 393.8 MB, free: 15.55 MB / 312.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.075e-05/0.3618, allocations: 5.188 kB / 393.8 MB, free: 15.55 MB / 312.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.347e-05/0.3618, allocations: 14.16 kB / 393.8 MB, free: 15.55 MB / 312.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004982/0.3669, allocations: 2.215 MB / 396 MB, free: 14.3 MB / 312.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006632/0.3676, allocations: 296.1 kB / 396.3 MB, free: 14.23 MB / 312.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005267/0.3682, allocations: 227.8 kB / 396.5 MB, free: 14.21 MB / 312.6 MB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.3683, allocations: 7.375 kB / 396.5 MB, free: 14.21 MB / 312.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.3684, allocations: 38.75 kB / 396.6 MB, free: 14.17 MB / 312.6 MB Notification: Performance of pre-optimization done (n=45): time 3.912e-06/0.3685, allocations: 0 / 396.6 MB, free: 14.17 MB / 312.6 MB Notification: Performance of matching and sorting (n=61): time 0.01205/0.3806, allocations: 2.537 MB / 399.1 MB, free: 13.29 MB / 312.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.3807, allocations: 91.73 kB / 399.2 MB, free: 13.19 MB / 312.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009032/0.3817, allocations: 435.3 kB / 399.6 MB, free: 13.05 MB / 312.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.3819, allocations: 27.17 kB / 399.6 MB, free: 13.02 MB / 312.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.3821, allocations: 250.2 kB / 399.9 MB, free: 12.82 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003503/0.3825, allocations: 206.4 kB / 400.1 MB, free: 12.67 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/0.3826, allocations: 0 / 400.1 MB, free: 12.67 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 9.338e-05/0.3827, allocations: 371.8 kB / 400.5 MB, free: 12.33 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005223/0.3833, allocations: 211.3 kB / 400.7 MB, free: 12.33 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005762/0.3839, allocations: 303 kB / 401 MB, free: 12.23 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000592/0.3846, allocations: 248.3 kB / 401.2 MB, free: 12.19 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.936e-06/0.3847, allocations: 1.062 kB / 401.2 MB, free: 12.19 MB / 312.6 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.009145/0.3939, allocations: 1.741 MB / 402.9 MB, free: 11.36 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.394, allocations: 8 kB / 402.9 MB, free: 11.35 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.3941, allocations: 3.938 kB / 403 MB, free: 11.34 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008211/0.4023, allocations: 1.172 MB / 404.1 MB, free: 10.32 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/0.4031, allocations: 93.45 kB / 404.2 MB, free: 10.23 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01613/0.4193, allocations: 5.519 MB / 409.7 MB, free: 6.289 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009349/0.4203, allocations: 32.05 kB / 409.8 MB, free: 6.258 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.187e-05/0.4204, allocations: 26.36 kB / 409.8 MB, free: 6.238 MB / 312.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.0001392/0.4206, allocations: 75.28 kB / 409.9 MB, free: 6.164 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.4209, allocations: 59.33 kB / 409.9 MB, free: 6.105 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.4228, allocations: 0.7095 MB / 410.6 MB, free: 5.633 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/0.4229, allocations: 8 kB / 410.6 MB, free: 5.625 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4229, allocations: 0 / 410.6 MB, free: 5.625 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.423, allocations: 3.984 kB / 410.6 MB, free: 5.621 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004595/0.4276, allocations: 1.718 MB / 412.4 MB, free: 4.41 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.94e-06/0.4278, allocations: 4 kB / 412.4 MB, free: 4.406 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008211/0.4286, allocations: 112.4 kB / 412.5 MB, free: 4.301 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002228/0.4309, allocations: 336.5 kB / 412.8 MB, free: 4.023 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-05/0.4311, allocations: 10.58 kB / 412.8 MB, free: 4.016 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005448/0.4366, allocations: 2.646 MB / 415.5 MB, free: 1.355 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.172e-06/0.4368, allocations: 8 kB / 415.5 MB, free: 1.348 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003182/0.44, allocations: 1.233 MB / 416.7 MB, free: 96 kB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004996/0.4406, allocations: 200.4 kB / 416.9 MB, free: 15.88 MB / 328.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001489/0.4408, allocations: 11.94 kB / 416.9 MB, free: 15.87 MB / 328.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009036/0.4418, allocations: 39.97 kB / 416.9 MB, free: 15.83 MB / 328.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.442, allocations: 44.5 kB / 417 MB, free: 15.79 MB / 328.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.865e-05/0.4421, allocations: 19.98 kB / 417 MB, free: 15.77 MB / 328.6 MB Notification: Performance of sort global known variables: time 0.0006706/0.4428, allocations: 335.2 kB / 417.3 MB, free: 15.44 MB / 328.6 MB Notification: Performance of remove unused functions: time 0.001236/0.4441, allocations: 192.2 kB / 417.5 MB, free: 15.25 MB / 328.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.000244/0.4444, allocations: 116.7 kB / 417.6 MB, free: 15.14 MB / 328.6 MB Notification: Performance of simCode: created initialization part: time 0.001656/0.4462, allocations: 0.6962 MB / 418.3 MB, free: 14.43 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 5.168e-06/0.4462, allocations: 4 kB / 418.3 MB, free: 14.43 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0008513/0.4472, allocations: 428.8 kB / 418.8 MB, free: 14 MB / 328.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007445/0.448, allocations: 54.06 kB / 418.8 MB, free: 13.95 MB / 328.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003338/0.4514, allocations: 1.105 MB / 419.9 MB, free: 12.82 MB / 328.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006109/0.4521, allocations: 0.9617 MB / 420.9 MB, free: 11.82 MB / 328.6 MB Notification: Performance of SimCode: time 2.794e-06/0.4522, allocations: 0 / 420.9 MB, free: 11.82 MB / 328.6 MB Notification: Performance of Templates: time 0.05174/0.504, allocations: 11.49 MB / 432.4 MB, free: 372 kB / 328.6 MB make -j1 -f Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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_SinglePhaseTransformerWithHysteresis2 -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.SinglePhaseTransformerWithHysteresis2.o Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.c In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.c:2: ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_model.h:2:29: error: missing ')' after 'defined' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2__MODEL_H) ^ ./Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_model.h:2:13: note: to match this '(' #if !defined(Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2__MODEL_H) ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.SinglePhaseTransformerWithHysteresis2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.SinglePhaseTransformerWithHysteresis2.c:5:60: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.SinglePhaseTransformerWithHysteresis2.c:4:40: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2_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.SinglePhaseTransformerWithHysteresis2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.SinglePhaseTransformerWithHysteresis2.c:4:55: note: expanded from macro 'prefixedName_performSimulation' #define prefixedName_performSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2_performSimulation ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.SinglePhaseTransformerWithHysteresis2.c:8:43: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2_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.SinglePhaseTransformerWithHysteresis2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2_updateContinuousSystem ^ In file included from Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.SinglePhaseTransformerWithHysteresis2.c:8:58: note: expanded from macro 'prefixedName_performQSSSimulation' #define prefixedName_performQSSSimulation Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2_performQSSSimulation ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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_SinglePhaseTransformerWithHysteresis2_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.SinglePhaseTransformerWithHysteresis2.c:5:45: note: expanded from macro 'prefixedName_updateContinuousSystem' #define prefixedName_updateContinuousSystem Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2_updateContinuousSystem ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.c:18:20: error: expected ';' after top level declarator int Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2_input_function(DATA *data, threadData_t *threadData) ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.c:613:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2_eqFunction_148(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.c:613:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2_eqFunction_148(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.c:614:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2_eqFunction_149(DATA*,threadData_t*); ^ Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.c:614:21: error: expected ';' after top level declarator void Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2_eqFunction_149(DATA*,threadData_t*); ^ ; Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.c:615:6: error: variable has incomplete type 'void' void Modelica_3_2_2_-O1_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_SinglePhaseTransformerWithHysteresis2_eqFunction_150(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.SinglePhaseTransformerWithHysteresis2.o' failed make: *** [Modelica_3.2.2_-O1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.o] Error 1