Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="IDEAS_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.006436/0.006436, allocations: 182.2 kB / 7.457 MB, free: 2.246 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7838/0.7838, allocations: 133.5 MB / 141.4 MB, free: 15.64 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.554/1.554, allocations: 221.3 MB / 395 MB, free: 10.18 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: 107 kB / 477.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5026/0.5036, allocations: 88.42 MB / 0.5529 GB, free: 89.11 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.7149, allocations: 82.29 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.248/1.963, allocations: 397.4 MB / 1.021 GB, free: 237 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/1.963, allocations: 91.3 kB / 1.022 GB, free: 236.9 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 4.194/6.157, allocations: 1.066 GB / 2.087 GB, free: 63.81 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/6.157, allocations: 6.062 kB / 2.087 GB, free: 63.81 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/6.167, allocations: 1.307 MB / 2.088 GB, free: 63.63 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008607/6.176, allocations: 3.338 MB / 2.092 GB, free: 63.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001944/6.176, allocations: 163.9 kB / 2.092 GB, free: 63.04 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004868/6.177, allocations: 137.5 kB / 2.092 GB, free: 63.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004181/6.181, allocations: 1.968 MB / 2.094 GB, free: 63.02 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004551/6.185, allocations: 2.469 MB / 2.096 GB, free: 62.54 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.318e-05/6.186, allocations: 11.38 kB / 2.096 GB, free: 62.54 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003228/6.186, allocations: 6.938 kB / 2.096 GB, free: 62.54 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-05/6.186, allocations: 72.86 kB / 2.096 GB, free: 62.54 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02189/6.208, allocations: 13.75 MB / 2.11 GB, free: 56.24 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/6.209, allocations: 1.061 MB / 2.111 GB, free: 56.02 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008463/6.21, allocations: 0.5964 MB / 2.111 GB, free: 56 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00154/6.212, allocations: 1.775 MB / 2.113 GB, free: 54.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001259/6.213, allocations: 0.9045 MB / 2.114 GB, free: 53.74 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=118): time 3.947e-06/6.213, allocations: 0 / 2.114 GB, free: 53.74 MB / 0.7136 GB Notification: Performance of matching and sorting (n=118): time 0.00607/6.219, allocations: 1.692 MB / 2.116 GB, free: 53.54 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002389/6.219, allocations: 0.9338 MB / 2.117 GB, free: 52.42 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003207/6.223, allocations: 1.856 MB / 2.118 GB, free: 52.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003256/6.223, allocations: 37.14 kB / 2.118 GB, free: 52.17 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009047/6.224, allocations: 0.9822 MB / 2.119 GB, free: 51.6 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004513/6.224, allocations: 397.5 kB / 2.12 GB, free: 51.35 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/6.224, allocations: 0 / 2.12 GB, free: 51.35 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.764e-05/6.225, allocations: 367.6 kB / 2.12 GB, free: 51.04 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/6.226, allocations: 0.6006 MB / 2.121 GB, free: 51.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001321/6.227, allocations: 1.191 MB / 2.122 GB, free: 50.38 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002335/6.229, allocations: 0.8191 MB / 2.123 GB, free: 50.36 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/6.229, allocations: 3.844 kB / 2.123 GB, free: 50.36 MB / 0.7136 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005106/6.234, allocations: 2.124 MB / 2.125 GB, free: 50.17 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001231/6.236, allocations: 4.91 MB / 2.13 GB, free: 44.92 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/6.236, allocations: 14.27 kB / 2.13 GB, free: 44.92 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/6.237, allocations: 0.5314 MB / 2.13 GB, free: 44.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002873/6.24, allocations: 0.4979 MB / 2.131 GB, free: 44.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0022/6.242, allocations: 1.802 MB / 2.132 GB, free: 43.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005633/6.248, allocations: 468 kB / 2.133 GB, free: 43.76 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003942/6.248, allocations: 101 kB / 2.133 GB, free: 43.76 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/6.248, allocations: 7.25 kB / 2.133 GB, free: 43.76 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004553/6.253, allocations: 1.831 MB / 2.135 GB, free: 43.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/6.253, allocations: 16 kB / 2.135 GB, free: 43.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/6.254, allocations: 0.5372 MB / 2.135 GB, free: 43.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002636/6.256, allocations: 495.4 kB / 2.136 GB, free: 43.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002077/6.259, allocations: 1.802 MB / 2.137 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004684/6.263, allocations: 368.3 kB / 2.138 GB, free: 42.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002657/6.264, allocations: 110.9 kB / 2.138 GB, free: 42.58 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.0006576/6.264, allocations: 170 kB / 2.138 GB, free: 42.45 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007035/6.265, allocations: 243.3 kB / 2.138 GB, free: 42.33 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006048/6.271, allocations: 1.706 MB / 2.14 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/6.271, allocations: 16.59 kB / 2.14 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/6.271, allocations: 3.531 kB / 2.14 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004607/6.276, allocations: 1.52 MB / 2.141 GB, free: 41.94 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/6.288, allocations: 6.123 MB / 2.147 GB, free: 40.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/6.288, allocations: 7.562 kB / 2.147 GB, free: 40.01 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001869/6.29, allocations: 303.2 kB / 2.148 GB, free: 40.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001074/6.291, allocations: 0.5133 MB / 2.148 GB, free: 39.99 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/6.291, allocations: 37.7 kB / 2.148 GB, free: 39.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001994/6.293, allocations: 1.794 MB / 2.15 GB, free: 38.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-06/6.293, allocations: 14.31 kB / 2.15 GB, free: 38.93 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005921/6.299, allocations: 3.147 MB / 2.153 GB, free: 37.7 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007396/6.306, allocations: 4.415 MB / 2.157 GB, free: 36.07 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001852/6.308, allocations: 0.6206 MB / 2.158 GB, free: 35.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005189/6.309, allocations: 19.67 kB / 2.158 GB, free: 35.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003291/6.312, allocations: 269.1 kB / 2.158 GB, free: 35.84 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/6.312, allocations: 101.6 kB / 2.158 GB, free: 35.84 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001501/6.312, allocations: 69.39 kB / 2.159 GB, free: 35.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.002243/6.315, allocations: 1.387 MB / 2.16 GB, free: 35.69 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.009268/6.324, allocations: 2.349 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.003807/6.328, allocations: 1.491 MB / 2.164 GB, free: 34.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005009/6.333, allocations: 2.522 MB / 2.166 GB, free: 34.85 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/6.333, allocations: 4.656 kB / 2.166 GB, free: 34.85 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001513/6.334, allocations: 0.7422 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.005565/6.34, allocations: 1.037 MB / 2.168 GB, free: 34.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/6.351, allocations: 4.078 MB / 2.172 GB, free: 33.73 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002181/6.353, allocations: 2.044 MB / 2.174 GB, free: 32.99 MB / 0.7136 GB Notification: Performance of SimCode: time 1.694e-06/6.353, allocations: 0.6562 kB / 2.174 GB, free: 32.99 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)