Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.369/2.369, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001716/0.001715, allocations: 181.3 kB / 360.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.966/1.966, allocations: 205.1 MB / 0.6188 GB, free: 12.5 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001261/0.00126, allocations: 94.92 kB / 0.7318 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.118e-05/1.134e-05, allocations: 0 / 0.8502 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6495/0.6495, allocations: 115.2 MB / 0.9628 GB, free: 78.43 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.041/5.691, allocations: 2.067 GB / 3.03 GB, free: 272.8 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/5.691, allocations: 86.25 kB / 3.03 GB, free: 272.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.713/8.404, allocations: 0.6799 GB / 3.71 GB, free: 20.04 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001866/8.404, allocations: 43.98 kB / 3.71 GB, free: 20 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.01076/8.415, allocations: 1.777 MB / 3.711 GB, free: 18.17 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/8.415, allocations: 8.031 kB / 3.711 GB, free: 18.16 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/8.425, allocations: 0.9854 MB / 3.712 GB, free: 17.18 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006028/8.431, allocations: 1.133 MB / 3.714 GB, free: 15.98 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.303e-05/8.431, allocations: 28 kB / 3.714 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004025/8.432, allocations: 63.98 kB / 3.714 GB, free: 15.89 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003574/8.435, allocations: 1.105 MB / 3.715 GB, free: 14.79 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003259/8.439, allocations: 1.158 MB / 3.716 GB, free: 13.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.551e-05/8.439, allocations: 7.938 kB / 3.716 GB, free: 13.59 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001722/8.439, allocations: 0 / 3.716 GB, free: 13.59 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-05/8.439, allocations: 49.98 kB / 3.716 GB, free: 13.54 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01498/8.454, allocations: 4.867 MB / 3.721 GB, free: 8.473 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002916/8.457, allocations: 1.042 MB / 3.722 GB, free: 7.418 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001581/8.459, allocations: 0.589 MB / 3.722 GB, free: 6.824 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00185/8.461, allocations: 0.9567 MB / 3.723 GB, free: 5.684 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002014/8.463, allocations: 0.6798 MB / 3.724 GB, free: 4.988 MB / 0.948 GB Notification: Performance of pre-optimization done (n=95): time 5.12e-06/8.463, allocations: 0 / 3.724 GB, free: 4.988 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.005518/8.468, allocations: 1.325 MB / 3.725 GB, free: 3.656 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.426e-05/8.468, allocations: 64.19 kB / 3.725 GB, free: 3.582 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/8.47, allocations: 0.8263 MB / 3.726 GB, free: 2.738 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003092/8.47, allocations: 37.69 kB / 3.726 GB, free: 2.695 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003385/8.471, allocations: 384.4 kB / 3.726 GB, free: 2.312 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004062/8.471, allocations: 307.4 kB / 3.727 GB, free: 2.008 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/8.471, allocations: 0 / 3.727 GB, free: 2.008 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.282e-05/8.471, allocations: 341.9 kB / 3.727 GB, free: 1.668 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/8.473, allocations: 497.7 kB / 3.727 GB, free: 1.18 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/8.474, allocations: 0.7384 MB / 3.728 GB, free: 352 kB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3727/8.847, allocations: 0.5295 MB / 3.729 GB, free: 275.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-05/8.847, allocations: 3.656 kB / 3.729 GB, free: 275.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004072/8.851, allocations: 1.302 MB / 3.73 GB, free: 275.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/8.851, allocations: 8.75 kB / 3.73 GB, free: 275.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/8.851, allocations: 3.25 kB / 3.73 GB, free: 275.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.511e-05/8.851, allocations: 14.59 kB / 3.73 GB, free: 275.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004042/8.855, allocations: 371.3 kB / 3.73 GB, free: 275.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/8.855, allocations: 13.59 kB / 3.73 GB, free: 275.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003604/8.859, allocations: 241.7 kB / 3.731 GB, free: 275.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002342/8.859, allocations: 56.31 kB / 3.731 GB, free: 275.5 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.000375/8.86, allocations: 135.3 kB / 3.731 GB, free: 275.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003326/8.86, allocations: 121.9 kB / 3.731 GB, free: 275.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004537/8.865, allocations: 1.394 MB / 3.732 GB, free: 275.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/8.865, allocations: 10.34 kB / 3.732 GB, free: 275.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/8.865, allocations: 2.969 kB / 3.732 GB, free: 275.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/8.865, allocations: 7.406 kB / 3.732 GB, free: 275.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008435/8.873, allocations: 2.919 MB / 3.735 GB, free: 274.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/8.873, allocations: 3.812 kB / 3.735 GB, free: 274.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003907/8.877, allocations: 332.1 kB / 3.735 GB, free: 274.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.073e-05/8.877, allocations: 7.594 kB / 3.735 GB, free: 274.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002226/8.877, allocations: 29.75 kB / 3.736 GB, free: 274.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.354e-05/8.877, allocations: 14.06 kB / 3.736 GB, free: 274.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/8.878, allocations: 3.75 kB / 3.736 GB, free: 274.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005698/8.883, allocations: 2.44 MB / 3.738 GB, free: 274.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/8.884, allocations: 359.6 kB / 3.738 GB, free: 274.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004397/8.885, allocations: 7.094 kB / 3.738 GB, free: 274.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003314/8.888, allocations: 181.9 kB / 3.738 GB, free: 274.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002228/8.889, allocations: 69.61 kB / 3.739 GB, free: 274.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002108/8.889, allocations: 45.22 kB / 3.739 GB, free: 274.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001264/8.89, allocations: 0.633 MB / 3.739 GB, free: 274 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002325/8.892, allocations: 484.1 kB / 3.74 GB, free: 274 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.00375/8.896, allocations: 2.121 MB / 3.742 GB, free: 273.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003536/8.9, allocations: 1.194 MB / 3.743 GB, free: 273.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/8.9, allocations: 3.656 kB / 3.743 GB, free: 273.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00173/8.902, allocations: 0.6335 MB / 3.743 GB, free: 273.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004026/8.906, allocations: 432.4 kB / 3.744 GB, free: 273.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03221/8.938, allocations: 3.133 MB / 3.747 GB, free: 272.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002188/8.94, allocations: 1.4 MB / 3.748 GB, free: 272.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.352e-06/8.94, allocations: 0 / 3.748 GB, free: 272.2 MB / 0.948 GB Notification: Performance of Templates: time 0.0995/9.04, allocations: 33.13 MB / 3.781 GB, free: 271.7 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)