Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,fileNamePrefix="IBPSA_latest_IBPSA_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.001077/0.001077, allocations: 185.4 kB / 7.806 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4709/0.4709, allocations: 90.85 MB / 99.07 MB, free: 14.94 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 221.4 MB / 342.8 MB, free: 5.195 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009591/0.000959, allocations: 93.92 kB / 415.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1597/0.1607, allocations: 78.44 MB / 494 MB, free: 7.98 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.5668, allocations: 72.3 MB / 0.553 GB, free: 73.29 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6407/1.208, allocations: 387.7 MB / 0.9316 GB, free: 2.945 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/1.208, allocations: 89.58 kB / 0.9317 GB, free: 2.902 MB / 0.5886 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.93/5.138, allocations: 1.07 GB / 2.002 GB, free: 44.45 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/5.138, allocations: 10.41 kB / 2.002 GB, free: 44.45 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009651/5.148, allocations: 1.302 MB / 2.003 GB, free: 44.27 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00752/5.155, allocations: 3.34 MB / 2.006 GB, free: 43.72 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001905/5.156, allocations: 169.8 kB / 2.006 GB, free: 43.64 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004303/5.156, allocations: 134.6 kB / 2.006 GB, free: 43.64 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004505/5.16, allocations: 1.979 MB / 2.008 GB, free: 43.63 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004151/5.165, allocations: 2.468 MB / 2.011 GB, free: 43.14 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.04e-05/5.165, allocations: 3.656 kB / 2.011 GB, free: 43.14 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002657/5.165, allocations: 9.969 kB / 2.011 GB, free: 43.14 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.119e-05/5.165, allocations: 71.31 kB / 2.011 GB, free: 43.14 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02108/5.186, allocations: 13.74 MB / 2.024 GB, free: 36.83 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/5.188, allocations: 1.055 MB / 2.025 GB, free: 36.62 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/5.189, allocations: 0.6011 MB / 2.026 GB, free: 36.61 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001816/5.191, allocations: 1.773 MB / 2.028 GB, free: 34.64 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001417/5.192, allocations: 0.9064 MB / 2.029 GB, free: 34.35 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=118): time 3.536e-06/5.192, allocations: 0 / 2.029 GB, free: 34.35 MB / 0.6511 GB Notification: Performance of matching and sorting (n=118): time 0.005997/5.198, allocations: 1.686 MB / 2.03 GB, free: 34.15 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001977/5.198, allocations: 0.9368 MB / 2.031 GB, free: 33.03 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003034/5.201, allocations: 1.859 MB / 2.033 GB, free: 32.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003067/5.202, allocations: 36.05 kB / 2.033 GB, free: 32.77 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001/5.203, allocations: 0.9787 MB / 2.034 GB, free: 32.21 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005349/5.203, allocations: 394.5 kB / 2.034 GB, free: 31.95 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/5.203, allocations: 0 / 2.034 GB, free: 31.95 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001318/5.204, allocations: 370 kB / 2.035 GB, free: 31.65 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/5.205, allocations: 0.597 MB / 2.035 GB, free: 31.64 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/5.206, allocations: 1.196 MB / 2.036 GB, free: 30.98 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00233/5.208, allocations: 0.824 MB / 2.037 GB, free: 30.96 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/5.208, allocations: 2.562 kB / 2.037 GB, free: 30.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.004958/5.213, allocations: 2.124 MB / 2.039 GB, free: 30.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009204/5.214, allocations: 4.907 MB / 2.044 GB, free: 25.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/5.214, allocations: 14.14 kB / 2.044 GB, free: 25.53 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/5.216, allocations: 0.5252 MB / 2.045 GB, free: 25.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002852/5.218, allocations: 0.5061 MB / 2.045 GB, free: 25.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002209/5.221, allocations: 1.793 MB / 2.047 GB, free: 24.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005256/5.226, allocations: 465.6 kB / 2.047 GB, free: 24.37 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003047/5.226, allocations: 109.4 kB / 2.047 GB, free: 24.37 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/5.226, allocations: 3.688 kB / 2.047 GB, free: 24.37 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004379/5.231, allocations: 1.834 MB / 2.049 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/5.231, allocations: 16.09 kB / 2.049 GB, free: 24.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/5.232, allocations: 0.5288 MB / 2.05 GB, free: 24.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002692/5.235, allocations: 0.4887 MB / 2.05 GB, free: 24.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/5.237, allocations: 1.796 MB / 2.052 GB, free: 23.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004848/5.241, allocations: 379.8 kB / 2.052 GB, free: 23.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003314/5.242, allocations: 107 kB / 2.052 GB, free: 23.18 MB / 0.6511 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.0006278/5.242, allocations: 154.8 kB / 2.053 GB, free: 23.07 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00068/5.243, allocations: 242.1 kB / 2.053 GB, free: 22.95 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006253/5.249, allocations: 1.723 MB / 2.054 GB, free: 22.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.91e-05/5.249, allocations: 14.72 kB / 2.054 GB, free: 22.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/5.25, allocations: 3.656 kB / 2.055 GB, free: 22.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004799/5.254, allocations: 1.517 MB / 2.056 GB, free: 22.55 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/5.267, allocations: 6.129 MB / 2.062 GB, free: 20.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.6e-05/5.267, allocations: 10.25 kB / 2.062 GB, free: 20.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001884/5.269, allocations: 298.8 kB / 2.062 GB, free: 20.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001167/5.27, allocations: 0.524 MB / 2.063 GB, free: 20.59 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/5.27, allocations: 34.31 kB / 2.063 GB, free: 20.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/5.273, allocations: 1.788 MB / 2.065 GB, free: 19.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.477e-06/5.273, allocations: 11 kB / 2.065 GB, free: 19.54 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005884/5.278, allocations: 3.153 MB / 2.068 GB, free: 18.3 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007679/5.286, allocations: 4.406 MB / 2.072 GB, free: 16.68 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003146/5.289, allocations: 0.6236 MB / 2.073 GB, free: 16.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001001/5.29, allocations: 20.55 kB / 2.073 GB, free: 16.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003881/5.294, allocations: 262.3 kB / 2.073 GB, free: 16.44 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/5.295, allocations: 112.3 kB / 2.073 GB, free: 16.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000182/5.295, allocations: 64.72 kB / 2.073 GB, free: 16.43 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.002572/5.297, allocations: 1.39 MB / 2.074 GB, free: 16.29 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.01019/5.308, allocations: 2.348 MB / 2.077 GB, free: 15.96 MB / 0.6511 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.003011/5.311, allocations: 1.488 MB / 2.078 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005031/5.316, allocations: 2.52 MB / 2.081 GB, free: 31.39 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.656e-05/5.316, allocations: 6.812 kB / 2.081 GB, free: 31.39 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001556/5.317, allocations: 0.7392 MB / 2.081 GB, free: 31.34 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005464/5.323, allocations: 1.036 MB / 2.082 GB, free: 31.32 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0112/5.334, allocations: 4.087 MB / 2.086 GB, free: 30.07 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002283/5.336, allocations: 2.043 MB / 2.088 GB, free: 29.3 MB / 0.6667 GB Notification: Performance of SimCode: time 1.773e-06/5.336, allocations: 0 / 2.088 GB, free: 29.3 MB / 0.6667 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_ScalingFactor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1)