Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.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.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",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.003413/0.003413, allocations: 184.8 kB / 7.463 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.7157/0.7157, allocations: 133.5 MB / 141.4 MB, free: 15.78 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.455/1.455, allocations: 221.3 MB / 395 MB, free: 10.21 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.0009748/0.0009748, allocations: 103.7 kB / 477.8 MB, free: 10.85 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4536/0.4546, allocations: 88.42 MB / 0.5529 GB, free: 88.9 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.6257, allocations: 82.31 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.137/1.763, allocations: 397.4 MB / 1.021 GB, free: 236.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/1.763, allocations: 89.27 kB / 1.022 GB, free: 236.4 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: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 3.792/5.555, allocations: 1.066 GB / 2.087 GB, free: 63.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/5.555, allocations: 8.156 kB / 2.087 GB, free: 63.8 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009762/5.565, allocations: 1.306 MB / 2.088 GB, free: 63.62 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008041/5.573, allocations: 3.335 MB / 2.092 GB, free: 63.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002223/5.573, allocations: 177.5 kB / 2.092 GB, free: 63.02 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005296/5.574, allocations: 134.2 kB / 2.092 GB, free: 63.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004117/5.578, allocations: 1.97 MB / 2.094 GB, free: 63 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004123/5.582, allocations: 2.469 MB / 2.096 GB, free: 62.52 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.047e-05/5.582, allocations: 7.031 kB / 2.096 GB, free: 62.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002656/5.583, allocations: 10.06 kB / 2.096 GB, free: 62.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.286e-05/5.583, allocations: 68.8 kB / 2.096 GB, free: 62.52 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02189/5.605, allocations: 13.75 MB / 2.11 GB, free: 56.22 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/5.606, allocations: 1.063 MB / 2.111 GB, free: 56 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009429/5.607, allocations: 0.5977 MB / 2.111 GB, free: 55.99 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001816/5.609, allocations: 1.779 MB / 2.113 GB, free: 54.02 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001389/5.61, allocations: 0.9022 MB / 2.114 GB, free: 53.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 3.557e-06/5.61, allocations: 0 / 2.114 GB, free: 53.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=118): time 0.006512/5.617, allocations: 1.68 MB / 2.116 GB, free: 53.53 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002927/5.617, allocations: 0.9402 MB / 2.117 GB, free: 52.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003601/5.621, allocations: 1.853 MB / 2.118 GB, free: 52.19 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0004886/5.621, allocations: 35.66 kB / 2.118 GB, free: 52.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00094/5.622, allocations: 0.9827 MB / 2.119 GB, free: 51.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005071/5.623, allocations: 398.1 kB / 2.12 GB, free: 51.34 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/5.623, allocations: 1.875 kB / 2.12 GB, free: 51.34 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001053/5.623, allocations: 366.7 kB / 2.12 GB, free: 51.03 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/5.624, allocations: 0.5973 MB / 2.121 GB, free: 51.03 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/5.625, allocations: 1.195 MB / 2.122 GB, free: 50.37 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002382/5.628, allocations: 0.817 MB / 2.123 GB, free: 50.35 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-05/5.628, allocations: 6.219 kB / 2.123 GB, free: 50.35 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005428/5.633, allocations: 2.119 MB / 2.125 GB, free: 50.16 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001111/5.634, allocations: 4.907 MB / 2.13 GB, free: 44.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/5.635, allocations: 12.97 kB / 2.13 GB, free: 44.91 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/5.636, allocations: 0.5297 MB / 2.13 GB, free: 44.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002879/5.639, allocations: 0.5019 MB / 2.131 GB, free: 44.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/5.641, allocations: 1.805 MB / 2.132 GB, free: 43.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005618/5.646, allocations: 467.4 kB / 2.133 GB, free: 43.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003844/5.647, allocations: 106.4 kB / 2.133 GB, free: 43.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/5.647, allocations: 4.25 kB / 2.133 GB, free: 43.75 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004606/5.651, allocations: 1.831 MB / 2.135 GB, free: 43.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/5.652, allocations: 12.56 kB / 2.135 GB, free: 43.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/5.653, allocations: 0.5331 MB / 2.135 GB, free: 43.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002701/5.655, allocations: 494.3 kB / 2.136 GB, free: 43.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002152/5.658, allocations: 1.803 MB / 2.137 GB, free: 42.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004886/5.662, allocations: 380.5 kB / 2.138 GB, free: 42.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003126/5.663, allocations: 104.3 kB / 2.138 GB, free: 42.57 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0007029/5.664, allocations: 169.3 kB / 2.138 GB, free: 42.45 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007183/5.664, allocations: 245.4 kB / 2.138 GB, free: 42.32 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005839/5.67, allocations: 1.703 MB / 2.14 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-05/5.67, allocations: 20.66 kB / 2.14 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/5.67, allocations: 3.562 kB / 2.14 GB, free: 42.22 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004516/5.675, allocations: 1.519 MB / 2.142 GB, free: 41.93 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01291/5.688, allocations: 6.126 MB / 2.147 GB, free: 40 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/5.688, allocations: 7.719 kB / 2.147 GB, free: 40 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001913/5.69, allocations: 301.6 kB / 2.148 GB, free: 40 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001121/5.691, allocations: 0.5149 MB / 2.148 GB, free: 39.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/5.691, allocations: 33.86 kB / 2.148 GB, free: 39.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002191/5.693, allocations: 1.794 MB / 2.15 GB, free: 38.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.044e-05/5.693, allocations: 10.75 kB / 2.15 GB, free: 38.93 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006042/5.699, allocations: 3.155 MB / 2.153 GB, free: 37.7 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007592/5.707, allocations: 4.398 MB / 2.157 GB, free: 36.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001912/5.709, allocations: 0.6319 MB / 2.158 GB, free: 35.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007493/5.71, allocations: 12.69 kB / 2.158 GB, free: 35.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003771/5.713, allocations: 267.7 kB / 2.158 GB, free: 35.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001988/5.714, allocations: 101.6 kB / 2.158 GB, free: 35.83 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001841/5.714, allocations: 74.77 kB / 2.159 GB, free: 35.83 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.002288/5.716, allocations: 1.387 MB / 2.16 GB, free: 35.69 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.008407/5.724, allocations: 2.348 MB / 2.162 GB, free: 35.36 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.002878/5.727, allocations: 1.495 MB / 2.164 GB, free: 34.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004457/5.732, allocations: 2.514 MB / 2.166 GB, free: 34.85 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-05/5.732, allocations: 6.188 kB / 2.166 GB, free: 34.85 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001395/5.733, allocations: 0.7473 MB / 2.167 GB, free: 34.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005617/5.739, allocations: 1.031 MB / 2.168 GB, free: 34.81 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01241/5.751, allocations: 4.086 MB / 2.172 GB, free: 33.72 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002091/5.753, allocations: 2.041 MB / 2.174 GB, free: 32.98 MB / 0.7136 GB Notification: Performance of SimCode: time 1.593e-06/5.753, allocations: 2.188 kB / 2.174 GB, free: 32.98 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)