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.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: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.391/1.391, allocations: 285.5 MB / 292.8 MB, free: 10.43 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.0009846/0.0009844, allocations: 189.2 kB / 361.1 MB, free: 7.109 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.158/1.158, allocations: 205.1 MB / 0.6195 GB, free: 10.35 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.0008431/0.0008432, allocations: 102.1 kB / 0.7326 GB, free: 44.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1997/0.2006, allocations: 121.4 MB / 0.8511 GB, free: 2.938 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4504/0.651, allocations: 115.3 MB / 0.9637 GB, free: 78.12 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.267/3.918, allocations: 2.082 GB / 3.045 GB, free: 45.02 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/3.919, allocations: 88.89 kB / 3.045 GB, free: 44.93 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.877/5.796, allocations: 0.6011 GB / 3.646 GB, free: 183.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/5.796, allocations: 12.5 kB / 3.646 GB, free: 183.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/5.797, allocations: 242.8 kB / 3.647 GB, free: 182.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/5.799, allocations: 0.8695 MB / 3.648 GB, free: 182 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/5.799, allocations: 12 kB / 3.648 GB, free: 182 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.232e-05/5.8, allocations: 24 kB / 3.648 GB, free: 182 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006515/5.8, allocations: 373.4 kB / 3.648 GB, free: 181.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006282/5.801, allocations: 435 kB / 3.648 GB, free: 181.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/5.801, allocations: 0 / 3.648 GB, free: 181.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.906e-05/5.801, allocations: 2.953 kB / 3.648 GB, free: 181.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.933e-05/5.801, allocations: 20.78 kB / 3.648 GB, free: 181.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002733/5.804, allocations: 2.248 MB / 3.651 GB, free: 178.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/5.804, allocations: 227 kB / 3.651 GB, free: 178.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/5.804, allocations: 121.6 kB / 3.651 GB, free: 178.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009002/5.805, allocations: 0.8328 MB / 3.652 GB, free: 177.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002017/5.805, allocations: 177.9 kB / 3.652 GB, free: 177.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 1.964e-06/5.805, allocations: 0 / 3.652 GB, free: 177.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.00106/5.806, allocations: 405.5 kB / 3.652 GB, free: 176.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/5.806, allocations: 112.2 kB / 3.652 GB, free: 176.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004622/5.807, allocations: 450.3 kB / 3.653 GB, free: 176.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/5.807, allocations: 25.7 kB / 3.653 GB, free: 176.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/5.807, allocations: 259.5 kB / 3.653 GB, free: 175.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.851e-05/5.807, allocations: 78.91 kB / 3.653 GB, free: 175.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.679e-05/5.807, allocations: 0 / 3.653 GB, free: 175.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.172e-05/5.807, allocations: 362.8 kB / 3.654 GB, free: 175.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/5.807, allocations: 100.7 kB / 3.654 GB, free: 175.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/5.808, allocations: 289.5 kB / 3.654 GB, free: 175 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004805/5.808, allocations: 227.8 kB / 3.654 GB, free: 174.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/5.808, allocations: 0 / 3.654 GB, free: 174.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008043/5.809, allocations: 476.5 kB / 3.655 GB, free: 174.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003159/5.809, allocations: 1.828 MB / 3.656 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/5.809, allocations: 4 kB / 3.656 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/5.809, allocations: 8 kB / 3.656 GB, free: 172.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003158/5.81, allocations: 83.89 kB / 3.656 GB, free: 172.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/5.81, allocations: 11.94 kB / 3.656 GB, free: 172.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/5.81, allocations: 47.52 kB / 3.656 GB, free: 172.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.857e-05/5.81, allocations: 28.12 kB / 3.657 GB, free: 172.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.072e-06/5.81, allocations: 0 / 3.657 GB, free: 172.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006713/5.811, allocations: 386.2 kB / 3.657 GB, free: 171.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/5.811, allocations: 4 kB / 3.657 GB, free: 171.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.813e-06/5.811, allocations: 8 kB / 3.657 GB, free: 171.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/5.811, allocations: 87.83 kB / 3.657 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/5.811, allocations: 4 kB / 3.657 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003533/5.811, allocations: 40.2 kB / 3.657 GB, free: 171.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/5.811, allocations: 28.08 kB / 3.657 GB, free: 171.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 (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.0001008/5.812, allocations: 123.5 kB / 3.657 GB, free: 171.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.262e-05/5.812, allocations: 59.25 kB / 3.657 GB, free: 171.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006949/5.812, allocations: 357.5 kB / 3.658 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/5.812, allocations: 4 kB / 3.658 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/5.812, allocations: 4 kB / 3.658 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/5.812, allocations: 0 / 3.658 GB, free: 171.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/5.814, allocations: 1.156 MB / 3.659 GB, free: 169.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/5.814, allocations: 4 kB / 3.659 GB, free: 169.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/5.814, allocations: 50.86 kB / 3.659 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/5.814, allocations: 4 kB / 3.659 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/5.814, allocations: 4 kB / 3.659 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/5.814, allocations: 7.984 kB / 3.659 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/5.814, allocations: 4 kB / 3.659 GB, free: 169.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006636/5.815, allocations: 0.6327 MB / 3.659 GB, free: 169.1 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009404/5.816, allocations: 1.073 MB / 3.66 GB, free: 167.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/5.816, allocations: 164.2 kB / 3.661 GB, free: 167.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.655e-05/5.816, allocations: 8 kB / 3.661 GB, free: 167.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/5.816, allocations: 12 kB / 3.661 GB, free: 167.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/5.816, allocations: 15.97 kB / 3.661 GB, free: 167.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/5.816, allocations: 23.91 kB / 3.661 GB, free: 167.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002979/5.817, allocations: 350.9 kB / 3.661 GB, free: 167.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002993/5.82, allocations: 0.7141 MB / 3.662 GB, free: 166.6 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.002394/5.822, allocations: 1.784 MB / 3.663 GB, free: 165 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006176/5.823, allocations: 468 kB / 3.664 GB, free: 164.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/5.823, allocations: 0.875 kB / 3.664 GB, free: 164.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000157/5.823, allocations: 123.8 kB / 3.664 GB, free: 164.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009347/5.824, allocations: 194.6 kB / 3.664 GB, free: 164.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003779/5.828, allocations: 1.521 MB / 3.666 GB, free: 162.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005123/5.828, allocations: 0.9623 MB / 3.667 GB, free: 161.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.9e-07/5.828, allocations: 0 / 3.667 GB, free: 161.7 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1)