Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic") translateModel(BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7897/0.7897, allocations: 141.8 MB / 149.1 MB, free: 2.27 MB / 130.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 184 kB / 182 MB, free: 14.3 MB / 162.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.613/1.613, allocations: 221.3 MB / 436 MB, free: 7.297 MB / 338.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 95.41 kB / 0.507 GB, free: 24.48 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001893/0.001893, allocations: 269.3 kB / 0.5884 GB, free: 10.54 MB / 450.9 MB Notification: Performance of FrontEnd - loaded program: time 8.956e-06/8.996e-06, allocations: 4 kB / 0.6759 GB, free: 0.8945 MB / 0.5184 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5414/0.5414, allocations: 82.76 MB / 0.7567 GB, free: 111.1 MB / 0.534 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.388/4.929, allocations: 1.848 GB / 2.605 GB, free: 208 MB / 0.706 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002066/4.93, allocations: 94.12 kB / 2.605 GB, free: 207.9 MB / 0.706 GB Notification: Performance of FrontEnd: time 2.036/6.966, allocations: 0.6056 GB / 3.211 GB, free: 122.7 MB / 0.706 GB Notification: Performance of Transformations before backend: time 0.0001288/6.966, allocations: 19.91 kB / 3.211 GB, free: 122.7 MB / 0.706 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.004476/6.97, allocations: 1.054 MB / 3.212 GB, free: 121.7 MB / 0.706 GB Notification: Performance of prepare preOptimizeDAE: time 6.851e-05/6.97, allocations: 8.031 kB / 3.212 GB, free: 121.7 MB / 0.706 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001768/6.972, allocations: 235.7 kB / 3.212 GB, free: 121.5 MB / 0.706 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003166/6.975, allocations: 0.8906 MB / 3.213 GB, free: 120.6 MB / 0.706 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.974e-05/6.975, allocations: 12 kB / 3.213 GB, free: 120.6 MB / 0.706 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001289/6.975, allocations: 24 kB / 3.213 GB, free: 120.5 MB / 0.706 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006867/6.976, allocations: 349.5 kB / 3.213 GB, free: 120.2 MB / 0.706 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007157/6.977, allocations: 446.4 kB / 3.213 GB, free: 119.7 MB / 0.706 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/6.977, allocations: 0 / 3.213 GB, free: 119.7 MB / 0.706 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/6.977, allocations: 0 / 3.213 GB, free: 119.7 MB / 0.706 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.072e-05/6.977, allocations: 24.67 kB / 3.214 GB, free: 119.7 MB / 0.706 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003449/6.98, allocations: 2.263 MB / 3.216 GB, free: 117.3 MB / 0.706 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003208/6.981, allocations: 234.3 kB / 3.216 GB, free: 117.1 MB / 0.706 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/6.981, allocations: 128.8 kB / 3.216 GB, free: 116.9 MB / 0.706 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009875/6.982, allocations: 0.8194 MB / 3.217 GB, free: 116 MB / 0.706 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/6.982, allocations: 196.2 kB / 3.217 GB, free: 115.8 MB / 0.706 GB Notification: Performance of pre-optimization done (n=26): time 2.144e-06/6.982, allocations: 0 / 3.217 GB, free: 115.8 MB / 0.706 GB Notification: Performance of matching and sorting (n=26): time 0.001208/6.983, allocations: 412.2 kB / 3.217 GB, free: 115.4 MB / 0.706 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/6.983, allocations: 110.8 kB / 3.218 GB, free: 115.2 MB / 0.706 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005456/6.984, allocations: 454.3 kB / 3.218 GB, free: 114.8 MB / 0.706 GB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/6.984, allocations: 28.52 kB / 3.218 GB, free: 114.7 MB / 0.706 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/6.984, allocations: 255.6 kB / 3.218 GB, free: 114.5 MB / 0.706 GB Notification: Performance of collectInitialBindings (initialization): time 7.199e-05/6.984, allocations: 86.75 kB / 3.218 GB, free: 114.4 MB / 0.706 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.699e-05/6.984, allocations: 0 / 3.218 GB, free: 114.4 MB / 0.706 GB Notification: Performance of setup shared object (initialization): time 0.000107/6.984, allocations: 362.8 kB / 3.219 GB, free: 114 MB / 0.706 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/6.985, allocations: 104.8 kB / 3.219 GB, free: 113.9 MB / 0.706 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/6.985, allocations: 294.5 kB / 3.219 GB, free: 113.6 MB / 0.706 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/6.985, allocations: 228.3 kB / 3.219 GB, free: 113.3 MB / 0.706 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/6.985, allocations: 0 / 3.219 GB, free: 113.3 MB / 0.706 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008946/6.986, allocations: 485.9 kB / 3.22 GB, free: 112.9 MB / 0.706 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004801/6.987, allocations: 1.827 MB / 3.222 GB, free: 110.9 MB / 0.706 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/6.987, allocations: 8 kB / 3.222 GB, free: 110.9 MB / 0.706 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.954e-05/6.987, allocations: 8 kB / 3.222 GB, free: 110.9 MB / 0.706 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/6.987, allocations: 87.83 kB / 3.222 GB, free: 110.8 MB / 0.706 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/6.987, allocations: 4 kB / 3.222 GB, free: 110.8 MB / 0.706 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004961/6.988, allocations: 50.02 kB / 3.222 GB, free: 110.8 MB / 0.706 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.188e-05/6.988, allocations: 27.98 kB / 3.222 GB, free: 110.7 MB / 0.706 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/6.988, allocations: 9.656 kB / 3.222 GB, free: 110.7 MB / 0.706 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007529/6.989, allocations: 394.4 kB / 3.222 GB, free: 110.4 MB / 0.706 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/6.989, allocations: 7.984 kB / 3.222 GB, free: 110.4 MB / 0.706 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/6.989, allocations: 10.56 kB / 3.222 GB, free: 110.3 MB / 0.706 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/6.989, allocations: 83.84 kB / 3.222 GB, free: 110.3 MB / 0.706 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/6.989, allocations: 15.92 kB / 3.222 GB, free: 110.2 MB / 0.706 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000425/6.989, allocations: 35.36 kB / 3.222 GB, free: 110.2 MB / 0.706 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/6.989, allocations: 20 kB / 3.222 GB, free: 110.2 MB / 0.706 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.0001351/6.99, allocations: 127.1 kB / 3.222 GB, free: 110.1 MB / 0.706 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.139e-05/6.99, allocations: 55.25 kB / 3.222 GB, free: 110 MB / 0.706 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007404/6.99, allocations: 376 kB / 3.223 GB, free: 109.7 MB / 0.706 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/6.99, allocations: 7.984 kB / 3.223 GB, free: 109.6 MB / 0.706 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/6.99, allocations: 0 / 3.223 GB, free: 109.6 MB / 0.706 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/6.99, allocations: 0 / 3.223 GB, free: 109.6 MB / 0.706 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/6.992, allocations: 1.159 MB / 3.224 GB, free: 108.4 MB / 0.706 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/6.992, allocations: 4 kB / 3.224 GB, free: 108.4 MB / 0.706 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/6.992, allocations: 47.91 kB / 3.224 GB, free: 108.4 MB / 0.706 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/6.992, allocations: 4 kB / 3.224 GB, free: 108.4 MB / 0.706 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/6.992, allocations: 4 kB / 3.224 GB, free: 108.4 MB / 0.706 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.464e-06/6.992, allocations: 14.31 kB / 3.224 GB, free: 108.4 MB / 0.706 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/6.992, allocations: 11.94 kB / 3.224 GB, free: 108.3 MB / 0.706 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001001/6.993, allocations: 0.7705 MB / 3.225 GB, free: 107.5 MB / 0.706 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/6.994, allocations: 168.3 kB / 3.225 GB, free: 107.3 MB / 0.706 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.811e-05/6.994, allocations: 4 kB / 3.225 GB, free: 107.3 MB / 0.706 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/6.994, allocations: 11.59 kB / 3.225 GB, free: 107.3 MB / 0.706 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.945e-05/6.994, allocations: 23.97 kB / 3.225 GB, free: 107.3 MB / 0.706 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/6.994, allocations: 8 kB / 3.225 GB, free: 107.3 MB / 0.706 GB Notification: Performance of sort global known variables: time 0.000332/6.994, allocations: 350.9 kB / 3.225 GB, free: 106.9 MB / 0.706 GB Notification: Performance of remove unused functions: time 0.001232/6.996, allocations: 386.6 kB / 3.226 GB, free: 106.6 MB / 0.706 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.0024/6.998, allocations: 1.783 MB / 3.227 GB, free: 105.2 MB / 0.706 GB Notification: Performance of simCode: created initialization part: time 0.0006957/6.999, allocations: 476.6 kB / 3.228 GB, free: 104.7 MB / 0.706 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/6.999, allocations: 0 / 3.228 GB, free: 104.7 MB / 0.706 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/6.999, allocations: 127.7 kB / 3.228 GB, free: 104.6 MB / 0.706 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009494/7, allocations: 200 kB / 3.228 GB, free: 104.4 MB / 0.706 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003985/7.004, allocations: 1.588 MB / 3.23 GB, free: 102.8 MB / 0.706 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005239/7.004, allocations: 0.9694 MB / 3.231 GB, free: 101.8 MB / 0.706 GB Notification: Performance of SimCode: time 5.21e-07/7.004, allocations: 0 / 3.231 GB, free: 101.8 MB / 0.706 GB Notification: Performance of Templates: time 0.03061/7.035, allocations: 18.62 MB / 3.249 GB, free: 83.44 MB / 0.706 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & ./BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)