Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") [: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.294/2.294, allocations: 284.9 MB / 292.2 MB, free: 10.66 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.001736/0.001736, allocations: 184.4 kB / 360.4 MB, free: 7.453 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.38 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.001253/0.001253, allocations: 91.56 kB / 0.7318 GB, free: 44.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.133e-05/1.141e-05, allocations: 4 kB / 0.8502 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5959/0.5959, allocations: 115.2 MB / 0.9628 GB, free: 78.51 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.179/5.775, allocations: 2.067 GB / 3.03 GB, free: 273.3 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/5.775, allocations: 84.39 kB / 3.03 GB, free: 273.3 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.222/9.997, allocations: 1.01 GB / 4.04 GB, free: 45.84 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000157/9.997, allocations: 43.92 kB / 4.04 GB, free: 45.79 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.01023/10.01, allocations: 1.742 MB / 4.042 GB, free: 44 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/10.01, allocations: 8.031 kB / 4.042 GB, free: 43.99 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007895/10.02, allocations: 0.7707 MB / 4.042 GB, free: 43.21 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0048/10.02, allocations: 1.036 MB / 4.043 GB, free: 42.12 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.384e-05/10.02, allocations: 28 kB / 4.044 GB, free: 42.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003959/10.02, allocations: 59.98 kB / 4.044 GB, free: 42.04 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003333/10.02, allocations: 0.9333 MB / 4.044 GB, free: 41.11 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003655/10.03, allocations: 1.143 MB / 4.046 GB, free: 39.89 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.19e-05/10.03, allocations: 4 kB / 4.046 GB, free: 39.88 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/10.03, allocations: 7.984 kB / 4.046 GB, free: 39.88 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.152e-05/10.03, allocations: 49.92 kB / 4.046 GB, free: 39.82 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01432/10.04, allocations: 5.69 MB / 4.051 GB, free: 33.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/10.05, allocations: 0.8761 MB / 4.052 GB, free: 33.02 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/10.05, allocations: 0.4885 MB / 4.053 GB, free: 32.53 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001338/10.05, allocations: 0.5812 MB / 4.053 GB, free: 31.84 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001603/10.05, allocations: 0.5963 MB / 4.054 GB, free: 31.22 MB / 0.948 GB Notification: Performance of pre-optimization done (n=80): time 5.36e-06/10.05, allocations: 0 / 4.054 GB, free: 31.22 MB / 0.948 GB Notification: Performance of matching and sorting (n=80): time 0.004266/10.05, allocations: 1.088 MB / 4.055 GB, free: 30.13 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/10.05, allocations: 60.06 kB / 4.055 GB, free: 30.06 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001871/10.06, allocations: 0.86 MB / 4.056 GB, free: 29.18 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003183/10.06, allocations: 29.7 kB / 4.056 GB, free: 29.15 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/10.06, allocations: 407.8 kB / 4.056 GB, free: 28.74 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003488/10.06, allocations: 272.1 kB / 4.056 GB, free: 28.47 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/10.06, allocations: 0 / 4.056 GB, free: 28.47 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.548e-05/10.06, allocations: 341.9 kB / 4.057 GB, free: 28.13 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/10.06, allocations: 425.7 kB / 4.057 GB, free: 27.72 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001383/10.06, allocations: 0.7431 MB / 4.058 GB, free: 26.83 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/10.06, allocations: 481 kB / 4.058 GB, free: 26.37 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.565e-06/10.06, allocations: 4 kB / 4.058 GB, free: 26.36 MB / 0.948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003394/10.06, allocations: 1.186 MB / 4.059 GB, free: 25.17 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/10.06, allocations: 4 kB / 4.059 GB, free: 25.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/10.06, allocations: 8 kB / 4.059 GB, free: 25.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.269e-05/10.06, allocations: 12 kB / 4.059 GB, free: 25.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003181/10.07, allocations: 335.7 kB / 4.06 GB, free: 24.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/10.07, allocations: 15.94 kB / 4.06 GB, free: 24.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002959/10.07, allocations: 207 kB / 4.06 GB, free: 24.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/10.07, allocations: 59.95 kB / 4.06 GB, free: 24.54 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0003248/10.07, allocations: 142.6 kB / 4.06 GB, free: 24.39 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/10.07, allocations: 118.5 kB / 4.06 GB, free: 24.27 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003718/10.08, allocations: 1.19 MB / 4.061 GB, free: 23.07 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/10.08, allocations: 8 kB / 4.061 GB, free: 23.06 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/10.08, allocations: 0 / 4.061 GB, free: 23.06 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/10.08, allocations: 11.97 kB / 4.061 GB, free: 23.05 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006729/10.08, allocations: 2.602 MB / 4.064 GB, free: 20.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/10.08, allocations: 4.5 kB / 4.064 GB, free: 20.35 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002846/10.09, allocations: 267.6 kB / 4.064 GB, free: 20.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-05/10.09, allocations: 8 kB / 4.064 GB, free: 20.08 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001448/10.09, allocations: 27.95 kB / 4.064 GB, free: 20.05 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.869e-06/10.09, allocations: 8 kB / 4.064 GB, free: 20.05 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/10.09, allocations: 11.94 kB / 4.064 GB, free: 20.04 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004673/10.09, allocations: 2.14 MB / 4.066 GB, free: 17.75 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009064/10.09, allocations: 323.3 kB / 4.067 GB, free: 17.41 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003376/10.09, allocations: 4 kB / 4.067 GB, free: 17.41 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002453/10.09, allocations: 151.7 kB / 4.067 GB, free: 17.26 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/10.09, allocations: 60.52 kB / 4.067 GB, free: 17.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/10.09, allocations: 43.97 kB / 4.067 GB, free: 17.16 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001222/10.1, allocations: 0.6526 MB / 4.068 GB, free: 16.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002078/10.1, allocations: 463.2 kB / 4.068 GB, free: 16.04 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (86): * Single equations (assignments): 80 * 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.003589/10.1, allocations: 2.123 MB / 4.07 GB, free: 13.93 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003712/10.1, allocations: 1.038 MB / 4.071 GB, free: 12.89 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/10.1, allocations: 0 / 4.071 GB, free: 12.89 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00232/10.11, allocations: 0.539 MB / 4.072 GB, free: 12.36 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006069/10.11, allocations: 426 kB / 4.072 GB, free: 11.95 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0327/10.15, allocations: 2.785 MB / 4.075 GB, free: 9.078 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00189/10.15, allocations: 1.365 MB / 4.076 GB, free: 7.688 MB / 0.948 GB Notification: Performance of SimCode: time 1.593e-06/10.15, allocations: 0 / 4.076 GB, free: 7.688 MB / 0.948 GB Notification: Performance of Templates: time 0.4468/10.59, allocations: 30.76 MB / 4.106 GB, free: 277.2 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)