Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.606/1.606, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001419/0.001419, allocations: 177.2 kB / 361.1 MB, free: 7.113 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.494/1.494, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0009099/0.0009099, allocations: 95.77 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.783e-06/6.813e-06, allocations: 0 / 0.8511 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6036/0.6036, allocations: 115.3 MB / 0.9637 GB, free: 78.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.337/3.941, allocations: 2.082 GB / 3.045 GB, free: 73.45 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/3.941, allocations: 83.95 kB / 3.045 GB, free: 73.37 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.055/5.996, allocations: 0.6002 GB / 3.645 GB, free: 208.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.6e-05/5.996, allocations: 19.09 kB / 3.645 GB, free: 208.1 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.002724/5.999, allocations: 1.022 MB / 3.646 GB, free: 207.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/5.999, allocations: 9.719 kB / 3.646 GB, free: 207.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/6.001, allocations: 238.3 kB / 3.647 GB, free: 207.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002172/6.003, allocations: 0.8753 MB / 3.648 GB, free: 206.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.94e-05/6.003, allocations: 15.94 kB / 3.648 GB, free: 206.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.086e-05/6.003, allocations: 24.62 kB / 3.648 GB, free: 206.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007139/6.004, allocations: 373.3 kB / 3.648 GB, free: 206.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007107/6.004, allocations: 436.3 kB / 3.648 GB, free: 206.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/6.004, allocations: 4 kB / 3.648 GB, free: 206.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.103e-05/6.004, allocations: 0 / 3.648 GB, free: 206.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.974e-05/6.004, allocations: 20.78 kB / 3.648 GB, free: 206.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00269/6.007, allocations: 2.263 MB / 3.651 GB, free: 203.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003262/6.007, allocations: 236.2 kB / 3.651 GB, free: 203.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/6.008, allocations: 134.6 kB / 3.651 GB, free: 203.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009558/6.009, allocations: 0.8269 MB / 3.652 GB, free: 202.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002251/6.009, allocations: 186.1 kB / 3.652 GB, free: 202.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/6.009, allocations: 0 / 3.652 GB, free: 202.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=26): time 0.001057/6.01, allocations: 406.6 kB / 3.652 GB, free: 201.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/6.01, allocations: 107 kB / 3.652 GB, free: 201.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004615/6.01, allocations: 458.2 kB / 3.653 GB, free: 201.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/6.01, allocations: 25.7 kB / 3.653 GB, free: 201.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/6.011, allocations: 255.6 kB / 3.653 GB, free: 200.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.283e-05/6.011, allocations: 90.75 kB / 3.653 GB, free: 200.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.722e-05/6.011, allocations: 0 / 3.653 GB, free: 200.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.679e-05/6.011, allocations: 362.7 kB / 3.654 GB, free: 200.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/6.011, allocations: 108.8 kB / 3.654 GB, free: 200.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/6.011, allocations: 290.4 kB / 3.654 GB, free: 200 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004736/6.012, allocations: 228.2 kB / 3.654 GB, free: 199.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/6.012, allocations: 4 kB / 3.654 GB, free: 199.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007871/6.012, allocations: 481.7 kB / 3.655 GB, free: 199.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004044/6.013, allocations: 1.827 MB / 3.656 GB, free: 197.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/6.013, allocations: 7.562 kB / 3.656 GB, free: 197.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/6.013, allocations: 8 kB / 3.656 GB, free: 197.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/6.013, allocations: 83.89 kB / 3.657 GB, free: 197.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/6.013, allocations: 15.94 kB / 3.657 GB, free: 197.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003908/6.014, allocations: 43.17 kB / 3.657 GB, free: 197.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/6.014, allocations: 27.73 kB / 3.657 GB, free: 197.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.462e-06/6.014, allocations: 4 kB / 3.657 GB, free: 197.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006966/6.014, allocations: 401.1 kB / 3.657 GB, free: 196.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/6.014, allocations: 4 kB / 3.657 GB, free: 196.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.773e-06/6.015, allocations: 8 kB / 3.657 GB, free: 196.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/6.015, allocations: 83.84 kB / 3.657 GB, free: 196.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/6.015, allocations: 11.98 kB / 3.657 GB, free: 196.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003112/6.015, allocations: 38.92 kB / 3.657 GB, free: 196.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.46e-05/6.015, allocations: 20 kB / 3.657 GB, free: 196.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.0001034/6.015, allocations: 124.8 kB / 3.657 GB, free: 196.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.741e-05/6.015, allocations: 55.34 kB / 3.657 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007442/6.016, allocations: 373.1 kB / 3.658 GB, free: 196.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/6.016, allocations: 4 kB / 3.658 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/6.016, allocations: 0 / 3.658 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/6.016, allocations: 4 kB / 3.658 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001473/6.018, allocations: 1.162 MB / 3.659 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/6.018, allocations: 7.406 kB / 3.659 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/6.018, allocations: 51.62 kB / 3.659 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/6.018, allocations: 4.094 kB / 3.659 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/6.018, allocations: 15.92 kB / 3.659 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/6.018, allocations: 4 kB / 3.659 GB, free: 194.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/6.018, allocations: 4 kB / 3.659 GB, free: 194.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009093/6.019, allocations: 0.7769 MB / 3.66 GB, free: 193.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001607/6.019, allocations: 164.3 kB / 3.66 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.477e-05/6.019, allocations: 4 kB / 3.66 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002736/6.019, allocations: 11.84 kB / 3.66 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.091e-05/6.02, allocations: 23.88 kB / 3.66 GB, free: 193.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.159e-05/6.02, allocations: 8 kB / 3.66 GB, free: 193.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.000309/6.02, allocations: 350.9 kB / 3.66 GB, free: 193.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001193/6.021, allocations: 387.2 kB / 3.661 GB, free: 192.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.002274/6.023, allocations: 1.793 MB / 3.662 GB, free: 191.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006438/6.024, allocations: 474.2 kB / 3.663 GB, free: 191.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/6.024, allocations: 0 / 3.663 GB, free: 191.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/6.024, allocations: 127.9 kB / 3.663 GB, free: 191 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009372/6.025, allocations: 195.9 kB / 3.663 GB, free: 190.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003838/6.029, allocations: 1.579 MB / 3.665 GB, free: 189.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004485/6.029, allocations: 0.9683 MB / 3.666 GB, free: 188.2 MB / 0.948 GB Notification: Performance of SimCode: time 3e-07/6.029, allocations: 0 / 3.666 GB, free: 188.2 MB / 0.948 GB Notification: Performance of Templates: time 0.02754/6.057, allocations: 18.61 MB / 3.684 GB, free: 169.8 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)