Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel",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.005009/0.005009, allocations: 179.5 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7102/0.7102, allocations: 133.5 MB / 141.4 MB, free: 15.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 221.3 MB / 395 MB, free: 10.19 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 108.5 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5119/0.5132, allocations: 88.41 MB / 0.5529 GB, free: 89.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.7138, allocations: 82.3 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.261/1.975, allocations: 368.2 MB / 0.9928 GB, free: 262.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002162/1.976, allocations: 87.75 kB / 0.9929 GB, free: 262.8 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.2003/2.176, allocations: 106.4 MB / 1.097 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/2.176, allocations: 8 kB / 1.097 GB, free: 158.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00024/2.176, allocations: 47.52 kB / 1.097 GB, free: 158.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01446/2.191, allocations: 6.835 MB / 1.104 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/2.191, allocations: 11.91 kB / 1.104 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.585e-05/2.191, allocations: 19.98 kB / 1.104 GB, free: 151.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003617/2.191, allocations: 133 kB / 1.104 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/2.192, allocations: 256.4 kB / 1.104 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/2.192, allocations: 3.938 kB / 1.104 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/2.192, allocations: 0 / 1.104 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.126e-05/2.192, allocations: 8 kB / 1.104 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001553/2.193, allocations: 1.414 MB / 1.105 GB, free: 149.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/2.193, allocations: 122.6 kB / 1.106 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.793e-05/2.194, allocations: 48.89 kB / 1.106 GB, free: 149.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001337/2.194, allocations: 89.11 kB / 1.106 GB, free: 149.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/2.194, allocations: 106.3 kB / 1.106 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 2.375e-06/2.194, allocations: 0 / 1.106 GB, free: 149.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0003507/2.194, allocations: 137.3 kB / 1.106 GB, free: 149.2 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/2.194, allocations: 59.41 kB / 1.106 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/2.195, allocations: 279.6 kB / 1.106 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/2.195, allocations: 29.7 kB / 1.106 GB, free: 148.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.55e-05/2.195, allocations: 183.8 kB / 1.106 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/2.195, allocations: 47.36 kB / 1.106 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/2.195, allocations: 3.938 kB / 1.106 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001065/2.195, allocations: 342.7 kB / 1.107 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/2.195, allocations: 52 kB / 1.107 GB, free: 148.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/2.195, allocations: 133.3 kB / 1.107 GB, free: 148 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/2.195, allocations: 71.92 kB / 1.107 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/2.195, allocations: 0 / 1.107 GB, free: 147.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003645/2.196, allocations: 225.1 kB / 1.107 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/2.196, allocations: 4.312 kB / 1.107 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/2.196, allocations: 8 kB / 1.107 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/2.196, allocations: 4 kB / 1.107 GB, free: 147.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/2.196, allocations: 55.91 kB / 1.107 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/2.196, allocations: 7.984 kB / 1.107 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/2.196, allocations: 43.67 kB / 1.107 GB, free: 147.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.734e-05/2.196, allocations: 15.94 kB / 1.107 GB, free: 147.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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 8.967e-05/2.196, allocations: 109 kB / 1.107 GB, free: 147.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/2.196, allocations: 31.56 kB / 1.107 GB, free: 147.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002825/2.197, allocations: 152.5 kB / 1.108 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/2.197, allocations: 0 / 1.108 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/2.197, allocations: 7.906 kB / 1.108 GB, free: 147.3 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002499/2.197, allocations: 439.8 kB / 1.108 GB, free: 146.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003361/2.197, allocations: 309.9 kB / 1.108 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/2.197, allocations: 0 / 1.108 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/2.198, allocations: 43.83 kB / 1.108 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/2.198, allocations: 0 / 1.108 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/2.198, allocations: 4 kB / 1.108 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/2.198, allocations: 3.984 kB / 1.108 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/2.198, allocations: 4 kB / 1.108 GB, free: 146.4 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000345/2.198, allocations: 216 kB / 1.109 GB, free: 146.1 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004643/2.198, allocations: 0.6572 MB / 1.109 GB, free: 145.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/2.199, allocations: 136.9 kB / 1.109 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.649e-05/2.199, allocations: 7.922 kB / 1.109 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/2.199, allocations: 19.89 kB / 1.109 GB, free: 145.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.489e-05/2.199, allocations: 19.97 kB / 1.109 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/2.199, allocations: 4 kB / 1.109 GB, free: 145.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0001772/2.199, allocations: 223.1 kB / 1.11 GB, free: 145 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001085/2.2, allocations: 155.9 kB / 1.11 GB, free: 144.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003608/2.201, allocations: 240.4 kB / 1.11 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002474/2.201, allocations: 156.9 kB / 1.11 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/2.201, allocations: 4 kB / 1.11 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 8.062e-05/2.201, allocations: 51.94 kB / 1.11 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008564/2.202, allocations: 178.3 kB / 1.11 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/2.203, allocations: 0.521 MB / 1.111 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/2.203, allocations: 0.8412 MB / 1.112 GB, free: 142.8 MB / 0.6823 GB Notification: Performance of SimCode: time 3.71e-07/2.203, allocations: 4 kB / 1.112 GB, free: 142.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Storage_Examples_ExpansionVessel.fmu > IDEAS_dev_IDEAS.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1)