Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7698/0.7698, allocations: 141.8 MB / 149.1 MB, free: 13.55 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 187.9 kB / 181.9 MB, free: 10.2 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.573/1.573, allocations: 221.4 MB / 436 MB, free: 2.727 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 105.1 kB / 0.507 GB, free: 17.84 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001794/0.001794, allocations: 273.9 kB / 0.5884 GB, free: 4.211 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 7.785e-06/7.805e-06, allocations: 1.25 kB / 0.6759 GB, free: 137.1 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1836, allocations: 82.77 MB / 0.7567 GB, free: 84.01 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7828/0.9665, allocations: 393.9 MB / 1.141 GB, free: 1.406 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.9667, allocations: 83.39 kB / 1.141 GB, free: 1.367 MB / 0.6982 GB Notification: Performance of FrontEnd: time 2.279/3.246, allocations: 0.5585 GB / 1.7 GB, free: 82.49 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0002623/3.247, allocations: 45.02 kB / 1.7 GB, free: 82.49 MB / 0.7138 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 0.006091/3.253, allocations: 1.916 MB / 1.702 GB, free: 81.81 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/3.253, allocations: 10.5 kB / 1.702 GB, free: 81.81 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005164/3.258, allocations: 0.6616 MB / 1.703 GB, free: 81.71 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005194/3.263, allocations: 1.788 MB / 1.704 GB, free: 81.41 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001786/3.263, allocations: 88.78 kB / 1.704 GB, free: 81.37 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004854/3.264, allocations: 72.31 kB / 1.704 GB, free: 81.37 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002665/3.266, allocations: 1.024 MB / 1.705 GB, free: 81.36 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002822/3.269, allocations: 1.286 MB / 1.707 GB, free: 81.11 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.033e-05/3.269, allocations: 2.812 kB / 1.707 GB, free: 81.11 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001974/3.27, allocations: 7.25 kB / 1.707 GB, free: 81.11 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.155e-05/3.27, allocations: 52.48 kB / 1.707 GB, free: 81.11 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01254/3.282, allocations: 7.062 MB / 1.714 GB, free: 77.95 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008896/3.283, allocations: 492.7 kB / 1.714 GB, free: 77.93 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004807/3.284, allocations: 318.6 kB / 1.714 GB, free: 77.92 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/3.285, allocations: 1.274 MB / 1.716 GB, free: 76.51 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007363/3.286, allocations: 0.4918 MB / 1.716 GB, free: 76.33 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=65): time 5.019e-06/3.286, allocations: 0 / 1.716 GB, free: 76.33 MB / 0.7138 GB Notification: Performance of matching and sorting (n=65): time 0.002521/3.288, allocations: 0.8333 MB / 1.717 GB, free: 76.21 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/3.288, allocations: 480.5 kB / 1.717 GB, free: 75.65 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/3.29, allocations: 0.9869 MB / 1.718 GB, free: 75.51 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001609/3.29, allocations: 29.48 kB / 1.718 GB, free: 75.48 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.000532/3.291, allocations: 0.5324 MB / 1.719 GB, free: 75.23 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/3.291, allocations: 221.8 kB / 1.719 GB, free: 75.11 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.371e-05/3.291, allocations: 0 / 1.719 GB, free: 75.11 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 9.726e-05/3.291, allocations: 344.2 kB / 1.719 GB, free: 74.8 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000575/3.292, allocations: 319.9 kB / 1.72 GB, free: 74.8 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007635/3.293, allocations: 0.6107 MB / 1.72 GB, free: 74.46 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001273/3.294, allocations: 426.4 kB / 1.721 GB, free: 74.45 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/3.294, allocations: 0 / 1.721 GB, free: 74.45 MB / 0.7138 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.004466/3.298, allocations: 1.185 MB / 1.722 GB, free: 74.34 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008802/3.299, allocations: 2.455 MB / 1.724 GB, free: 71.79 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.412e-05/3.299, allocations: 3.219 kB / 1.724 GB, free: 71.79 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008053/3.3, allocations: 279.9 kB / 1.725 GB, free: 71.79 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/3.302, allocations: 279.3 kB / 1.725 GB, free: 71.79 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/3.303, allocations: 0.8986 MB / 1.726 GB, free: 71.26 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003021/3.306, allocations: 248.1 kB / 1.726 GB, free: 71.21 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/3.306, allocations: 57.78 kB / 1.726 GB, free: 71.21 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/3.306, allocations: 9.906 kB / 1.726 GB, free: 71.21 MB / 0.7138 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003827/3.31, allocations: 1.017 MB / 1.727 GB, free: 71.19 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/3.31, allocations: 7.531 kB / 1.727 GB, free: 71.19 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005906/3.311, allocations: 275.5 kB / 1.727 GB, free: 71.18 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/3.312, allocations: 272.5 kB / 1.728 GB, free: 71.18 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/3.313, allocations: 0.9036 MB / 1.728 GB, free: 70.65 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/3.316, allocations: 208.8 kB / 1.729 GB, free: 70.62 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/3.316, allocations: 54.55 kB / 1.729 GB, free: 70.62 MB / 0.7138 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.0003706/3.317, allocations: 135.3 kB / 1.729 GB, free: 70.51 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004623/3.317, allocations: 130.2 kB / 1.729 GB, free: 70.45 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003369/3.32, allocations: 0.9398 MB / 1.73 GB, free: 70.37 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.009e-05/3.32, allocations: 7.5 kB / 1.73 GB, free: 70.37 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/3.321, allocations: 7.719 kB / 1.73 GB, free: 70.36 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002533/3.323, allocations: 0.8206 MB / 1.731 GB, free: 70.19 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006975/3.33, allocations: 3.099 MB / 1.734 GB, free: 69.15 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-05/3.33, allocations: 7.344 kB / 1.734 GB, free: 69.15 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/3.331, allocations: 168.8 kB / 1.734 GB, free: 69.15 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006013/3.332, allocations: 266.7 kB / 1.734 GB, free: 69.14 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.547e-05/3.332, allocations: 21.67 kB / 1.734 GB, free: 69.14 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/3.333, allocations: 0.8957 MB / 1.735 GB, free: 68.62 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.655e-06/3.333, allocations: 9.344 kB / 1.735 GB, free: 68.62 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00405/3.337, allocations: 1.759 MB / 1.737 GB, free: 67.99 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001063/3.338, allocations: 365.7 kB / 1.737 GB, free: 67.82 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005477/3.339, allocations: 13.88 kB / 1.737 GB, free: 67.82 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002109/3.341, allocations: 154.1 kB / 1.737 GB, free: 67.82 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/3.341, allocations: 60.42 kB / 1.737 GB, free: 67.81 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/3.341, allocations: 42.75 kB / 1.737 GB, free: 67.81 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.001453/3.343, allocations: 0.7494 MB / 1.738 GB, free: 67.7 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.004184/3.347, allocations: 0.9941 MB / 1.739 GB, free: 67.52 MB / 0.7138 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.002418/3.349, allocations: 0.8836 MB / 1.74 GB, free: 67.31 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.00277/3.352, allocations: 1.352 MB / 1.741 GB, free: 67.22 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/3.352, allocations: 0 / 1.741 GB, free: 67.22 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0007771/3.353, allocations: 392.8 kB / 1.742 GB, free: 67.21 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/3.356, allocations: 0.5626 MB / 1.742 GB, free: 67.21 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007455/3.363, allocations: 2.126 MB / 1.744 GB, free: 66.6 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001604/3.365, allocations: 1.397 MB / 1.746 GB, free: 65.88 MB / 0.7138 GB Notification: Performance of SimCode: time 1.082e-06/3.365, allocations: 0 / 1.746 GB, free: 65.88 MB / 0.7138 GB Notification: Performance of Templates: time 0.06878/3.434, allocations: 40.25 MB / 1.785 GB, free: 64.39 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)