Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [: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.283/2.283, allocations: 284.9 MB / 292.2 MB, free: 10.72 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.001724/0.001723, allocations: 177.2 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.831/1.831, allocations: 205.1 MB / 0.6188 GB, free: 12.41 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.001225/0.001224, allocations: 96.92 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.623e-05/1.646e-05, allocations: 4 kB / 0.8502 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6769/0.6769, allocations: 115.2 MB / 0.9628 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.283/5.96, allocations: 2.317 GB / 3.279 GB, free: 135.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/5.961, allocations: 86.83 kB / 3.28 GB, free: 135.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.8/8.761, allocations: 0.5989 GB / 3.878 GB, free: 217 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001779/8.761, allocations: 43.62 kB / 3.878 GB, free: 216.9 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: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.004338/8.766, allocations: 1.344 MB / 3.88 GB, free: 216.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/8.766, allocations: 6.469 kB / 3.88 GB, free: 216.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006155/8.772, allocations: 0.6431 MB / 3.88 GB, free: 216.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004318/8.776, allocations: 0.9369 MB / 3.881 GB, free: 215.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.627e-05/8.776, allocations: 21.94 kB / 3.881 GB, free: 215.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002638/8.777, allocations: 58.72 kB / 3.881 GB, free: 215.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001929/8.779, allocations: 0.5693 MB / 3.882 GB, free: 215.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001896/8.781, allocations: 0.8044 MB / 3.883 GB, free: 215.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.379e-05/8.781, allocations: 1.875 kB / 3.883 GB, free: 215.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/8.781, allocations: 3.812 kB / 3.883 GB, free: 215.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/8.781, allocations: 21.36 kB / 3.883 GB, free: 215.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009366/8.79, allocations: 4.859 MB / 3.887 GB, free: 212.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/8.792, allocations: 0.5411 MB / 3.888 GB, free: 212.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007697/8.793, allocations: 290.2 kB / 3.888 GB, free: 212.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001509/8.794, allocations: 1.598 MB / 3.89 GB, free: 210.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/8.795, allocations: 380.5 kB / 3.89 GB, free: 210.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=61): time 4.649e-06/8.795, allocations: 0 / 3.89 GB, free: 210.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=61): time 0.002771/8.798, allocations: 0.7077 MB / 3.891 GB, free: 210.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/8.798, allocations: 59.53 kB / 3.891 GB, free: 210.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/8.8, allocations: 0.8451 MB / 3.892 GB, free: 210.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002458/8.8, allocations: 33.52 kB / 3.892 GB, free: 210.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/8.801, allocations: 375 kB / 3.892 GB, free: 210.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/8.801, allocations: 202.5 kB / 3.892 GB, free: 210.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.405e-05/8.801, allocations: 0 / 3.892 GB, free: 210.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.932e-05/8.801, allocations: 339.5 kB / 3.893 GB, free: 209.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007304/8.802, allocations: 251.1 kB / 3.893 GB, free: 209.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009546/8.803, allocations: 0.5721 MB / 3.893 GB, free: 209.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/8.804, allocations: 356 kB / 3.894 GB, free: 209.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.678e-06/8.804, allocations: 3.094 kB / 3.894 GB, free: 209.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003176/8.808, allocations: 0.8818 MB / 3.895 GB, free: 209.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/8.808, allocations: 6.375 kB / 3.895 GB, free: 209.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/8.808, allocations: 6.625 kB / 3.895 GB, free: 209.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.652e-05/8.808, allocations: 18.61 kB / 3.895 GB, free: 209.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002511/8.81, allocations: 295 kB / 3.895 GB, free: 209.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.313e-05/8.81, allocations: 14.95 kB / 3.895 GB, free: 209.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002613/8.813, allocations: 199.9 kB / 3.895 GB, free: 209.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002638/8.813, allocations: 48.39 kB / 3.895 GB, free: 209.2 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0002941/8.814, allocations: 149.7 kB / 3.895 GB, free: 209.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003303/8.814, allocations: 105.3 kB / 3.895 GB, free: 209.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003976/8.818, allocations: 1.073 MB / 3.897 GB, free: 209 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-05/8.818, allocations: 10.38 kB / 3.897 GB, free: 209 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/8.818, allocations: 0 / 3.897 GB, free: 209 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/8.818, allocations: 3.938 kB / 3.897 GB, free: 209 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005873/8.824, allocations: 1.99 MB / 3.898 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/8.824, allocations: 3.844 kB / 3.899 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00216/8.826, allocations: 216.8 kB / 3.899 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-05/8.826, allocations: 10.34 kB / 3.899 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001528/8.826, allocations: 14.27 kB / 3.899 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-05/8.826, allocations: 7.484 kB / 3.899 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/8.826, allocations: 3.531 kB / 3.899 GB, free: 208.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004198/8.831, allocations: 1.522 MB / 3.9 GB, free: 208.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009511/8.832, allocations: 296.9 kB / 3.901 GB, free: 208.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003054/8.832, allocations: 9.438 kB / 3.901 GB, free: 208.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002088/8.834, allocations: 129.2 kB / 3.901 GB, free: 208.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/8.834, allocations: 54.19 kB / 3.901 GB, free: 208.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/8.834, allocations: 32.97 kB / 3.901 GB, free: 208.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.00129/8.836, allocations: 0.6332 MB / 3.901 GB, free: 208 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00217/8.838, allocations: 382.8 kB / 3.902 GB, free: 207.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001962/8.84, allocations: 0.7049 MB / 3.902 GB, free: 207.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002179/8.842, allocations: 0.7382 MB / 3.903 GB, free: 207.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.683e-06/8.842, allocations: 3 kB / 3.903 GB, free: 207.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001074/8.843, allocations: 410.9 kB / 3.904 GB, free: 207.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003178/8.847, allocations: 334.4 kB / 3.904 GB, free: 207.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006843/8.853, allocations: 1.812 MB / 3.906 GB, free: 207.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001676/8.855, allocations: 1.286 MB / 3.907 GB, free: 206.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.343e-06/8.855, allocations: 0 / 3.907 GB, free: 206.6 MB / 0.948 GB Notification: Performance of Templates: time 0.05734/8.913, allocations: 19.57 MB / 3.926 GB, free: 206 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)