Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001726/0.001726, allocations: 202.3 kB / 8.54 MB, free: 1.801 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.175/1.175, allocations: 225.5 MB / 234.4 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009219/0.0009219, allocations: 90.52 kB / 286.3 MB, free: 5.285 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09159/0.09253, allocations: 56.92 MB / 343.3 MB, free: 8.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07981/0.1724, allocations: 51.47 MB / 394.7 MB, free: 5 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2041/0.3765, allocations: 83.71 MB / 478.4 MB, free: 9.445 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001881/0.3767, allocations: 82.39 kB / 478.5 MB, free: 9.402 MB / 346.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.0462/0.4229, allocations: 21.17 MB / 499.7 MB, free: 8.488 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.423, allocations: 12 kB / 499.7 MB, free: 8.477 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00134/0.4243, allocations: 196.1 kB / 499.9 MB, free: 8.301 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.4245, allocations: 234.5 kB / 0.4884 GB, free: 8.031 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.4246, allocations: 20 kB / 0.4884 GB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.443e-05/0.4247, allocations: 43.91 kB / 0.4885 GB, free: 7.969 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009152/0.4256, allocations: 0.5056 MB / 0.4889 GB, free: 7.648 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009218/0.4265, allocations: 0.5712 MB / 0.4895 GB, free: 7.223 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.4266, allocations: 0 / 0.4895 GB, free: 7.223 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.638e-05/0.4266, allocations: 3.984 kB / 0.4895 GB, free: 7.219 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.4266, allocations: 19.94 kB / 0.4895 GB, free: 7.199 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003296/0.4299, allocations: 2.239 MB / 0.4917 GB, free: 5.395 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.4311, allocations: 0.5952 MB / 0.4923 GB, free: 4.844 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003276/0.4315, allocations: 219.7 kB / 0.4925 GB, free: 4.625 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001846/0.4317, allocations: 174.9 kB / 0.4927 GB, free: 4.418 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.4317, allocations: 43.16 kB / 0.4927 GB, free: 4.367 MB / 362.7 MB Notification: Performance of pre-optimization done (n=66): time 2.184e-06/0.4317, allocations: 4 kB / 0.4927 GB, free: 4.363 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.001062/0.4328, allocations: 471.5 kB / 0.4932 GB, free: 3.895 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.986e-05/0.4328, allocations: 115.5 kB / 0.4933 GB, free: 3.758 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.433, allocations: 210.9 kB / 0.4935 GB, free: 3.539 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.4331, allocations: 27.3 kB / 0.4935 GB, free: 3.508 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.4332, allocations: 251.9 kB / 0.4937 GB, free: 3.254 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.4334, allocations: 216.8 kB / 0.494 GB, free: 3.039 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.012e-05/0.4334, allocations: 0 / 0.494 GB, free: 3.039 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.4335, allocations: 346.8 kB / 0.4943 GB, free: 2.691 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003146/0.4338, allocations: 173.5 kB / 0.4944 GB, free: 2.523 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003625/0.4342, allocations: 257.7 kB / 0.4947 GB, free: 2.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005994/0.4348, allocations: 235.1 kB / 0.4949 GB, free: 2.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.4348, allocations: 0 / 0.4949 GB, free: 2.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001149/0.436, allocations: 0.5619 MB / 0.4955 GB, free: 1.449 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.436, allocations: 7.938 kB / 0.4955 GB, free: 1.441 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.436, allocations: 8.188 kB / 0.4955 GB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.436, allocations: 4 kB / 0.4955 GB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008395/0.4369, allocations: 163.8 kB / 0.4956 GB, free: 1.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.4369, allocations: 4 kB / 0.4956 GB, free: 1.266 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005024/0.4374, allocations: 71.34 kB / 0.4957 GB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/0.4375, allocations: 29.86 kB / 0.4957 GB, free: 1.168 MB / 362.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.0001132/0.4376, allocations: 114.7 kB / 0.4959 GB, free: 1.051 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.4377, allocations: 35.62 kB / 0.4959 GB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.4389, allocations: 0.5426 MB / 0.4964 GB, free: 484 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.4389, allocations: 4 kB / 0.4964 GB, free: 480 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.4389, allocations: 0 / 0.4964 GB, free: 480 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.4389, allocations: 7.984 kB / 0.4964 GB, free: 472 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.4407, allocations: 1.178 MB / 0.4976 GB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4407, allocations: 0 / 0.4976 GB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007038/0.4415, allocations: 139.8 kB / 0.4977 GB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.4415, allocations: 8 kB / 0.4977 GB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-05/0.4415, allocations: 4 kB / 0.4977 GB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.4415, allocations: 3.906 kB / 0.4977 GB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4415, allocations: 4 kB / 0.4977 GB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001356/0.4429, allocations: 0.8934 MB / 0.4986 GB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001819/0.4447, allocations: 1.523 MB / 0.5001 GB, free: 12.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.784e-05/0.4448, allocations: 124.5 kB / 0.5002 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.528e-05/0.4449, allocations: 4 kB / 0.5002 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004559/0.4454, allocations: 28.03 kB / 0.5002 GB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.521e-05/0.4455, allocations: 36.59 kB / 0.5003 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.36e-05/0.4455, allocations: 16 kB / 0.5003 GB, free: 12.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000158/0.4457, allocations: 168.5 kB / 0.5004 GB, free: 12.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001158/0.4469, allocations: 196.1 kB / 0.5006 GB, free: 12.02 MB / 378.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.0002501/0.4471, allocations: 159 kB / 0.5008 GB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007632/0.4479, allocations: 474.9 kB / 0.5012 GB, free: 11.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4479, allocations: 0 / 0.5012 GB, free: 11.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003548/0.4483, allocations: 246.3 kB / 0.5015 GB, free: 11.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.4486, allocations: 18.72 kB / 0.5015 GB, free: 11.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.4505, allocations: 0.791 MB / 0.5023 GB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006194/0.4511, allocations: 0.9222 MB / 0.5032 GB, free: 9.367 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4511, allocations: 0 / 0.5032 GB, free: 9.367 MB / 378.7 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FluxTubes_Examples_FixedShapes_CylinderSections.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat does not exist to compare? outputFormat=mat