Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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_Static,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static",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.004233/0.004233, allocations: 182.8 kB / 7.461 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.7028/0.7028, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.504/1.504, allocations: 221.3 MB / 395 MB, free: 10.2 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.0009575/0.0009576, allocations: 98.28 kB / 477.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4412/0.4422, allocations: 88.43 MB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.6647, allocations: 82.29 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.113/1.778, allocations: 395.9 MB / 1.02 GB, free: 201.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003954/1.778, allocations: 92.41 kB / 1.02 GB, free: 201.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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 1.898/3.677, allocations: 0.5602 GB / 1.58 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/3.677, allocations: 9.656 kB / 1.58 GB, free: 108.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005049/3.682, allocations: 0.6591 MB / 1.581 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003862/3.686, allocations: 1.797 MB / 1.583 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/3.686, allocations: 83.3 kB / 1.583 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002302/3.686, allocations: 69 kB / 1.583 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002083/3.688, allocations: 1.007 MB / 1.584 GB, free: 108.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/3.69, allocations: 1.269 MB / 1.585 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/3.69, allocations: 7.844 kB / 1.585 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001257/3.69, allocations: 3.906 kB / 1.585 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-05/3.69, allocations: 48.67 kB / 1.585 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009987/3.7, allocations: 7.294 MB / 1.592 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000865/3.701, allocations: 0.5181 MB / 1.593 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004287/3.702, allocations: 312.8 kB / 1.593 GB, free: 104.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/3.703, allocations: 1.266 MB / 1.594 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/3.703, allocations: 47.69 kB / 1.594 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=64): time 2.295e-06/3.703, allocations: 0 / 1.594 GB, free: 102.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64): time 0.001944/3.705, allocations: 0.8121 MB / 1.595 GB, free: 102.8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/3.705, allocations: 110.4 kB / 1.595 GB, free: 102.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001268/3.706, allocations: 0.9648 MB / 1.596 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/3.706, allocations: 29.55 kB / 1.596 GB, free: 102.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003882/3.707, allocations: 0.5209 MB / 1.597 GB, free: 102.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/3.707, allocations: 216.7 kB / 1.597 GB, free: 102 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.315e-05/3.707, allocations: 3.031 kB / 1.597 GB, free: 102 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.287e-05/3.707, allocations: 335.4 kB / 1.597 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004568/3.707, allocations: 292 kB / 1.597 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005824/3.708, allocations: 0.5546 MB / 1.598 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/3.709, allocations: 404.6 kB / 1.598 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/3.709, allocations: 3.844 kB / 1.598 GB, free: 101.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002679/3.712, allocations: 1.076 MB / 1.599 GB, free: 101.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005622/3.713, allocations: 2.454 MB / 1.602 GB, free: 98.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.246e-05/3.713, allocations: 6.875 kB / 1.602 GB, free: 98.74 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008305/3.713, allocations: 359 kB / 1.602 GB, free: 98.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/3.715, allocations: 257.6 kB / 1.602 GB, free: 98.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/3.716, allocations: 1.095 MB / 1.603 GB, free: 98.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002507/3.719, allocations: 233.7 kB / 1.604 GB, free: 98.15 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/3.719, allocations: 54.33 kB / 1.604 GB, free: 98.15 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/3.719, allocations: 6.531 kB / 1.604 GB, free: 98.15 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002197/3.721, allocations: 0.9233 MB / 1.605 GB, free: 98.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/3.721, allocations: 10.22 kB / 1.605 GB, free: 98.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007855/3.722, allocations: 355 kB / 1.605 GB, free: 98.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/3.723, allocations: 252.8 kB / 1.605 GB, free: 98.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/3.725, allocations: 1.099 MB / 1.606 GB, free: 97.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/3.727, allocations: 189.3 kB / 1.606 GB, free: 97.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/3.727, allocations: 52.53 kB / 1.607 GB, free: 97.55 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002691/3.727, allocations: 137.6 kB / 1.607 GB, free: 97.43 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002487/3.728, allocations: 122.9 kB / 1.607 GB, free: 97.37 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002182/3.73, allocations: 0.9143 MB / 1.608 GB, free: 97.29 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/3.73, allocations: 10.94 kB / 1.608 GB, free: 97.29 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/3.73, allocations: 0 / 1.608 GB, free: 97.29 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001508/3.731, allocations: 0.8168 MB / 1.608 GB, free: 97.12 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005293/3.737, allocations: 2.856 MB / 1.611 GB, free: 96.22 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/3.737, allocations: 3.969 kB / 1.611 GB, free: 96.22 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/3.738, allocations: 163.3 kB / 1.611 GB, free: 96.22 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008131/3.739, allocations: 354.8 kB / 1.612 GB, free: 96.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.374e-05/3.739, allocations: 21.64 kB / 1.612 GB, free: 96.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/3.741, allocations: 1.207 MB / 1.613 GB, free: 95.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/3.741, allocations: 3.938 kB / 1.613 GB, free: 95.67 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002346/3.743, allocations: 1.224 MB / 1.614 GB, free: 95.11 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002354/3.746, allocations: 1.673 MB / 1.616 GB, free: 94.17 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000724/3.747, allocations: 363 kB / 1.616 GB, free: 94.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/3.747, allocations: 10.86 kB / 1.616 GB, free: 94.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001692/3.748, allocations: 137 kB / 1.616 GB, free: 94 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/3.749, allocations: 53.19 kB / 1.616 GB, free: 94 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.409e-05/3.749, allocations: 40.09 kB / 1.616 GB, free: 94 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001122/3.75, allocations: 0.7363 MB / 1.617 GB, free: 93.89 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005821/3.756, allocations: 1.253 MB / 1.618 GB, free: 93.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.002322/3.758, allocations: 0.8783 MB / 1.619 GB, free: 93.48 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002584/3.761, allocations: 1.252 MB / 1.62 GB, free: 93.45 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/3.761, allocations: 0 / 1.62 GB, free: 93.45 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001348/3.762, allocations: 467.6 kB / 1.621 GB, free: 93.45 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/3.765, allocations: 0.5537 MB / 1.621 GB, free: 93.44 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006076/3.771, allocations: 1.947 MB / 1.623 GB, free: 92.87 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001154/3.772, allocations: 1.373 MB / 1.625 GB, free: 92.14 MB / 0.6823 GB Notification: Performance of SimCode: time 1.322e-06/3.772, allocations: 0 / 1.625 GB, free: 92.14 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Static.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)