Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 174.6 kB / 8.475 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.113/1.113, allocations: 205.2 MB / 214.1 MB, free: 5.133 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009142/0.0009142, allocations: 79.34 kB / 262.1 MB, free: 5.176 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1483/0.1492, allocations: 52.99 MB / 315.1 MB, free: 41.35 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06122/0.2105, allocations: 47.57 MB / 362.6 MB, free: 9.828 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1995/0.41, allocations: 81.9 MB / 444.5 MB, free: 10.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.4102, allocations: 84.3 kB / 444.6 MB, free: 10.79 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.04398/0.4542, allocations: 19.88 MB / 464.5 MB, free: 3.238 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.4543, allocations: 8.812 kB / 464.5 MB, free: 3.238 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.4555, allocations: 190.8 kB / 464.7 MB, free: 3.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.4557, allocations: 239.3 kB / 464.9 MB, free: 2.906 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.4557, allocations: 20.62 kB / 465 MB, free: 2.906 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.21e-05/0.4558, allocations: 43.38 kB / 465 MB, free: 2.902 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009553/0.4568, allocations: 0.5067 MB / 465.5 MB, free: 2.875 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009764/0.4578, allocations: 0.5712 MB / 466.1 MB, free: 2.703 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/0.4578, allocations: 1.375 kB / 466.1 MB, free: 2.703 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.803e-05/0.4579, allocations: 0 / 466.1 MB, free: 2.703 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.4579, allocations: 20.5 kB / 466.1 MB, free: 2.699 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003048/0.461, allocations: 2.234 MB / 468.3 MB, free: 1.441 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.4621, allocations: 0.5883 MB / 468.9 MB, free: 1.355 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/0.4624, allocations: 217.5 kB / 469.1 MB, free: 1.332 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.4626, allocations: 98.69 kB / 469.2 MB, free: 1.234 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.977e-05/0.4626, allocations: 41.28 kB / 469.3 MB, free: 1.191 MB / 314.7 MB Notification: Performance of pre-optimization done (n=66): time 1.783e-06/0.4626, allocations: 0 / 469.3 MB, free: 1.191 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.001009/0.4636, allocations: 468.7 kB / 469.7 MB, free: 1.09 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/0.4637, allocations: 115.1 kB / 469.8 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.4638, allocations: 210.1 kB / 470 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.4639, allocations: 31.14 kB / 470.1 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.547e-05/0.464, allocations: 254.6 kB / 470.3 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.4641, allocations: 214.5 kB / 470.5 MB, free: 448 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.4641, allocations: 0 / 470.5 MB, free: 448 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.693e-05/0.4642, allocations: 341.5 kB / 470.9 MB, free: 120 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.4645, allocations: 173.5 kB / 471 MB, free: 112 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.4648, allocations: 261 kB / 471.3 MB, free: 24 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006102/0.4655, allocations: 235.2 kB / 471.5 MB, free: 15.99 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.4655, allocations: 1.438 kB / 471.5 MB, free: 15.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001181/0.4667, allocations: 0.5578 MB / 472.1 MB, free: 15.87 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.4667, allocations: 7.031 kB / 472.1 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4667, allocations: 1.594 kB / 472.1 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.4667, allocations: 4.312 kB / 472.1 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008844/0.4676, allocations: 171.4 kB / 472.3 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.4676, allocations: 8.531 kB / 472.3 MB, free: 15.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005278/0.4682, allocations: 66.3 kB / 472.3 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/0.4682, allocations: 28.67 kB / 472.4 MB, free: 15.79 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001307/0.4684, allocations: 123.1 kB / 472.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.4685, allocations: 32.31 kB / 472.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001209/0.4697, allocations: 0.5393 MB / 473.1 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.026e-06/0.4697, allocations: 7.125 kB / 473.1 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4697, allocations: 0 / 473.1 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.4697, allocations: 6.109 kB / 473.1 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.4716, allocations: 1.175 MB / 474.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4716, allocations: 3.984 kB / 474.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000725/0.4724, allocations: 140 kB / 474.4 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.4724, allocations: 2.625 kB / 474.4 MB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.167e-05/0.4724, allocations: 10.5 kB / 474.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.4725, allocations: 3.125 kB / 474.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.4725, allocations: 7.891 kB / 474.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001363/0.4738, allocations: 0.8897 MB / 475.3 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001824/0.4757, allocations: 1.531 MB / 476.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.274e-05/0.4758, allocations: 124.1 kB / 477 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.758e-05/0.4759, allocations: 4 kB / 477 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004831/0.4763, allocations: 24.03 kB / 477 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.127e-05/0.4765, allocations: 44.2 kB / 477 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.4765, allocations: 15.56 kB / 477 MB, free: 13.69 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001431/0.4767, allocations: 169.5 kB / 477.2 MB, free: 13.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001225/0.4779, allocations: 174.4 kB / 477.4 MB, free: 13.4 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000215/0.4781, allocations: 142.3 kB / 477.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007504/0.4789, allocations: 474.4 kB / 478 MB, free: 12.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.4789, allocations: 0 / 478 MB, free: 12.94 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003373/0.4792, allocations: 240.5 kB / 478.2 MB, free: 12.78 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.4795, allocations: 28.3 kB / 478.2 MB, free: 12.76 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.4815, allocations: 0.7797 MB / 479 MB, free: 12.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006774/0.4822, allocations: 0.9327 MB / 479.9 MB, free: 11.1 MB / 330.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4822, allocations: 0 / 479.9 MB, free: 11.1 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat does not exist to compare? outputFormat=mat