Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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_VariableSpeed,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed",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.003658/0.003658, allocations: 183.2 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7349/0.7349, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.576/1.576, 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.001019/0.001019, allocations: 102.7 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4021/0.4032, allocations: 88.43 MB / 0.5529 GB, free: 89.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.5839, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.153/1.737, allocations: 396.5 MB / 1.021 GB, free: 201.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/1.738, allocations: 87.34 kB / 1.021 GB, free: 201.1 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 1.912/3.65, allocations: 0.5606 GB / 1.581 GB, free: 108 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/3.65, allocations: 10.53 kB / 1.581 GB, free: 108 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004797/3.654, allocations: 0.664 MB / 1.582 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003854/3.658, allocations: 1.811 MB / 1.584 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/3.659, allocations: 86.11 kB / 1.584 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001888/3.659, allocations: 72.12 kB / 1.584 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0021/3.661, allocations: 1.025 MB / 1.585 GB, free: 107.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002521/3.663, allocations: 1.285 MB / 1.586 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.77e-05/3.663, allocations: 9.281 kB / 1.586 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/3.664, allocations: 3.812 kB / 1.586 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.281e-05/3.664, allocations: 48.19 kB / 1.586 GB, free: 107.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01072/3.674, allocations: 7.061 MB / 1.593 GB, free: 104 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007774/3.675, allocations: 489.8 kB / 1.594 GB, free: 104 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004615/3.676, allocations: 323.1 kB / 1.594 GB, free: 104 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/3.677, allocations: 1.269 MB / 1.595 GB, free: 102.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006685/3.677, allocations: 0.4934 MB / 1.596 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=65): time 2.855e-06/3.677, allocations: 0 / 1.596 GB, free: 102.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=65): time 0.002082/3.68, allocations: 0.8298 MB / 1.596 GB, free: 102.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/3.68, allocations: 477.5 kB / 1.597 GB, free: 101.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/3.681, allocations: 0.9954 MB / 1.598 GB, free: 101.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/3.681, allocations: 32.48 kB / 1.598 GB, free: 101.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000488/3.682, allocations: 0.5301 MB / 1.598 GB, free: 101.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/3.682, allocations: 218.5 kB / 1.599 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/3.682, allocations: 0 / 1.599 GB, free: 101.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.919e-05/3.682, allocations: 346.4 kB / 1.599 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005237/3.683, allocations: 312.1 kB / 1.599 GB, free: 100.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006896/3.683, allocations: 0.6212 MB / 1.6 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/3.685, allocations: 433.1 kB / 1.6 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/3.685, allocations: 3.719 kB / 1.6 GB, free: 100.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.003793/3.688, allocations: 1.183 MB / 1.601 GB, free: 100.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004814/3.689, allocations: 2.453 MB / 1.604 GB, free: 97.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/3.689, allocations: 7.781 kB / 1.604 GB, free: 97.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006437/3.69, allocations: 277.7 kB / 1.604 GB, free: 97.76 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/3.691, allocations: 277.2 kB / 1.604 GB, free: 97.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001102/3.692, allocations: 0.9 MB / 1.605 GB, free: 97.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00278/3.695, allocations: 241.2 kB / 1.605 GB, free: 97.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/3.695, allocations: 56.66 kB / 1.605 GB, free: 97.19 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.059e-05/3.695, allocations: 3.906 kB / 1.605 GB, free: 97.19 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003772/3.699, allocations: 1.026 MB / 1.606 GB, free: 97.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/3.699, allocations: 9.344 kB / 1.606 GB, free: 97.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006299/3.7, allocations: 266.6 kB / 1.607 GB, free: 97.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/3.701, allocations: 274.2 kB / 1.607 GB, free: 97.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/3.702, allocations: 0.9092 MB / 1.608 GB, free: 96.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002572/3.705, allocations: 205.4 kB / 1.608 GB, free: 96.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/3.705, allocations: 57.23 kB / 1.608 GB, free: 96.59 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: 7 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.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 (90): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.000376/3.705, allocations: 136.6 kB / 1.608 GB, free: 96.48 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/3.706, allocations: 132.6 kB / 1.608 GB, free: 96.42 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003177/3.709, allocations: 0.924 MB / 1.609 GB, free: 96.35 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/3.709, allocations: 14.88 kB / 1.609 GB, free: 96.34 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/3.709, allocations: 3.781 kB / 1.609 GB, free: 96.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002428/3.711, allocations: 0.826 MB / 1.61 GB, free: 96.17 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006275/3.718, allocations: 3.099 MB / 1.613 GB, free: 95.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/3.718, allocations: 7.719 kB / 1.613 GB, free: 95.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/3.719, allocations: 163.6 kB / 1.613 GB, free: 95.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005701/3.719, allocations: 273.7 kB / 1.614 GB, free: 95.12 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-05/3.719, allocations: 19.47 kB / 1.614 GB, free: 95.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/3.72, allocations: 0.8968 MB / 1.614 GB, free: 94.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/3.72, allocations: 3.781 kB / 1.614 GB, free: 94.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003671/3.724, allocations: 1.756 MB / 1.616 GB, free: 93.97 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004479/3.729, allocations: 2.604 MB / 1.619 GB, free: 92.97 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009337/3.73, allocations: 365.8 kB / 1.619 GB, free: 92.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002513/3.73, allocations: 10.66 kB / 1.619 GB, free: 92.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001747/3.732, allocations: 153.5 kB / 1.619 GB, free: 92.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/3.732, allocations: 55.58 kB / 1.619 GB, free: 92.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-05/3.732, allocations: 38.91 kB / 1.619 GB, free: 92.79 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.001155/3.733, allocations: 0.7513 MB / 1.62 GB, free: 92.68 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005098/3.738, allocations: 1.259 MB / 1.621 GB, free: 92.5 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.00191/3.74, allocations: 0.8837 MB / 1.622 GB, free: 92.28 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002762/3.743, allocations: 1.343 MB / 1.623 GB, free: 92.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/3.743, allocations: 2.656 kB / 1.623 GB, free: 92.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007489/3.744, allocations: 395.5 kB / 1.624 GB, free: 92.19 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002789/3.746, allocations: 0.5605 MB / 1.624 GB, free: 92.18 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006589/3.753, allocations: 2.139 MB / 1.626 GB, free: 91.57 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/3.754, allocations: 1.399 MB / 1.628 GB, free: 90.85 MB / 0.6823 GB Notification: Performance of SimCode: time 7.81e-07/3.754, allocations: 0 / 1.628 GB, free: 90.85 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=2000 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_VariableSpeed.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)