Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.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: translateModel(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") [: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.002064/0.002064, allocations: 184.1 kB / 7.797 MB, free: 2.281 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.454/0.454, allocations: 90.85 MB / 99.07 MB, free: 14.98 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.258/1.258, allocations: 221.4 MB / 342.8 MB, free: 5.266 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.001021/0.001021, allocations: 104.8 kB / 415.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.272e-06/6.312e-06, allocations: 0 / 493.9 MB, free: 8.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.353, allocations: 72.3 MB / 0.5529 GB, free: 73.39 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5501/0.9031, allocations: 373.3 MB / 0.9174 GB, free: 1.738 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/0.9034, allocations: 91.95 kB / 0.9175 GB, free: 1.695 MB / 0.573 GB Notification: Performance of FrontEnd: time 9.641/10.54, allocations: 2.802 GB / 3.72 GB, free: 29.5 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0006874/10.55, allocations: 176.5 kB / 3.72 GB, free: 29.47 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01287/10.56, allocations: 5.944 MB / 3.726 GB, free: 26.42 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/10.56, allocations: 11.8 kB / 3.726 GB, free: 26.42 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003228/10.56, allocations: 0.7794 MB / 3.727 GB, free: 26.05 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1572/10.72, allocations: 60.94 MB / 3.786 GB, free: 18.4 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003382/10.72, allocations: 134.4 kB / 3.786 GB, free: 18.4 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001931/10.72, allocations: 251.3 kB / 3.787 GB, free: 18.4 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009262/10.73, allocations: 2.538 MB / 3.789 GB, free: 17.36 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/10.74, allocations: 3.619 MB / 3.793 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002156/10.74, allocations: 19.88 kB / 3.793 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009967/10.74, allocations: 8 kB / 3.793 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001235/10.74, allocations: 115.4 kB / 3.793 GB, free: 14.19 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0351/10.78, allocations: 26.04 MB / 3.818 GB, free: 4.363 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002179/10.78, allocations: 1.082 MB / 3.819 GB, free: 3.281 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002001/10.78, allocations: 1.105 MB / 3.82 GB, free: 2.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003478/10.79, allocations: 3.931 MB / 3.824 GB, free: 13.38 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.019e-05/10.79, allocations: 68.47 kB / 3.824 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=225): time 4.889e-06/10.79, allocations: 0 / 3.824 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of matching and sorting (n=225): time 0.009802/10.8, allocations: 2.963 MB / 3.827 GB, free: 10.33 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/10.8, allocations: 73.41 kB / 3.827 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008765/10.8, allocations: 3.313 MB / 3.83 GB, free: 6.969 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0006725/10.81, allocations: 33.7 kB / 3.83 GB, free: 6.93 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.00182/10.81, allocations: 1.699 MB / 3.832 GB, free: 5.199 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001397/10.81, allocations: 0.7543 MB / 3.833 GB, free: 4.434 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/10.81, allocations: 0 / 3.833 GB, free: 4.434 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002048/10.81, allocations: 399.4 kB / 3.833 GB, free: 4.039 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/10.81, allocations: 0.7395 MB / 3.834 GB, free: 3.297 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001974/10.81, allocations: 1.711 MB / 3.836 GB, free: 1.145 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.4416/11.25, allocations: 1.413 MB / 3.837 GB, free: 104.4 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-05/11.25, allocations: 7.469 kB / 3.837 GB, free: 104.4 MB / 0.7917 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009087/11.26, allocations: 3.545 MB / 3.841 GB, free: 104.3 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.001759/11.26, allocations: 10.3 MB / 3.851 GB, free: 93.66 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.122e-05/11.26, allocations: 23.47 kB / 3.851 GB, free: 93.66 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007949/11.27, allocations: 379.8 kB / 3.851 GB, free: 93.62 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001882/11.27, allocations: 0.5126 MB / 3.851 GB, free: 93.62 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/11.27, allocations: 2.849 MB / 3.854 GB, free: 91.56 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005486/11.27, allocations: 499.5 kB / 3.855 GB, free: 91.56 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003512/11.27, allocations: 136.7 kB / 3.855 GB, free: 91.56 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/11.27, allocations: 7.406 kB / 3.855 GB, free: 91.56 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006415/11.28, allocations: 2.828 MB / 3.858 GB, free: 91.49 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.326e-05/11.28, allocations: 21.62 kB / 3.858 GB, free: 91.49 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009525/11.28, allocations: 390.8 kB / 3.858 GB, free: 91.46 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/11.28, allocations: 0.512 MB / 3.859 GB, free: 91.46 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007274/11.29, allocations: 7.324 MB / 3.866 GB, free: 86.46 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005178/11.3, allocations: 454.6 kB / 3.866 GB, free: 86.41 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003965/11.3, allocations: 128.6 kB / 3.866 GB, free: 86.41 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (291): * Single equations (assignments): 287 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 14,1 11,1 14,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0006611/11.3, allocations: 178.4 kB / 3.866 GB, free: 86.31 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/11.3, allocations: 0.5054 MB / 3.867 GB, free: 86.04 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008505/11.31, allocations: 4.139 MB / 3.871 GB, free: 85.79 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-05/11.31, allocations: 36.72 kB / 3.871 GB, free: 85.79 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/11.31, allocations: 3.594 kB / 3.871 GB, free: 85.79 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005103/11.31, allocations: 2.741 MB / 3.874 GB, free: 85.59 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01608/11.33, allocations: 8.157 MB / 3.882 GB, free: 84.17 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/11.33, allocations: 3.344 kB / 3.882 GB, free: 84.17 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/11.33, allocations: 387 kB / 3.882 GB, free: 84.17 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004462/11.33, allocations: 233.8 kB / 3.882 GB, free: 84.14 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/11.33, allocations: 33.06 kB / 3.882 GB, free: 84.14 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/11.33, allocations: 2.527 MB / 3.885 GB, free: 82.06 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/11.33, allocations: 2.906 kB / 3.885 GB, free: 82.06 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00884/11.34, allocations: 4.841 MB / 3.889 GB, free: 81.32 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003834/11.34, allocations: 0.9743 MB / 3.89 GB, free: 80.95 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001316/11.35, allocations: 5.875 kB / 3.89 GB, free: 80.95 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004031/11.35, allocations: 401.9 kB / 3.891 GB, free: 80.93 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/11.35, allocations: 141 kB / 3.891 GB, free: 80.93 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002572/11.35, allocations: 111.1 kB / 3.891 GB, free: 80.93 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.003923/11.35, allocations: 2.452 MB / 3.893 GB, free: 80.75 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.01264/11.37, allocations: 3.421 MB / 3.897 GB, free: 80.56 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.005531/11.37, allocations: 3.426 MB / 3.9 GB, free: 79.37 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.00644/11.38, allocations: 4.249 MB / 3.904 GB, free: 78.87 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/11.38, allocations: 2.469 kB / 3.904 GB, free: 78.87 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001807/11.38, allocations: 1.263 MB / 3.905 GB, free: 78.86 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0148/11.4, allocations: 2.499 MB / 3.908 GB, free: 78.84 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/11.42, allocations: 7.328 MB / 3.915 GB, free: 77.01 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004806/11.42, allocations: 3.467 MB / 3.918 GB, free: 76.2 MB / 0.7917 GB Notification: Performance of SimCode: time 1.523e-06/11.42, allocations: 0.8438 kB / 3.918 GB, free: 76.2 MB / 0.7917 GB Notification: Performance of Templates: time 0.1895/11.61, allocations: 122.4 MB / 4.038 GB, free: 67.58 MB / 0.7917 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)