Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X") translateModel(BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X") [: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.7922/0.7922, allocations: 141.8 MB / 149.1 MB, free: 3.93 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 187.2 kB / 181.9 MB, free: 15.62 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.611/1.611, allocations: 221.3 MB / 436 MB, free: 8.707 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 89.98 kB / 0.507 GB, free: 24.18 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002355/0.002355, allocations: 269.7 kB / 0.5884 GB, free: 11.75 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.729e-06/9.829e-06, allocations: 0 / 0.6759 GB, free: 2.125 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5473/0.5474, allocations: 82.76 MB / 0.7567 GB, free: 112.3 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.091/4.638, allocations: 1.848 GB / 2.605 GB, free: 227 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/4.639, allocations: 84.73 kB / 2.605 GB, free: 226.9 MB / 0.6982 GB Notification: Performance of FrontEnd: time 2.059/6.698, allocations: 0.6054 GB / 3.21 GB, free: 139.2 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 9.641e-05/6.698, allocations: 17.38 kB / 3.21 GB, free: 139.2 MB / 0.6982 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.003653/6.702, allocations: 1.044 MB / 3.211 GB, free: 138.4 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/6.702, allocations: 10.94 kB / 3.211 GB, free: 138.4 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001778/6.704, allocations: 233.1 kB / 3.212 GB, free: 138.3 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003233/6.707, allocations: 0.8946 MB / 3.213 GB, free: 137.7 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.663e-05/6.707, allocations: 14.19 kB / 3.213 GB, free: 137.7 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001628/6.707, allocations: 28.88 kB / 3.213 GB, free: 137.7 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007767/6.708, allocations: 342.5 kB / 3.213 GB, free: 137.6 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/6.709, allocations: 443.8 kB / 3.213 GB, free: 137.3 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/6.709, allocations: 0.5 kB / 3.213 GB, free: 137.3 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.339e-05/6.709, allocations: 1.031 kB / 3.213 GB, free: 137.3 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-05/6.709, allocations: 13.28 kB / 3.213 GB, free: 137.3 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004457/6.714, allocations: 2.247 MB / 3.216 GB, free: 135.4 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/6.714, allocations: 233.6 kB / 3.216 GB, free: 135.2 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/6.714, allocations: 119.2 kB / 3.216 GB, free: 135.2 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001145/6.715, allocations: 0.8273 MB / 3.217 GB, free: 134.3 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002836/6.716, allocations: 189 kB / 3.217 GB, free: 134.2 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=25): time 2.845e-06/6.716, allocations: 0.9375 kB / 3.217 GB, free: 134.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=25): time 0.001399/6.717, allocations: 395.8 kB / 3.217 GB, free: 134 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/6.717, allocations: 113.4 kB / 3.217 GB, free: 133.8 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007496/6.718, allocations: 458.4 kB / 3.218 GB, free: 133.6 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 4.783e-05/6.718, allocations: 27.23 kB / 3.218 GB, free: 133.6 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/6.718, allocations: 265 kB / 3.218 GB, free: 133.3 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 8.678e-05/6.718, allocations: 78.81 kB / 3.218 GB, free: 133.3 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.786e-05/6.718, allocations: 0 / 3.218 GB, free: 133.3 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 0.0001265/6.719, allocations: 370.1 kB / 3.219 GB, free: 132.9 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001995/6.719, allocations: 100.8 kB / 3.219 GB, free: 132.9 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003095/6.719, allocations: 287.2 kB / 3.219 GB, free: 132.6 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005995/6.72, allocations: 224.3 kB / 3.219 GB, free: 132.5 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/6.72, allocations: 5.156 kB / 3.219 GB, free: 132.5 MB / 0.6982 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001104/6.721, allocations: 469.1 kB / 3.22 GB, free: 132.3 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004428/6.721, allocations: 1.828 MB / 3.221 GB, free: 130.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/6.721, allocations: 8.984 kB / 3.221 GB, free: 130.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.007e-05/6.721, allocations: 7.188 kB / 3.221 GB, free: 130.3 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003884/6.722, allocations: 78.06 kB / 3.221 GB, free: 130.3 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/6.722, allocations: 14.92 kB / 3.221 GB, free: 130.3 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/6.722, allocations: 41.02 kB / 3.221 GB, free: 130.3 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.346e-05/6.722, allocations: 21.78 kB / 3.221 GB, free: 130.3 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/6.722, allocations: 5.562 kB / 3.222 GB, free: 130.3 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009065/6.723, allocations: 393 kB / 3.222 GB, free: 130.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/6.723, allocations: 6.438 kB / 3.222 GB, free: 130.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/6.723, allocations: 7.75 kB / 3.222 GB, free: 130.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003639/6.724, allocations: 81.23 kB / 3.222 GB, free: 130.1 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/6.724, allocations: 11.16 kB / 3.222 GB, free: 130.1 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/6.724, allocations: 37.55 kB / 3.222 GB, free: 130.1 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/6.724, allocations: 20.62 kB / 3.222 GB, free: 130.1 MB / 0.6982 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 (45): * Single equations (assignments): 45 * 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.0001497/6.724, allocations: 125.8 kB / 3.222 GB, free: 129.9 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/6.725, allocations: 53.03 kB / 3.222 GB, free: 129.9 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009128/6.725, allocations: 360.8 kB / 3.223 GB, free: 129.7 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/6.725, allocations: 7.234 kB / 3.223 GB, free: 129.7 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/6.725, allocations: 1.031 kB / 3.223 GB, free: 129.7 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/6.726, allocations: 1.031 kB / 3.223 GB, free: 129.7 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001974/6.727, allocations: 1.156 MB / 3.224 GB, free: 128.7 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/6.728, allocations: 0 / 3.224 GB, free: 128.7 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/6.728, allocations: 43.92 kB / 3.224 GB, free: 128.7 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/6.728, allocations: 4 kB / 3.224 GB, free: 128.7 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.535e-05/6.728, allocations: 7.984 kB / 3.224 GB, free: 128.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/6.728, allocations: 4 kB / 3.224 GB, free: 128.7 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.503e-06/6.728, allocations: 14.91 kB / 3.224 GB, free: 128.6 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007712/6.729, allocations: 0.619 MB / 3.224 GB, free: 127.9 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002434/6.729, allocations: 164.3 kB / 3.225 GB, free: 127.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.982e-05/6.729, allocations: 8 kB / 3.225 GB, free: 127.8 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002997/6.729, allocations: 19.83 kB / 3.225 GB, free: 127.7 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/6.729, allocations: 22.53 kB / 3.225 GB, free: 127.7 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/6.729, allocations: 19.92 kB / 3.225 GB, free: 127.7 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0003647/6.73, allocations: 346.9 kB / 3.225 GB, free: 127.4 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001443/6.731, allocations: 375.3 kB / 3.225 GB, free: 127 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * 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 (26): * Single equations (assignments): 24 * 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.002739/6.734, allocations: 1.776 MB / 3.227 GB, free: 125.6 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0008051/6.735, allocations: 466.1 kB / 3.227 GB, free: 125.2 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/6.735, allocations: 0 / 3.227 GB, free: 125.2 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0001779/6.735, allocations: 122.1 kB / 3.228 GB, free: 125.1 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/6.736, allocations: 195.7 kB / 3.228 GB, free: 124.9 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004161/6.74, allocations: 1.521 MB / 3.229 GB, free: 123.4 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005249/6.741, allocations: 0.9655 MB / 3.23 GB, free: 122.4 MB / 0.6982 GB Notification: Performance of SimCode: time 6.61e-07/6.741, allocations: 0 / 3.23 GB, free: 122.4 MB / 0.6982 GB Notification: Performance of Templates: time 0.03015/6.771, allocations: 18.42 MB / 3.248 GB, free: 104.7 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & ./BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1)