Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic") translateModel(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic") [: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.1.4-maint.8.1.x/package.mo): time 1.614/1.614, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.001203/0.001203, allocations: 176.1 kB / 366.3 MB, free: 1.961 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.735/1.735, allocations: 205.2 MB / 0.6256 GB, free: 5.777 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.001051/0.001051, allocations: 83.3 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.035e-06/8.065e-06, allocations: 0 / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6705/0.6705, allocations: 116.3 MB / 0.9725 GB, free: 68.48 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.82/4.491, allocations: 2.083 GB / 3.055 GB, free: 356.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/4.491, allocations: 92.22 kB / 3.055 GB, free: 356.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.592/6.083, allocations: 0.6002 GB / 3.655 GB, free: 122.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.519e-05/6.083, allocations: 20 kB / 3.655 GB, free: 122.4 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.002618/6.086, allocations: 1.016 MB / 3.656 GB, free: 121.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/6.086, allocations: 8.031 kB / 3.656 GB, free: 121.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/6.087, allocations: 242.8 kB / 3.657 GB, free: 121.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/6.089, allocations: 0.8777 MB / 3.657 GB, free: 120.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/6.089, allocations: 12 kB / 3.657 GB, free: 120.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-05/6.089, allocations: 31.98 kB / 3.657 GB, free: 120.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005833/6.09, allocations: 369.4 kB / 3.658 GB, free: 119.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005984/6.091, allocations: 442.9 kB / 3.658 GB, free: 119.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/6.091, allocations: 0 / 3.658 GB, free: 119.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.195e-05/6.091, allocations: 4 kB / 3.658 GB, free: 119.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/6.091, allocations: 16.72 kB / 3.658 GB, free: 119.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002613/6.093, allocations: 2.273 MB / 3.66 GB, free: 116.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/6.094, allocations: 226.6 kB / 3.661 GB, free: 116.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/6.094, allocations: 121.7 kB / 3.661 GB, free: 116.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009051/6.095, allocations: 0.8339 MB / 3.662 GB, free: 115.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002107/6.095, allocations: 187.9 kB / 3.662 GB, free: 115.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 2.314e-06/6.095, allocations: 0 / 3.662 GB, free: 115.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=26): time 0.001018/6.096, allocations: 413.6 kB / 3.662 GB, free: 114.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/6.096, allocations: 103 kB / 3.662 GB, free: 114.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004273/6.096, allocations: 454.3 kB / 3.663 GB, free: 114.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/6.096, allocations: 29.7 kB / 3.663 GB, free: 114.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/6.097, allocations: 251.6 kB / 3.663 GB, free: 114 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.533e-05/6.097, allocations: 86.75 kB / 3.663 GB, free: 113.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.811e-05/6.097, allocations: 0 / 3.663 GB, free: 113.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.596e-05/6.097, allocations: 370.8 kB / 3.663 GB, free: 113.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/6.097, allocations: 96.84 kB / 3.664 GB, free: 113.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/6.097, allocations: 304.3 kB / 3.664 GB, free: 113 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004303/6.098, allocations: 222.7 kB / 3.664 GB, free: 112.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/6.098, allocations: 0 / 3.664 GB, free: 112.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000755/6.098, allocations: 484.7 kB / 3.664 GB, free: 112.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004316/6.099, allocations: 1.83 MB / 3.666 GB, free: 110.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/6.099, allocations: 11.98 kB / 3.666 GB, free: 110.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/6.099, allocations: 8 kB / 3.666 GB, free: 110.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003286/6.099, allocations: 83.84 kB / 3.666 GB, free: 110.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/6.099, allocations: 7.984 kB / 3.666 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003813/6.1, allocations: 55.45 kB / 3.666 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/6.1, allocations: 23.98 kB / 3.666 GB, free: 110.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.54e-06/6.1, allocations: 7.938 kB / 3.666 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006451/6.1, allocations: 398.3 kB / 3.667 GB, free: 109.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/6.1, allocations: 4 kB / 3.667 GB, free: 109.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.681e-06/6.1, allocations: 8 kB / 3.667 GB, free: 109.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003097/6.101, allocations: 79.89 kB / 3.667 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/6.101, allocations: 11.94 kB / 3.667 GB, free: 109.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/6.101, allocations: 40.2 kB / 3.667 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/6.101, allocations: 27.92 kB / 3.667 GB, free: 109.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001048/6.101, allocations: 125.4 kB / 3.667 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.077e-05/6.101, allocations: 55.25 kB / 3.667 GB, free: 109.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006783/6.102, allocations: 366.1 kB / 3.668 GB, free: 109.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/6.102, allocations: 4 kB / 3.668 GB, free: 109.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/6.102, allocations: 4 kB / 3.668 GB, free: 109.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/6.102, allocations: 3.984 kB / 3.668 GB, free: 109.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/6.103, allocations: 1.161 MB / 3.669 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/6.103, allocations: 4 kB / 3.669 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002286/6.104, allocations: 43.91 kB / 3.669 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/6.104, allocations: 4 kB / 3.669 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/6.104, allocations: 4 kB / 3.669 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/6.104, allocations: 7.938 kB / 3.669 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/6.104, allocations: 4 kB / 3.669 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008277/6.105, allocations: 0.7738 MB / 3.67 GB, free: 106.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/6.105, allocations: 164.3 kB / 3.67 GB, free: 106.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.203e-05/6.105, allocations: 4 kB / 3.67 GB, free: 106.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/6.105, allocations: 19.95 kB / 3.67 GB, free: 106.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.275e-05/6.105, allocations: 15.98 kB / 3.67 GB, free: 106.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.253e-05/6.105, allocations: 15.98 kB / 3.67 GB, free: 106.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002874/6.105, allocations: 350.9 kB / 3.67 GB, free: 106.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001122/6.107, allocations: 379.3 kB / 3.67 GB, free: 105.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (hum.outCon.Xi) * Number of discrete variables: 3 ($whenCondition1,XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Number of discrete states: 2 (XSet.nextTimeEvent,XSet.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002298/6.109, allocations: 1.792 MB / 3.672 GB, free: 104.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006739/6.11, allocations: 468.1 kB / 3.673 GB, free: 103.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/6.11, allocations: 0.75 kB / 3.673 GB, free: 103.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/6.11, allocations: 144.2 kB / 3.673 GB, free: 103.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009446/6.111, allocations: 195 kB / 3.673 GB, free: 103.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003735/6.114, allocations: 1.583 MB / 3.674 GB, free: 101.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000439/6.115, allocations: 0.9605 MB / 3.675 GB, free: 100.7 MB / 0.948 GB Notification: Performance of SimCode: time 7.11e-07/6.115, allocations: 0 / 3.675 GB, free: 100.7 MB / 0.948 GB Notification: Performance of Templates: time 0.02663/6.142, allocations: 18.6 MB / 3.694 GB, free: 82.21 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)