Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") [: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.852/0.852, allocations: 141.8 MB / 149.1 MB, free: 1.371 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 177.3 kB / 182 MB, free: 0.7539 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.502/1.502, allocations: 221.4 MB / 436 MB, free: 5.477 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.00115/0.00115, allocations: 84.62 kB / 0.507 GB, free: 2.148 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001853/0.001854, allocations: 269.6 kB / 0.5884 GB, free: 47.25 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 1.002e-05/1.003e-05, allocations: 2.438 kB / 0.6759 GB, free: 59.52 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.204, allocations: 82.79 MB / 0.7567 GB, free: 0.6992 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.157/4.361, allocations: 1.834 GB / 2.59 GB, free: 134.7 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002487/4.361, allocations: 87.95 kB / 2.59 GB, free: 134.7 MB / 0.6982 GB Notification: Performance of FrontEnd: time 3.934/8.295, allocations: 1.019 GB / 3.61 GB, free: 119.8 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0002674/8.296, allocations: 47.28 kB / 3.61 GB, free: 119.8 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.008678/8.304, allocations: 1.88 MB / 3.612 GB, free: 119.1 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/8.304, allocations: 7.188 kB / 3.612 GB, free: 119.1 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004747/8.309, allocations: 0.7751 MB / 3.612 GB, free: 119 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004306/8.314, allocations: 1.089 MB / 3.613 GB, free: 118.7 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.621e-05/8.314, allocations: 30.25 kB / 3.613 GB, free: 118.7 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003703/8.314, allocations: 50.84 kB / 3.614 GB, free: 118.7 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001996/8.316, allocations: 0.8825 MB / 3.614 GB, free: 118.7 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/8.318, allocations: 1.155 MB / 3.615 GB, free: 118.5 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/8.318, allocations: 3 kB / 3.615 GB, free: 118.5 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/8.318, allocations: 9.25 kB / 3.616 GB, free: 118.5 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.678e-05/8.318, allocations: 40.03 kB / 3.616 GB, free: 118.5 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008829/8.327, allocations: 5.153 MB / 3.621 GB, free: 116.1 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/8.329, allocations: 0.8797 MB / 3.621 GB, free: 116.1 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006572/8.329, allocations: 496 kB / 3.622 GB, free: 116.1 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001199/8.331, allocations: 0.9544 MB / 3.623 GB, free: 115.1 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008503/8.332, allocations: 0.5869 MB / 3.623 GB, free: 115.1 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=82): time 3.045e-06/8.332, allocations: 0 / 3.623 GB, free: 115.1 MB / 0.7138 GB Notification: Performance of matching and sorting (n=82): time 0.003038/8.335, allocations: 1.16 MB / 3.625 GB, free: 115 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/8.335, allocations: 62.59 kB / 3.625 GB, free: 114.9 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001467/8.336, allocations: 0.8501 MB / 3.625 GB, free: 114.8 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001396/8.336, allocations: 35.05 kB / 3.625 GB, free: 114.7 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/8.337, allocations: 411.5 kB / 3.626 GB, free: 114.6 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002718/8.337, allocations: 273.5 kB / 3.626 GB, free: 114.4 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.064e-05/8.337, allocations: 0 / 3.626 GB, free: 114.4 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 9.196e-05/8.337, allocations: 344.7 kB / 3.626 GB, free: 114.1 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006322/8.338, allocations: 430.5 kB / 3.627 GB, free: 114.1 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008613/8.339, allocations: 0.7279 MB / 3.628 GB, free: 113.7 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000796/8.339, allocations: 486.4 kB / 3.628 GB, free: 113.7 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/8.339, allocations: 0 / 3.628 GB, free: 113.7 MB / 0.7138 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002173/8.342, allocations: 1.195 MB / 3.629 GB, free: 113.6 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/8.342, allocations: 7.156 kB / 3.629 GB, free: 113.6 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/8.342, allocations: 7 kB / 3.629 GB, free: 113.6 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/8.342, allocations: 14.38 kB / 3.629 GB, free: 113.6 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001699/8.343, allocations: 327.1 kB / 3.63 GB, free: 113.6 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.684e-05/8.343, allocations: 17.12 kB / 3.63 GB, free: 113.6 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/8.345, allocations: 204.7 kB / 3.63 GB, free: 113.5 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001905/8.346, allocations: 57.22 kB / 3.63 GB, free: 113.5 MB / 0.7138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002963/8.346, allocations: 133 kB / 3.63 GB, free: 113.4 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003478/8.346, allocations: 122.5 kB / 3.63 GB, free: 113.4 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/8.349, allocations: 1.213 MB / 3.631 GB, free: 113.3 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/8.349, allocations: 7.75 kB / 3.631 GB, free: 113.3 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/8.349, allocations: 7.844 kB / 3.631 GB, free: 113.3 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/8.349, allocations: 7.312 kB / 3.631 GB, free: 113.3 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004857/8.354, allocations: 2.63 MB / 3.634 GB, free: 112.8 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.413e-06/8.354, allocations: 6.438 kB / 3.634 GB, free: 112.8 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001486/8.355, allocations: 262.4 kB / 3.634 GB, free: 112.8 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.791e-05/8.355, allocations: 10.09 kB / 3.634 GB, free: 112.8 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/8.355, allocations: 31.23 kB / 3.634 GB, free: 112.8 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/8.355, allocations: 6.906 kB / 3.634 GB, free: 112.8 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/8.355, allocations: 10.91 kB / 3.634 GB, free: 112.8 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002837/8.358, allocations: 2.162 MB / 3.636 GB, free: 112.2 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007015/8.359, allocations: 329.7 kB / 3.637 GB, free: 112.1 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003348/8.359, allocations: 14.03 kB / 3.637 GB, free: 112.1 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001455/8.361, allocations: 138 kB / 3.637 GB, free: 112.1 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/8.361, allocations: 59.08 kB / 3.637 GB, free: 112.1 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/8.361, allocations: 41.78 kB / 3.637 GB, free: 112.1 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.0009723/8.362, allocations: 0.647 MB / 3.637 GB, free: 111.9 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.002032/8.364, allocations: 464.9 kB / 3.638 GB, free: 111.9 MB / 0.7138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003692/8.368, allocations: 2.138 MB / 3.64 GB, free: 111.3 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.001945/8.37, allocations: 1.043 MB / 3.641 GB, free: 111.3 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/8.37, allocations: 0 / 3.641 GB, free: 111.3 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0008984/8.371, allocations: 0.5382 MB / 3.642 GB, free: 111.3 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/8.373, allocations: 412.3 kB / 3.642 GB, free: 111.3 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005781/8.379, allocations: 2.077 MB / 3.644 GB, free: 110.7 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002152/8.381, allocations: 1.367 MB / 3.645 GB, free: 110 MB / 0.7138 GB Notification: Performance of SimCode: time 1.733e-06/8.381, allocations: 0 / 3.645 GB, free: 110 MB / 0.7138 GB Notification: Performance of Templates: time 0.06368/8.445, allocations: 31.15 MB / 3.676 GB, free: 96.91 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)