Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") [: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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.576/1.576, allocations: 285.5 MB / 292.8 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00166/0.00166, allocations: 185.2 kB / 361.1 MB, free: 7.117 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.1 MB / 0.6195 GB, free: 10.36 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 89.81 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.067e-06/9.167e-06, allocations: 4 kB / 0.8511 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6858/0.6858, allocations: 115.3 MB / 0.9637 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.265/4.951, allocations: 2.067 GB / 3.031 GB, free: 19.27 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/4.952, allocations: 84.03 kB / 3.031 GB, free: 19.23 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.213/7.165, allocations: 0.6799 GB / 3.711 GB, free: 78.27 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001037/7.165, allocations: 47.92 kB / 3.711 GB, free: 78.23 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005666/7.171, allocations: 1.778 MB / 3.713 GB, free: 76.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/7.171, allocations: 16.02 kB / 3.713 GB, free: 76.38 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005447/7.176, allocations: 0.9774 MB / 3.713 GB, free: 75.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003213/7.179, allocations: 1.141 MB / 3.715 GB, free: 74.21 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.85e-05/7.179, allocations: 28 kB / 3.715 GB, free: 74.18 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/7.18, allocations: 56 kB / 3.715 GB, free: 74.12 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001771/7.181, allocations: 1.105 MB / 3.716 GB, free: 73.02 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001595/7.183, allocations: 1.154 MB / 3.717 GB, free: 71.84 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/7.183, allocations: 4 kB / 3.717 GB, free: 71.83 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/7.183, allocations: 11.89 kB / 3.717 GB, free: 71.82 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.766e-05/7.183, allocations: 49.98 kB / 3.717 GB, free: 71.77 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007515/7.191, allocations: 4.875 MB / 3.722 GB, free: 66.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/7.192, allocations: 1.038 MB / 3.723 GB, free: 65.65 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006923/7.193, allocations: 0.589 MB / 3.723 GB, free: 65.05 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00113/7.194, allocations: 0.9489 MB / 3.724 GB, free: 63.92 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008785/7.195, allocations: 0.6837 MB / 3.725 GB, free: 63.22 MB / 0.948 GB Notification: Performance of pre-optimization done (n=95): time 3.967e-06/7.195, allocations: 3.938 kB / 3.725 GB, free: 63.22 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.002903/7.198, allocations: 1.333 MB / 3.726 GB, free: 61.88 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/7.198, allocations: 60.19 kB / 3.726 GB, free: 61.81 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009871/7.199, allocations: 0.8223 MB / 3.727 GB, free: 60.97 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/7.199, allocations: 37.64 kB / 3.727 GB, free: 60.93 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/7.199, allocations: 380.7 kB / 3.727 GB, free: 60.55 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000235/7.199, allocations: 315.4 kB / 3.728 GB, free: 60.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.459e-05/7.199, allocations: 0 / 3.728 GB, free: 60.23 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.599e-05/7.2, allocations: 345.8 kB / 3.728 GB, free: 59.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000649/7.2, allocations: 497.8 kB / 3.729 GB, free: 59.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007736/7.201, allocations: 0.7408 MB / 3.729 GB, free: 58.57 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000738/7.202, allocations: 0.5264 MB / 3.73 GB, free: 58.04 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/7.202, allocations: 0 / 3.73 GB, free: 58.04 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002017/7.204, allocations: 1.306 MB / 3.731 GB, free: 56.73 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/7.204, allocations: 4 kB / 3.731 GB, free: 56.72 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/7.204, allocations: 4.562 kB / 3.731 GB, free: 56.72 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/7.204, allocations: 8 kB / 3.731 GB, free: 56.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/7.206, allocations: 379.5 kB / 3.731 GB, free: 56.34 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/7.206, allocations: 8 kB / 3.731 GB, free: 56.33 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/7.208, allocations: 243 kB / 3.732 GB, free: 56.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/7.208, allocations: 51.97 kB / 3.732 GB, free: 56.04 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.000256/7.208, allocations: 142.6 kB / 3.732 GB, free: 55.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/7.208, allocations: 118.5 kB / 3.732 GB, free: 55.78 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002416/7.211, allocations: 1.39 MB / 3.733 GB, free: 54.38 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/7.211, allocations: 8 kB / 3.733 GB, free: 54.38 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/7.211, allocations: 4 kB / 3.733 GB, free: 54.37 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/7.211, allocations: 7.969 kB / 3.733 GB, free: 54.36 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004281/7.215, allocations: 2.929 MB / 3.736 GB, free: 51.34 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/7.215, allocations: 4 kB / 3.736 GB, free: 51.34 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0018/7.217, allocations: 332 kB / 3.737 GB, free: 51.02 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/7.217, allocations: 8 kB / 3.737 GB, free: 51.01 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/7.217, allocations: 23.97 kB / 3.737 GB, free: 50.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.347e-06/7.217, allocations: 15.89 kB / 3.737 GB, free: 50.97 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/7.217, allocations: 11.94 kB / 3.737 GB, free: 50.96 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002791/7.22, allocations: 2.436 MB / 3.739 GB, free: 48.37 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005724/7.22, allocations: 351.2 kB / 3.739 GB, free: 48 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002378/7.221, allocations: 11.98 kB / 3.739 GB, free: 47.99 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/7.222, allocations: 183.8 kB / 3.739 GB, free: 47.81 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/7.222, allocations: 64.55 kB / 3.74 GB, free: 47.75 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/7.222, allocations: 47.95 kB / 3.74 GB, free: 47.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0006793/7.223, allocations: 0.6318 MB / 3.74 GB, free: 47.06 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001502/7.225, allocations: 479.3 kB / 3.741 GB, free: 46.59 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (101): * Single equations (assignments): 95 * 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.002445/7.227, allocations: 2.138 MB / 3.743 GB, free: 44.45 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001693/7.229, allocations: 1.187 MB / 3.744 GB, free: 43.26 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/7.229, allocations: 8.062 kB / 3.744 GB, free: 43.25 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008153/7.23, allocations: 0.6391 MB / 3.745 GB, free: 42.61 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/7.232, allocations: 435.1 kB / 3.745 GB, free: 42.19 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01716/7.249, allocations: 3.14 MB / 3.748 GB, free: 38.95 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001269/7.25, allocations: 1.397 MB / 3.749 GB, free: 37.53 MB / 0.948 GB Notification: Performance of SimCode: time 1.122e-06/7.25, allocations: 0 / 3.749 GB, free: 37.53 MB / 0.948 GB Notification: Performance of Templates: time 0.04229/7.292, allocations: 33.13 MB / 3.782 GB, free: 4.547 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)