Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X,fileNamePrefix="Buildings_9_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X,fileNamePrefix="Buildings_9_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X",fmuType="me",version="2.0",platforms={"static"}) [: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 9.1.1-maint.9.1.x/package.mo): time 2.181/2.181, allocations: 387.2 MB / 394.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 185.2 kB / 487 MB, free: 5.312 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 221.3 MB / 0.7819 GB, free: 1.387 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 98.94 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.68/0.681, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.9594, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.976/4.936, allocations: 1.887 GB / 3.093 GB, free: 431.2 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/4.936, allocations: 88.7 kB / 3.093 GB, free: 431.2 MB / 1.151 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 1.592/6.528, allocations: 0.6061 GB / 3.699 GB, free: 258.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/6.528, allocations: 13 kB / 3.699 GB, free: 258.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/6.53, allocations: 230.8 kB / 3.699 GB, free: 258.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002284/6.532, allocations: 0.8817 MB / 3.7 GB, free: 257.7 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/6.532, allocations: 12 kB / 3.7 GB, free: 257.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/6.532, allocations: 31.98 kB / 3.7 GB, free: 257.6 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005405/6.533, allocations: 341.5 kB / 3.7 GB, free: 257.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005872/6.533, allocations: 443 kB / 3.701 GB, free: 256.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/6.533, allocations: 0 / 3.701 GB, free: 256.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.988e-05/6.533, allocations: 0 / 3.701 GB, free: 256.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/6.533, allocations: 24.7 kB / 3.701 GB, free: 256.8 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/6.536, allocations: 2.256 MB / 3.703 GB, free: 254.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/6.536, allocations: 228.8 kB / 3.703 GB, free: 254.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/6.536, allocations: 120.8 kB / 3.703 GB, free: 254 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000906/6.537, allocations: 0.8278 MB / 3.704 GB, free: 253 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000203/6.537, allocations: 179.1 kB / 3.704 GB, free: 252.8 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 2.034e-06/6.537, allocations: 0 / 3.704 GB, free: 252.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.0009754/6.538, allocations: 409 kB / 3.705 GB, free: 252.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/6.538, allocations: 102.8 kB / 3.705 GB, free: 252.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004093/6.539, allocations: 466.2 kB / 3.705 GB, free: 251.9 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/6.539, allocations: 25.7 kB / 3.705 GB, free: 251.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001103/6.539, allocations: 255.6 kB / 3.705 GB, free: 251.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 5.17e-05/6.539, allocations: 82.78 kB / 3.705 GB, free: 251.5 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/6.539, allocations: 0 / 3.705 GB, free: 251.5 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.608e-05/6.539, allocations: 362.8 kB / 3.706 GB, free: 251.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/6.539, allocations: 100.7 kB / 3.706 GB, free: 251 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/6.539, allocations: 280.7 kB / 3.706 GB, free: 250.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/6.54, allocations: 219.7 kB / 3.706 GB, free: 250.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/6.54, allocations: 3.906 kB / 3.706 GB, free: 250.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007179/6.541, allocations: 479.6 kB / 3.707 GB, free: 250 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002975/6.541, allocations: 1.829 MB / 3.709 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/6.541, allocations: 4 kB / 3.709 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/6.541, allocations: 8 kB / 3.709 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003279/6.541, allocations: 75.91 kB / 3.709 GB, free: 247.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/6.541, allocations: 19.92 kB / 3.709 GB, free: 247.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000364/6.542, allocations: 47.58 kB / 3.709 GB, free: 247.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/6.542, allocations: 20 kB / 3.709 GB, free: 247.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.961e-06/6.542, allocations: 7.062 kB / 3.709 GB, free: 247.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006497/6.542, allocations: 387.7 kB / 3.709 GB, free: 247.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/6.542, allocations: 4 kB / 3.709 GB, free: 247.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/6.542, allocations: 8 kB / 3.709 GB, free: 247.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/6.543, allocations: 83.83 kB / 3.709 GB, free: 247.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/6.543, allocations: 8 kB / 3.709 GB, free: 247.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00029/6.543, allocations: 35.92 kB / 3.709 GB, free: 247.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.49e-05/6.543, allocations: 20 kB / 3.709 GB, free: 247.3 MB / 1.151 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.000111/6.543, allocations: 125.6 kB / 3.709 GB, free: 247.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-05/6.543, allocations: 59.19 kB / 3.709 GB, free: 247.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007299/6.544, allocations: 362.9 kB / 3.71 GB, free: 246.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/6.544, allocations: 0 / 3.71 GB, free: 246.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/6.544, allocations: 4 kB / 3.71 GB, free: 246.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/6.544, allocations: 0 / 3.71 GB, free: 246.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/6.546, allocations: 1.155 MB / 3.711 GB, free: 245.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/6.546, allocations: 288 / 3.711 GB, free: 245.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/6.546, allocations: 47.92 kB / 3.711 GB, free: 245.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/6.546, allocations: 4 kB / 3.711 GB, free: 245.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/6.546, allocations: 11.98 kB / 3.711 GB, free: 245.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/6.546, allocations: 0 / 3.711 GB, free: 245.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/6.546, allocations: 8 kB / 3.711 GB, free: 245.4 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007014/6.547, allocations: 0.634 MB / 3.712 GB, free: 244.7 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009613/6.548, allocations: 1.075 MB / 3.713 GB, free: 243.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/6.548, allocations: 168.3 kB / 3.713 GB, free: 243.4 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.249e-05/6.548, allocations: 4 kB / 3.713 GB, free: 243.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000254/6.548, allocations: 15.17 kB / 3.713 GB, free: 243.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/6.548, allocations: 19.98 kB / 3.713 GB, free: 243.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.369e-05/6.548, allocations: 15.98 kB / 3.713 GB, free: 243.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003182/6.549, allocations: 346.9 kB / 3.713 GB, free: 243 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002817/6.551, allocations: 0.7251 MB / 3.714 GB, free: 242.2 MB / 1.151 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.002143/6.553, allocations: 1.785 MB / 3.716 GB, free: 240.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000598/6.554, allocations: 452.4 kB / 3.716 GB, free: 240.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/6.554, allocations: 0 / 3.716 GB, free: 240.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/6.554, allocations: 124.4 kB / 3.716 GB, free: 240.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000887/6.555, allocations: 193.6 kB / 3.716 GB, free: 239.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003786/6.559, allocations: 1.521 MB / 3.718 GB, free: 238.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004154/6.559, allocations: 0.9623 MB / 3.719 GB, free: 237.4 MB / 1.151 GB Notification: Performance of SimCode: time 4.01e-07/6.559, allocations: 0 / 3.719 GB, free: 237.4 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.fmu > Buildings_9_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1)