Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.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.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") [: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.448/2.448, 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.001655/0.001654, allocations: 196.1 kB / 360.4 MB, free: 7.48 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.75/1.75, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.00129/0.00129, allocations: 95.06 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.556e-06/8.726e-06, allocations: 0 / 0.8502 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6057/0.6057, allocations: 115.2 MB / 0.9628 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.787/5.393, allocations: 2.082 GB / 3.045 GB, free: 38.39 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00042/5.393, allocations: 91.45 kB / 3.045 GB, free: 38.35 MB / 0.948 GB Notification: Performance of FrontEnd: time 6.198/11.59, allocations: 1.29 GB / 4.335 GB, free: 127.4 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002735/11.59, allocations: 48.17 kB / 4.335 GB, free: 127.4 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.008519/11.6, allocations: 2.103 MB / 4.337 GB, free: 126.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/11.6, allocations: 7.625 kB / 4.337 GB, free: 126.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01436/11.61, allocations: 0.6542 MB / 4.338 GB, free: 126.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008313/11.62, allocations: 1.764 MB / 4.34 GB, free: 126 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.568e-05/11.62, allocations: 40.69 kB / 4.34 GB, free: 126 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004846/11.62, allocations: 79.25 kB / 4.34 GB, free: 126 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004288/11.63, allocations: 1.212 MB / 4.341 GB, free: 126 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004204/11.63, allocations: 1.298 MB / 4.342 GB, free: 125.8 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.855e-05/11.63, allocations: 0 / 4.342 GB, free: 125.8 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002146/11.63, allocations: 3.875 kB / 4.342 GB, free: 125.8 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-05/11.63, allocations: 42.36 kB / 4.342 GB, free: 125.8 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01528/11.65, allocations: 7.299 MB / 4.349 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/11.65, allocations: 0.6643 MB / 4.35 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/11.65, allocations: 367.9 kB / 4.35 GB, free: 121.8 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000444/11.65, allocations: 274.7 kB / 4.351 GB, free: 121.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.311e-05/11.65, allocations: 43.38 kB / 4.351 GB, free: 121.5 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=67): time 3.727e-06/11.65, allocations: 3.312 kB / 4.351 GB, free: 121.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=67): time 0.003558/11.66, allocations: 0.8084 MB / 4.351 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/11.66, allocations: 55.88 kB / 4.352 GB, free: 121.3 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002163/11.66, allocations: 0.9117 MB / 4.352 GB, free: 121.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002859/11.66, allocations: 25.7 kB / 4.352 GB, free: 121.1 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/11.66, allocations: 0.5761 MB / 4.353 GB, free: 120.8 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003934/11.66, allocations: 234.6 kB / 4.353 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.914e-05/11.66, allocations: 0 / 4.353 GB, free: 120.6 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.903e-05/11.66, allocations: 343.5 kB / 4.354 GB, free: 120.3 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008135/11.66, allocations: 302 kB / 4.354 GB, free: 120.3 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/11.66, allocations: 0.6192 MB / 4.354 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/11.66, allocations: 418.4 kB / 4.355 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/11.66, allocations: 5.984 kB / 4.355 GB, free: 119.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.002979/11.67, allocations: 0.9741 MB / 4.356 GB, free: 119.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006348/11.67, allocations: 2.473 MB / 4.358 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/11.67, allocations: 10.64 kB / 4.358 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.353e-05/11.67, allocations: 11.16 kB / 4.358 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001945/11.67, allocations: 202.6 kB / 4.358 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.564e-05/11.67, allocations: 12.97 kB / 4.358 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0032/11.67, allocations: 134.9 kB / 4.359 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002297/11.67, allocations: 39.56 kB / 4.359 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/11.67, allocations: 4.906 kB / 4.359 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002406/11.67, allocations: 0.8055 MB / 4.359 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/11.67, allocations: 7 kB / 4.359 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.603e-05/11.67, allocations: 18.2 kB / 4.359 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/11.68, allocations: 199.5 kB / 4.36 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.057e-05/11.68, allocations: 14.16 kB / 4.36 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002987/11.68, allocations: 125.2 kB / 4.36 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002028/11.68, allocations: 38.81 kB / 4.36 GB, free: 117.2 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * 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.0004013/11.68, allocations: 125.8 kB / 4.36 GB, free: 117 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005211/11.68, allocations: 140.7 kB / 4.36 GB, free: 117 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002521/11.68, allocations: 0.7791 MB / 4.361 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.574e-05/11.68, allocations: 7.469 kB / 4.361 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/11.68, allocations: 1.094 kB / 4.361 GB, free: 116.9 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001593/11.68, allocations: 0.7639 MB / 4.362 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006519/11.69, allocations: 2.165 MB / 4.364 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/11.69, allocations: 7.781 kB / 4.364 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001803/11.69, allocations: 166 kB / 4.364 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.05e-05/11.69, allocations: 5.094 kB / 4.364 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001201/11.69, allocations: 8.781 kB / 4.364 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-05/11.69, allocations: 6.453 kB / 4.364 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/11.69, allocations: 5.5 kB / 4.364 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003382/11.7, allocations: 1.381 MB / 4.365 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/11.7, allocations: 320.6 kB / 4.366 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005864/11.7, allocations: 3.594 kB / 4.366 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002592/11.7, allocations: 87.08 kB / 4.366 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000189/11.7, allocations: 39.89 kB / 4.366 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001379/11.7, allocations: 32.55 kB / 4.366 GB, free: 115.7 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001794/11.7, allocations: 0.6882 MB / 4.366 GB, free: 115.6 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.004839/11.71, allocations: 1.063 MB / 4.367 GB, free: 115.4 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 72 * 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 Backend phase and start with SimCode phase: time 0.006136/11.71, allocations: 3.53 MB / 4.371 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003306/11.72, allocations: 1.232 MB / 4.372 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/11.72, allocations: 2.188 kB / 4.372 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008019/11.72, allocations: 346.9 kB / 4.372 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007235/11.73, allocations: 0.7207 MB / 4.373 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007263/11.73, allocations: 2.295 MB / 4.375 GB, free: 113.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002013/11.74, allocations: 1.509 MB / 4.377 GB, free: 112.8 MB / 0.9636 GB Notification: Performance of SimCode: time 1.664e-06/11.74, allocations: 0 / 4.377 GB, free: 112.8 MB / 0.9636 GB Notification: Performance of Templates: time 0.1212/11.86, allocations: 47.07 MB / 4.423 GB, free: 108.5 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)