Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.7615/0.7615, allocations: 127.4 MB / 134.6 MB, free: 4.062 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001888/0.001888, allocations: 189.2 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.914/1.914, allocations: 205.1 MB / 399.1 MB, free: 6.129 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 86.56 kB / 476.3 MB, free: 8.887 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.558e-06/9.568e-06, allocations: 4 kB / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1972, allocations: 76.74 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.209/1.407, allocations: 370.7 MB / 0.9829 GB, free: 111.9 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/1.407, allocations: 93.77 kB / 0.983 GB, free: 111.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 11.36/12.76, allocations: 2.635 GB / 3.618 GB, free: 31.36 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.001343/12.76, allocations: 175.4 kB / 3.618 GB, free: 31.33 MB / 0.7761 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.02388/12.79, allocations: 5.925 MB / 3.624 GB, free: 28.45 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/12.79, allocations: 7.562 kB / 3.624 GB, free: 28.45 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005603/12.79, allocations: 0.7742 MB / 3.625 GB, free: 28.07 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1693/12.96, allocations: 58.89 MB / 3.682 GB, free: 24.88 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004973/12.96, allocations: 128.2 kB / 3.682 GB, free: 24.88 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002414/12.97, allocations: 259.6 kB / 3.682 GB, free: 24.88 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00989/12.98, allocations: 2.504 MB / 3.685 GB, free: 24.86 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01351/12.99, allocations: 3.549 MB / 3.688 GB, free: 24.1 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002861/12.99, allocations: 17.78 kB / 3.688 GB, free: 24.09 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001119/12.99, allocations: 7.938 kB / 3.688 GB, free: 24.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000183/12.99, allocations: 126.3 kB / 3.689 GB, free: 24.09 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04358/13.04, allocations: 26.36 MB / 3.714 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/13.04, allocations: 1.077 MB / 3.715 GB, free: 7.051 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001865/13.04, allocations: 1.053 MB / 3.716 GB, free: 7.031 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003045/13.04, allocations: 3.609 MB / 3.72 GB, free: 19 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.919e-05/13.04, allocations: 61.8 kB / 3.72 GB, free: 18.96 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=220): time 5.019e-06/13.04, allocations: 0 / 3.72 GB, free: 18.96 MB / 0.7917 GB Notification: Performance of matching and sorting (n=220): time 0.02457/13.07, allocations: 4.133 MB / 3.724 GB, free: 18.57 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.339e-05/13.07, allocations: 73.09 kB / 3.724 GB, free: 18.5 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00974/13.08, allocations: 3.211 MB / 3.727 GB, free: 18.19 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0007388/13.08, allocations: 29.48 kB / 3.727 GB, free: 18.16 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001791/13.08, allocations: 1.731 MB / 3.729 GB, free: 17.26 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001727/13.08, allocations: 0.7417 MB / 3.73 GB, free: 16.76 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003636/13.08, allocations: 1.625 kB / 3.73 GB, free: 16.76 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003284/13.08, allocations: 409.8 kB / 3.73 GB, free: 16.46 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001824/13.08, allocations: 0.767 MB / 3.731 GB, free: 16.45 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002807/13.09, allocations: 1.776 MB / 3.733 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005179/13.09, allocations: 1.451 MB / 3.734 GB, free: 15.15 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.378e-05/13.09, allocations: 6.781 kB / 3.734 GB, free: 15.15 MB / 0.7917 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.0233/13.12, allocations: 4.446 MB / 3.738 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.005576/13.12, allocations: 11.4 MB / 3.749 GB, free: 2.781 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001122/13.12, allocations: 24.12 kB / 3.749 GB, free: 2.781 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/13.12, allocations: 0.5274 MB / 3.75 GB, free: 2.746 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002544/13.12, allocations: 0.5102 MB / 3.75 GB, free: 2.711 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003566/13.13, allocations: 2.998 MB / 3.753 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008215/13.14, allocations: 0.5569 MB / 3.754 GB, free: 472 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001099/13.14, allocations: 141.5 kB / 3.754 GB, free: 472 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/13.14, allocations: 4.25 kB / 3.754 GB, free: 472 kB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009643/13.15, allocations: 2.776 MB / 3.757 GB, free: 240 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.576e-05/13.15, allocations: 21.41 kB / 3.757 GB, free: 240 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009836/13.15, allocations: 373 kB / 3.757 GB, free: 196 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002201/13.15, allocations: 0.5167 MB / 3.758 GB, free: 156 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009828/13.16, allocations: 7.19 MB / 3.765 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006537/13.17, allocations: 444.4 kB / 3.765 GB, free: 10.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008067/13.17, allocations: 131.4 kB / 3.765 GB, free: 10.8 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (290): * Single equations (assignments): 286 * 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.001005/13.17, allocations: 188.1 kB / 3.765 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002096/13.17, allocations: 0.4952 MB / 3.766 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01808/13.19, allocations: 4.839 MB / 3.771 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001378/13.19, allocations: 35.78 kB / 3.771 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/13.19, allocations: 6.641 kB / 3.771 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01521/13.2, allocations: 3.468 MB / 3.774 GB, free: 9.68 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03697/13.24, allocations: 8.925 MB / 3.783 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.297e-05/13.24, allocations: 0 / 3.783 GB, free: 8.168 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002099/13.24, allocations: 367.6 kB / 3.783 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009417/13.25, allocations: 396 kB / 3.783 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004315/13.25, allocations: 43.38 kB / 3.784 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02052/13.27, allocations: 8.043 MB / 3.791 GB, free: 2.891 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/13.27, allocations: 2.031 kB / 3.791 GB, free: 2.891 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02382/13.29, allocations: 5.475 MB / 3.797 GB, free: 2.262 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006012/13.3, allocations: 0.921 MB / 3.798 GB, free: 1.871 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002813/13.3, allocations: 12.47 kB / 3.798 GB, free: 1.867 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007444/13.31, allocations: 432.3 kB / 3.798 GB, free: 1.797 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006658/13.31, allocations: 137.7 kB / 3.798 GB, free: 1.797 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004415/13.31, allocations: 96.55 kB / 3.798 GB, free: 1.797 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.008998/13.32, allocations: 2.368 MB / 3.801 GB, free: 1.617 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.024/13.34, allocations: 3.466 MB / 3.804 GB, free: 1.07 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (220): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 32 * 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.0121/13.35, allocations: 3.522 MB / 3.807 GB, free: 15.27 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01457/13.37, allocations: 4.291 MB / 3.812 GB, free: 13.79 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/13.37, allocations: 4.25 kB / 3.812 GB, free: 13.78 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003679/13.37, allocations: 1.678 MB / 3.813 GB, free: 12.33 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01882/13.39, allocations: 2.53 MB / 3.816 GB, free: 10.47 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02387/13.41, allocations: 7.399 MB / 3.823 GB, free: 3.762 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005365/13.42, allocations: 3.436 MB / 3.826 GB, free: 1.191 MB / 0.823 GB Notification: Performance of SimCode: time 1.713e-06/13.42, allocations: 0 / 3.826 GB, free: 1.191 MB / 0.823 GB Notification: Performance of Templates: time 0.959/14.38, allocations: 131.9 MB / 3.955 GB, free: 100.8 MB / 0.823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)