Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 182.9 kB / 8.135 MB, free: 0.8672 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.188/1.188, allocations: 221.4 MB / 229.9 MB, free: 13.63 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009461/0.0009461, allocations: 101.2 kB / 280.8 MB, free: 10.59 MB / 226.8 MB Notification: Performance of FrontEnd - loaded program: time 0.08999/0.09097, allocations: 55.84 MB / 336.6 MB, free: 2.762 MB / 274.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07915/0.1701, allocations: 50.4 MB / 387 MB, free: 312 kB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1969/0.3671, allocations: 83.03 MB / 470.1 MB, free: 14.72 MB / 354.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002113/0.3673, allocations: 87.94 kB / 470.1 MB, free: 14.63 MB / 354.8 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.05105/0.4184, allocations: 20.04 MB / 490.2 MB, free: 10.54 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.4184, allocations: 8 kB / 490.2 MB, free: 10.53 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/0.4198, allocations: 187.1 kB / 490.4 MB, free: 10.34 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.42, allocations: 239 kB / 490.6 MB, free: 10.07 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.42, allocations: 22.94 kB / 490.6 MB, free: 10.05 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.4202, allocations: 43.91 kB / 490.7 MB, free: 10 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001026/0.4212, allocations: 0.5077 MB / 491.2 MB, free: 9.496 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.4222, allocations: 0.5708 MB / 491.8 MB, free: 8.91 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.4222, allocations: 0 / 491.8 MB, free: 8.91 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.472e-05/0.4223, allocations: 0 / 491.8 MB, free: 8.91 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.4223, allocations: 16 kB / 491.8 MB, free: 8.895 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003543/0.4259, allocations: 2.234 MB / 494 MB, free: 6.543 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.4271, allocations: 0.5973 MB / 494.6 MB, free: 5.934 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/0.4275, allocations: 227.7 kB / 494.8 MB, free: 5.703 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001518/0.4277, allocations: 98.67 kB / 494.9 MB, free: 5.586 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.4277, allocations: 35.22 kB / 495 MB, free: 5.543 MB / 370.8 MB Notification: Performance of pre-optimization done (n=66): time 2.465e-06/0.4277, allocations: 4 kB / 495 MB, free: 5.539 MB / 370.8 MB Notification: Performance of matching and sorting (n=66): time 0.001135/0.4289, allocations: 471.6 kB / 495.4 MB, free: 5.074 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.4289, allocations: 115.5 kB / 495.5 MB, free: 4.934 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.4292, allocations: 210.9 kB / 495.7 MB, free: 4.719 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/0.4292, allocations: 29.7 kB / 495.8 MB, free: 4.684 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.4294, allocations: 251.9 kB / 496 MB, free: 4.43 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001606/0.4296, allocations: 212.8 kB / 496.2 MB, free: 4.219 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.4296, allocations: 3.938 kB / 496.2 MB, free: 4.215 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4297, allocations: 343.7 kB / 496.6 MB, free: 3.871 MB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003271/0.4301, allocations: 173.6 kB / 496.7 MB, free: 3.703 MB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003861/0.4305, allocations: 265.7 kB / 497 MB, free: 3.422 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006988/0.4312, allocations: 227.1 kB / 497.2 MB, free: 3.203 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.4312, allocations: 4.031 kB / 497.2 MB, free: 3.199 MB / 370.8 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001197/0.4324, allocations: 0.5635 MB / 497.8 MB, free: 2.633 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.4324, allocations: 4 kB / 497.8 MB, free: 2.629 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.475e-06/0.4324, allocations: 4 kB / 497.8 MB, free: 2.625 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.4324, allocations: 7.984 kB / 497.8 MB, free: 2.617 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008855/0.4333, allocations: 168 kB / 498 MB, free: 2.453 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.4334, allocations: 4.844 kB / 498 MB, free: 2.449 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005459/0.4339, allocations: 67.34 kB / 498 MB, free: 2.383 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.657e-05/0.434, allocations: 28 kB / 498.1 MB, free: 2.355 MB / 370.8 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.0001359/0.4341, allocations: 120.7 kB / 498.2 MB, free: 2.23 MB / 370.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.4342, allocations: 35.62 kB / 498.2 MB, free: 2.195 MB / 370.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001244/0.4355, allocations: 0.5349 MB / 498.7 MB, free: 1.656 MB / 370.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/0.4355, allocations: 8 kB / 498.7 MB, free: 1.648 MB / 370.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.4355, allocations: 0 / 498.7 MB, free: 1.648 MB / 370.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.4355, allocations: 7.984 kB / 498.8 MB, free: 1.641 MB / 370.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.4375, allocations: 1.176 MB / 499.9 MB, free: 416 kB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4375, allocations: 0 / 499.9 MB, free: 416 kB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007269/0.4383, allocations: 139.8 kB / 0.4883 GB, free: 276 kB / 370.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.918e-06/0.4383, allocations: 7.984 kB / 0.4884 GB, free: 268 kB / 370.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.4383, allocations: 4 kB / 0.4884 GB, free: 264 kB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.4383, allocations: 2.375 kB / 0.4884 GB, free: 264 kB / 370.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.4384, allocations: 3.906 kB / 0.4884 GB, free: 260 kB / 370.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001464/0.4398, allocations: 0.8985 MB / 0.4892 GB, free: 15.33 MB / 386.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001891/0.4417, allocations: 1.519 MB / 0.4907 GB, free: 13.79 MB / 386.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.4419, allocations: 124.5 kB / 0.4908 GB, free: 13.64 MB / 386.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.099e-05/0.4419, allocations: 4 kB / 0.4908 GB, free: 13.64 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004811/0.4424, allocations: 23.97 kB / 0.4909 GB, free: 13.62 MB / 386.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.057e-05/0.4425, allocations: 36.67 kB / 0.4909 GB, free: 13.58 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.4426, allocations: 19.98 kB / 0.4909 GB, free: 13.56 MB / 386.8 MB Notification: Performance of sort global known variables: time 0.0001629/0.4427, allocations: 172.5 kB / 0.4911 GB, free: 13.39 MB / 386.8 MB Notification: Performance of remove unused functions: time 0.001214/0.444, allocations: 171.3 kB / 0.4913 GB, free: 13.23 MB / 386.8 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.0002264/0.4442, allocations: 147.9 kB / 0.4914 GB, free: 13.08 MB / 386.8 MB Notification: Performance of simCode: created initialization part: time 0.0007847/0.445, allocations: 471 kB / 0.4918 GB, free: 12.62 MB / 386.8 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.445, allocations: 0 / 0.4918 GB, free: 12.62 MB / 386.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003775/0.4454, allocations: 252.8 kB / 0.4921 GB, free: 12.37 MB / 386.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003096/0.4457, allocations: 20.2 kB / 0.4921 GB, free: 12.36 MB / 386.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.4477, allocations: 0.7892 MB / 0.4929 GB, free: 11.54 MB / 386.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006722/0.4484, allocations: 0.9261 MB / 0.4938 GB, free: 10.59 MB / 386.8 MB Notification: Performance of SimCode: time 3.21e-07/0.4484, allocations: 0 / 0.4938 GB, free: 10.59 MB / 386.8 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat does not exist to compare? outputFormat=mat