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: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u",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.001417/0.001418, allocations: 189 kB / 7.803 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.4551/0.4551, allocations: 90.85 MB / 99.08 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.301/1.301, allocations: 221.4 MB / 342.7 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.001011/0.001011, allocations: 90.05 kB / 415.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1739/0.1749, allocations: 78.45 MB / 494 MB, free: 7.973 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.5424, allocations: 72.3 MB / 0.553 GB, free: 73.35 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6036/1.146, allocations: 373.3 MB / 0.9175 GB, free: 1.523 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002925/1.146, allocations: 91.86 kB / 0.9176 GB, free: 1.48 MB / 0.573 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 10.06/11.21, allocations: 2.808 GB / 3.726 GB, free: 16.98 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/11.21, allocations: 8.688 kB / 3.726 GB, free: 16.98 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005701/11.22, allocations: 0.7855 MB / 3.727 GB, free: 16.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7671/11.98, allocations: 60.92 MB / 3.786 GB, free: 82.6 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003559/11.98, allocations: 129.5 kB / 3.786 GB, free: 82.6 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001893/11.99, allocations: 250.5 kB / 3.787 GB, free: 82.6 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009038/11.99, allocations: 2.543 MB / 3.789 GB, free: 82.58 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01291/12.01, allocations: 3.621 MB / 3.793 GB, free: 81.82 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003296/12.01, allocations: 16.31 kB / 3.793 GB, free: 81.82 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001341/12.01, allocations: 7.812 kB / 3.793 GB, free: 81.82 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001551/12.01, allocations: 124 kB / 3.793 GB, free: 81.82 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03626/12.05, allocations: 26.04 MB / 3.818 GB, free: 66.03 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/12.05, allocations: 1.095 MB / 3.819 GB, free: 66.01 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/12.05, allocations: 1.096 MB / 3.82 GB, free: 65.99 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002571/12.05, allocations: 3.934 MB / 3.824 GB, free: 61.59 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.606e-05/12.05, allocations: 68.72 kB / 3.824 GB, free: 61.55 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=225): time 5.11e-06/12.05, allocations: 0 / 3.824 GB, free: 61.55 MB / 0.7605 GB Notification: Performance of matching and sorting (n=225): time 0.009106/12.06, allocations: 2.963 MB / 3.827 GB, free: 61.16 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/12.06, allocations: 76.59 kB / 3.827 GB, free: 61.1 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006801/12.07, allocations: 3.306 MB / 3.831 GB, free: 60.81 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0006914/12.07, allocations: 32.61 kB / 3.831 GB, free: 60.78 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001559/12.07, allocations: 1.706 MB / 3.832 GB, free: 60.13 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.001401/12.07, allocations: 0.7558 MB / 3.833 GB, free: 59.62 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/12.07, allocations: 0 / 3.833 GB, free: 59.62 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001399/12.07, allocations: 409.8 kB / 3.833 GB, free: 59.32 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/12.07, allocations: 0.7356 MB / 3.834 GB, free: 59.31 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/12.07, allocations: 1.705 MB / 3.836 GB, free: 58.16 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003922/12.08, allocations: 1.414 MB / 3.837 GB, free: 58.14 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.211e-05/12.08, allocations: 7.312 kB / 3.837 GB, free: 58.14 MB / 0.7605 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009615/12.09, allocations: 3.544 MB / 3.841 GB, free: 57.75 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.002366/12.09, allocations: 10.3 MB / 3.851 GB, free: 47 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.217e-05/12.09, allocations: 21.16 kB / 3.851 GB, free: 47 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009174/12.09, allocations: 382 kB / 3.851 GB, free: 46.96 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002148/12.09, allocations: 0.5161 MB / 3.852 GB, free: 46.96 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002555/12.1, allocations: 2.844 MB / 3.854 GB, free: 44.87 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006786/12.1, allocations: 498.4 kB / 3.855 GB, free: 44.73 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004984/12.1, allocations: 133.8 kB / 3.855 GB, free: 44.73 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/12.1, allocations: 4.469 kB / 3.855 GB, free: 44.73 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008072/12.11, allocations: 2.825 MB / 3.858 GB, free: 44.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.055e-05/12.11, allocations: 22.12 kB / 3.858 GB, free: 44.64 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/12.11, allocations: 396.1 kB / 3.858 GB, free: 44.6 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/12.12, allocations: 0.5135 MB / 3.859 GB, free: 44.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007566/12.12, allocations: 7.32 MB / 3.866 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006065/12.13, allocations: 462.6 kB / 3.866 GB, free: 39.34 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000725/12.13, allocations: 127.1 kB / 3.866 GB, free: 39.34 MB / 0.7605 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.0008398/12.13, allocations: 178.7 kB / 3.866 GB, free: 39.22 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001829/12.13, allocations: 0.5033 MB / 3.867 GB, free: 38.96 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009307/12.14, allocations: 4.143 MB / 3.871 GB, free: 38.7 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.645e-05/12.14, allocations: 32.02 kB / 3.871 GB, free: 38.7 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/12.14, allocations: 1.641 kB / 3.871 GB, free: 38.7 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005585/12.15, allocations: 2.734 MB / 3.874 GB, free: 38.5 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01859/12.17, allocations: 8.165 MB / 3.882 GB, free: 37.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.111e-05/12.17, allocations: 0 / 3.882 GB, free: 37.02 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001593/12.17, allocations: 387.3 kB / 3.882 GB, free: 37.02 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004592/12.17, allocations: 224.3 kB / 3.882 GB, free: 36.99 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001395/12.17, allocations: 42.95 kB / 3.882 GB, free: 36.99 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/12.17, allocations: 2.527 MB / 3.885 GB, free: 34.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/12.17, allocations: 5.531 kB / 3.885 GB, free: 34.91 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009823/12.18, allocations: 4.841 MB / 3.89 GB, free: 34.16 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01423/12.19, allocations: 6.944 MB / 3.896 GB, free: 33.02 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005743/12.2, allocations: 0.9725 MB / 3.897 GB, free: 32.63 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002484/12.2, allocations: 7.031 kB / 3.897 GB, free: 32.63 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005782/12.21, allocations: 400.6 kB / 3.898 GB, free: 32.59 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003115/12.21, allocations: 143.2 kB / 3.898 GB, free: 32.59 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004076/12.21, allocations: 113.9 kB / 3.898 GB, free: 32.59 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.005223/12.21, allocations: 2.452 MB / 3.9 GB, free: 32.41 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.02065/12.23, allocations: 4.778 MB / 3.905 GB, free: 31.99 MB / 0.7605 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.007037/12.24, allocations: 3.431 MB / 3.908 GB, free: 30.74 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.007937/12.25, allocations: 4.25 MB / 3.912 GB, free: 30.24 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/12.25, allocations: 3.75 kB / 3.912 GB, free: 30.24 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002043/12.25, allocations: 1.248 MB / 3.914 GB, free: 30.23 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01507/12.27, allocations: 2.506 MB / 3.916 GB, free: 30.21 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01911/12.29, allocations: 7.345 MB / 3.923 GB, free: 28.36 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003957/12.29, allocations: 3.48 MB / 3.927 GB, free: 27.55 MB / 0.7605 GB Notification: Performance of SimCode: time 1.423e-06/12.29, allocations: 0.8438 kB / 3.927 GB, free: 27.55 MB / 0.7605 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)