Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001261/0.001261, allocations: 199.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.2 MB / 245 MB, free: 5.93 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008205/0.0008205, allocations: 102.3 kB / 297.2 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002308/0.0002308, allocations: 4 kB / 358 MB, free: 9.219 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2172/0.2174, allocations: 51.49 MB / 409.5 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1033/0.3207, allocations: 88.5 MB / 498 MB, free: 2.066 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.321, allocations: 91.94 kB / 498.1 MB, free: 1.977 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2429/0.564, allocations: 27.27 MB / 0.5131 GB, free: 86.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.564, allocations: 0 / 0.5131 GB, free: 86.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.715e-05/0.564, allocations: 14.94 kB / 0.5131 GB, free: 86.86 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003059/0.5671, allocations: 1.157 MB / 0.5142 GB, free: 86.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.5671, allocations: 10.25 kB / 0.5142 GB, free: 86.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000192/0.5673, allocations: 125 kB / 0.5143 GB, free: 86.23 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00195/0.5693, allocations: 324.3 kB / 0.5146 GB, free: 86.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.5695, allocations: 253.6 kB / 0.5149 GB, free: 85.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.765e-05/0.5696, allocations: 63.33 kB / 0.5149 GB, free: 85.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001646/0.5698, allocations: 85.48 kB / 0.515 GB, free: 85.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/0.5714, allocations: 0.8827 MB / 0.5159 GB, free: 85.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.228e-05/0.5715, allocations: 6.719 kB / 0.5159 GB, free: 85.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.142e-05/0.5716, allocations: 39.59 kB / 0.5159 GB, free: 85.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.5716, allocations: 23.59 kB / 0.516 GB, free: 85.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.5734, allocations: 0.8249 MB / 0.5168 GB, free: 85.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003893/0.5773, allocations: 3.078 MB / 0.5198 GB, free: 84.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000991/0.5783, allocations: 1.012 MB / 0.5208 GB, free: 83.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001128/0.5784, allocations: 180 kB / 0.5209 GB, free: 83.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.793e-05/0.5784, allocations: 35.12 kB / 0.521 GB, free: 83.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 2.485e-06/0.5785, allocations: 0 / 0.521 GB, free: 83.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.007767/0.5862, allocations: 2.691 MB / 0.5236 GB, free: 82.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.5863, allocations: 87.78 kB / 0.5237 GB, free: 82.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002712/0.5866, allocations: 289.9 kB / 0.524 GB, free: 81.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/0.5866, allocations: 38.67 kB / 0.524 GB, free: 81.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.5868, allocations: 367.2 kB / 0.5243 GB, free: 81.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.5869, allocations: 204 kB / 0.5245 GB, free: 81.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.5869, allocations: 15.81 kB / 0.5245 GB, free: 81.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.804e-05/0.587, allocations: 353 kB / 0.5249 GB, free: 81.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007769/0.5878, allocations: 293.7 kB / 0.5252 GB, free: 81.03 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008142/0.5886, allocations: 0.5241 MB / 0.5257 GB, free: 80.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007984/0.5894, allocations: 361.8 kB / 0.526 GB, free: 80.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.5894, allocations: 3.875 kB / 0.526 GB, free: 80.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001877/0.5913, allocations: 0.9439 MB / 0.5269 GB, free: 80.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.5914, allocations: 7.031 kB / 0.527 GB, free: 80.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.5914, allocations: 10.81 kB / 0.527 GB, free: 80.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002027/0.5916, allocations: 75.2 kB / 0.527 GB, free: 80.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008365/0.5924, allocations: 216.6 kB / 0.5272 GB, free: 80.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.5937, allocations: 2.678 MB / 0.5299 GB, free: 77.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006868/0.5944, allocations: 75.27 kB / 0.5299 GB, free: 77.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/0.5945, allocations: 40.92 kB / 0.53 GB, free: 77.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002503/0.5948, allocations: 219.5 kB / 0.5302 GB, free: 77.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.228e-05/0.5948, allocations: 42.94 kB / 0.5302 GB, free: 77.15 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/0.5966, allocations: 0.793 MB / 0.531 GB, free: 76.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.5966, allocations: 8 kB / 0.531 GB, free: 76.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.5967, allocations: 0 / 0.531 GB, free: 76.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5967, allocations: 2.859 kB / 0.531 GB, free: 76.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002354/0.599, allocations: 1.463 MB / 0.5324 GB, free: 75.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.599, allocations: 0 / 0.5324 GB, free: 75.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006792/0.5997, allocations: 151.2 kB / 0.5326 GB, free: 75.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001459/0.5999, allocations: 58.61 kB / 0.5326 GB, free: 75.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.327e-05/0.5999, allocations: 15.19 kB / 0.5326 GB, free: 75.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/0.6012, allocations: 2.674 MB / 0.5353 GB, free: 72.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6012, allocations: 4.125 kB / 0.5353 GB, free: 72.39 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/0.6035, allocations: 1.149 MB / 0.5364 GB, free: 71.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.6037, allocations: 170.5 kB / 0.5365 GB, free: 71.19 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.882e-05/0.6038, allocations: 8 kB / 0.5366 GB, free: 71.18 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005309/0.6044, allocations: 59.88 kB / 0.5366 GB, free: 71.13 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.6045, allocations: 46.8 kB / 0.5367 GB, free: 71.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.6045, allocations: 19.89 kB / 0.5367 GB, free: 71.09 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001675/0.6047, allocations: 220.4 kB / 0.5369 GB, free: 70.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6047, allocations: 0 / 0.5369 GB, free: 70.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006491/0.6053, allocations: 191.9 kB / 0.5371 GB, free: 70.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (core.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002554/0.6079, allocations: 1.771 MB / 0.5388 GB, free: 69.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001745/0.6097, allocations: 0.9627 MB / 0.5397 GB, free: 68.17 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.6097, allocations: 4.062 kB / 0.5397 GB, free: 68.17 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008541/0.6105, allocations: 0.568 MB / 0.5403 GB, free: 67.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002496/0.6108, allocations: 37.05 kB / 0.5403 GB, free: 67.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006049/0.6169, allocations: 8.302 MB / 0.5484 GB, free: 59.49 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.6172, allocations: 0.9002 MB / 0.5493 GB, free: 58.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004752/0.6177, allocations: 96.45 kB / 0.5494 GB, free: 58.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002802/0.618, allocations: 223.3 kB / 0.5496 GB, free: 58.26 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.618, allocations: 0 / 0.5496 GB, free: 58.26 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02145/0.6394, allocations: 10.51 MB / 0.5599 GB, free: 48.05 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/0.6396, allocations: 256.5 kB / 0.5601 GB, free: 47.71 MB / 378.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.o Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.c In file included from Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.c:7: In file included from ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.c:7: In file included from ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection_model.h:24: ./Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection_functions.h:388:1: error: unknown type name '_omcQComplexOutput_24voltageSensor_24v' _omcQComplexOutput_24voltageSensor_24v omc__omcQComplexOutput_24voltageSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 warnings and 1 error generated. make: *** [: Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_BasicExamples_ToroidalCoreQuadraticCrossSection.o] Error 1