Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.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: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X,fileNamePrefix="Buildings_8_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.613/1.613, allocations: 289.8 MB / 297.1 MB, free: 6.621 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.001404/0.001404, allocations: 185.3 kB / 366.3 MB, free: 1.957 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.521/1.521, allocations: 205.1 MB / 0.6256 GB, free: 5.801 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.0009295/0.0009295, allocations: 91.3 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2929/0.2938, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6756/0.9695, allocations: 116.3 MB / 0.9726 GB, free: 68.21 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.245/5.215, allocations: 2.083 GB / 3.055 GB, free: 356 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/5.215, allocations: 92.78 kB / 3.055 GB, free: 356 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 1.66/6.875, allocations: 0.6011 GB / 3.656 GB, free: 119.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/6.875, allocations: 8 kB / 3.656 GB, free: 119.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/6.876, allocations: 234.8 kB / 3.657 GB, free: 119.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/6.878, allocations: 0.8754 MB / 3.657 GB, free: 118.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/6.878, allocations: 16 kB / 3.657 GB, free: 118.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.343e-05/6.878, allocations: 24 kB / 3.657 GB, free: 118.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005872/6.879, allocations: 369.4 kB / 3.658 GB, free: 118.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005891/6.879, allocations: 439 kB / 3.658 GB, free: 117.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/6.879, allocations: 0 / 3.658 GB, free: 117.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.114e-05/6.88, allocations: 7.984 kB / 3.658 GB, free: 117.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/6.88, allocations: 16.77 kB / 3.658 GB, free: 117.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002541/6.882, allocations: 2.254 MB / 3.66 GB, free: 115.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/6.882, allocations: 223.7 kB / 3.661 GB, free: 115.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/6.883, allocations: 120.8 kB / 3.661 GB, free: 115.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009421/6.884, allocations: 0.8333 MB / 3.662 GB, free: 114.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/6.884, allocations: 188.2 kB / 3.662 GB, free: 113.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 2.354e-06/6.884, allocations: 4 kB / 3.662 GB, free: 113.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.001077/6.885, allocations: 403.9 kB / 3.662 GB, free: 113.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/6.885, allocations: 106.8 kB / 3.662 GB, free: 113.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/6.885, allocations: 450.3 kB / 3.663 GB, free: 112.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/6.885, allocations: 29.7 kB / 3.663 GB, free: 112.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/6.886, allocations: 259.5 kB / 3.663 GB, free: 112.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.237e-05/6.886, allocations: 78.91 kB / 3.663 GB, free: 112.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.796e-05/6.886, allocations: 0 / 3.663 GB, free: 112.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001004/6.886, allocations: 370.7 kB / 3.663 GB, free: 112.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/6.886, allocations: 96.72 kB / 3.663 GB, free: 112.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002311/6.886, allocations: 289.5 kB / 3.664 GB, free: 111.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000444/6.887, allocations: 219.8 kB / 3.664 GB, free: 111.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/6.887, allocations: 0 / 3.664 GB, free: 111.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000756/6.887, allocations: 472.9 kB / 3.664 GB, free: 111 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003338/6.888, allocations: 1.824 MB / 3.666 GB, free: 109.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/6.888, allocations: 7.984 kB / 3.666 GB, free: 109.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/6.888, allocations: 8 kB / 3.666 GB, free: 109.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003197/6.888, allocations: 87.73 kB / 3.666 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/6.888, allocations: 11.94 kB / 3.666 GB, free: 109 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/6.889, allocations: 47.61 kB / 3.666 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.975e-05/6.889, allocations: 23.98 kB / 3.666 GB, free: 108.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.973e-06/6.889, allocations: 4.625 kB / 3.666 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006815/6.889, allocations: 386.5 kB / 3.667 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/6.889, allocations: 8.094 kB / 3.667 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.342e-06/6.889, allocations: 11.94 kB / 3.667 GB, free: 108.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002989/6.89, allocations: 75.91 kB / 3.667 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/6.89, allocations: 15.92 kB / 3.667 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/6.89, allocations: 31.73 kB / 3.667 GB, free: 108.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.478e-05/6.89, allocations: 20 kB / 3.667 GB, free: 108.3 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 (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.0001056/6.89, allocations: 129.8 kB / 3.667 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.588e-05/6.89, allocations: 59.27 kB / 3.667 GB, free: 108.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007104/6.891, allocations: 368.1 kB / 3.667 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/6.891, allocations: 4 kB / 3.667 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/6.891, allocations: 0 / 3.667 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/6.891, allocations: 3.984 kB / 3.667 GB, free: 107.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/6.892, allocations: 1.145 MB / 3.669 GB, free: 106.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/6.892, allocations: 4 kB / 3.669 GB, free: 106.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/6.893, allocations: 47.91 kB / 3.669 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/6.893, allocations: 4.281 kB / 3.669 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.308e-05/6.893, allocations: 11.98 kB / 3.669 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.588e-06/6.893, allocations: 11.84 kB / 3.669 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/6.893, allocations: 0 / 3.669 GB, free: 106.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007059/6.893, allocations: 0.6289 MB / 3.669 GB, free: 105.8 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009597/6.894, allocations: 1.073 MB / 3.67 GB, free: 104.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/6.894, allocations: 172.2 kB / 3.67 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.281e-05/6.895, allocations: 4 kB / 3.67 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/6.895, allocations: 11.98 kB / 3.67 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.142e-05/6.895, allocations: 23.89 kB / 3.67 GB, free: 104.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/6.895, allocations: 11.98 kB / 3.67 GB, free: 104.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003175/6.895, allocations: 346.9 kB / 3.671 GB, free: 104 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002779/6.898, allocations: 0.7219 MB / 3.672 GB, free: 103.3 MB / 0.948 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.002248/6.9, allocations: 1.786 MB / 3.673 GB, free: 101.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006662/6.901, allocations: 458.5 kB / 3.674 GB, free: 101.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/6.901, allocations: 2.25 kB / 3.674 GB, free: 101.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/6.901, allocations: 123.8 kB / 3.674 GB, free: 101.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009747/6.902, allocations: 187.9 kB / 3.674 GB, free: 100.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/6.906, allocations: 1.52 MB / 3.675 GB, free: 99.39 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004746/6.907, allocations: 0.9623 MB / 3.676 GB, free: 98.41 MB / 0.948 GB Notification: Performance of SimCode: time 2.81e-07/6.907, allocations: 7.938 kB / 3.676 GB, free: 98.4 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.fmu > Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1)