Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.7926/0.7926, allocations: 127.4 MB / 134.6 MB, free: 4.094 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.001496/0.001496, allocations: 189.2 kB / 164.4 MB, free: 6.883 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.965/1.965, allocations: 205.1 MB / 399.1 MB, free: 6.09 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.001188/0.001187, allocations: 95.05 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.438e-05/1.465e-05, allocations: 4 kB / 0.546 GB, free: 42.76 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2047/0.2047, allocations: 76.74 MB / 0.6209 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.347/5.552, allocations: 2.143 GB / 2.764 GB, free: 24.55 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003632/5.552, allocations: 87.94 kB / 2.764 GB, free: 24.47 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.072/9.624, allocations: 1.002 GB / 3.766 GB, free: 37.26 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002305/9.625, allocations: 47.92 kB / 3.766 GB, free: 37.21 MB / 0.6823 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.008653/9.633, allocations: 1.738 MB / 3.768 GB, free: 35.42 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.589e-05/9.633, allocations: 8.031 kB / 3.768 GB, free: 35.41 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005326/9.639, allocations: 0.7669 MB / 3.768 GB, free: 34.64 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003844/9.643, allocations: 1.044 MB / 3.769 GB, free: 33.55 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.418e-05/9.643, allocations: 28 kB / 3.77 GB, free: 33.52 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004401/9.643, allocations: 52 kB / 3.77 GB, free: 33.47 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002347/9.645, allocations: 0.9879 MB / 3.771 GB, free: 32.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/9.648, allocations: 1.133 MB / 3.772 GB, free: 31.29 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/9.648, allocations: 7.906 kB / 3.772 GB, free: 31.28 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/9.648, allocations: 0 / 3.772 GB, free: 31.28 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.874e-05/9.648, allocations: 61.89 kB / 3.772 GB, free: 31.22 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008791/9.657, allocations: 5.136 MB / 3.777 GB, free: 25.84 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/9.658, allocations: 0.9227 MB / 3.778 GB, free: 24.91 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006293/9.659, allocations: 0.491 MB / 3.778 GB, free: 24.42 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001363/9.66, allocations: 0.9575 MB / 3.779 GB, free: 23.28 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008095/9.661, allocations: 0.5808 MB / 3.78 GB, free: 22.68 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=81): time 3.818e-06/9.661, allocations: 0 / 3.78 GB, free: 22.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=81): time 0.00296/9.664, allocations: 1.158 MB / 3.781 GB, free: 21.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/9.664, allocations: 64 kB / 3.781 GB, free: 21.44 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/9.665, allocations: 0.8475 MB / 3.782 GB, free: 20.58 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001161/9.665, allocations: 33.7 kB / 3.782 GB, free: 20.54 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/9.666, allocations: 407.8 kB / 3.782 GB, free: 20.13 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002208/9.666, allocations: 268.1 kB / 3.782 GB, free: 19.87 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.726e-05/9.666, allocations: 0 / 3.782 GB, free: 19.87 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.828e-05/9.666, allocations: 345.9 kB / 3.783 GB, free: 19.52 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005604/9.667, allocations: 421.8 kB / 3.783 GB, free: 19.11 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006967/9.667, allocations: 0.728 MB / 3.784 GB, free: 18.25 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006742/9.668, allocations: 476.2 kB / 3.784 GB, free: 17.78 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/9.668, allocations: 4 kB / 3.784 GB, free: 17.78 MB / 0.6823 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.001792/9.67, allocations: 1.184 MB / 3.785 GB, free: 16.58 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/9.67, allocations: 8 kB / 3.785 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/9.67, allocations: 4 kB / 3.785 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/9.67, allocations: 12.78 kB / 3.785 GB, free: 16.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001621/9.672, allocations: 323.5 kB / 3.786 GB, free: 16.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/9.672, allocations: 15.94 kB / 3.786 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/9.673, allocations: 210.9 kB / 3.786 GB, free: 16.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001404/9.673, allocations: 55.97 kB / 3.786 GB, free: 15.96 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (116): * Single equations (assignments): 116 * 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.0002334/9.674, allocations: 142.6 kB / 3.786 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/9.674, allocations: 118.5 kB / 3.786 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/9.676, allocations: 1.206 MB / 3.787 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/9.676, allocations: 12 kB / 3.787 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/9.676, allocations: 7.844 kB / 3.787 GB, free: 14.47 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/9.676, allocations: 11.97 kB / 3.787 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004415/9.681, allocations: 2.583 MB / 3.79 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/9.681, allocations: 12 kB / 3.79 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001519/9.682, allocations: 271.6 kB / 3.79 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.775e-05/9.682, allocations: 11.91 kB / 3.79 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.813e-05/9.682, allocations: 27.97 kB / 3.79 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.728e-06/9.682, allocations: 8 kB / 3.79 GB, free: 11.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/9.682, allocations: 7.938 kB / 3.79 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002926/9.685, allocations: 2.137 MB / 3.792 GB, free: 9.18 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004021/9.686, allocations: 211.5 kB / 3.793 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/9.686, allocations: 15.91 kB / 3.793 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/9.687, allocations: 143.8 kB / 3.793 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/9.687, allocations: 48.59 kB / 3.793 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001032/9.687, allocations: 47.86 kB / 3.793 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0008803/9.688, allocations: 0.6405 MB / 3.793 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001915/9.69, allocations: 471.3 kB / 3.794 GB, free: 7.594 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (87): * Single equations (assignments): 81 * 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.003182/9.693, allocations: 2.148 MB / 3.796 GB, free: 5.422 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001766/9.695, allocations: 1.035 MB / 3.797 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/9.695, allocations: 1.812 kB / 3.797 GB, free: 4.383 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007451/9.696, allocations: 0.53 MB / 3.797 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002099/9.698, allocations: 421 kB / 3.798 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004314/9.702, allocations: 2.052 MB / 3.8 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.49/10.19, allocations: 1.373 MB / 3.801 GB, free: 99.49 MB / 0.6823 GB Notification: Performance of SimCode: time 1.332e-06/10.19, allocations: 0 / 3.801 GB, free: 99.49 MB / 0.6823 GB Notification: Performance of Templates: time 0.04894/10.24, allocations: 31.28 MB / 3.832 GB, free: 98.91 MB / 0.6823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)