Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",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 10.0.0-master/package.mo): time 2.274/2.274, allocations: 390.4 MB / 397.7 MB, free: 11.2 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.001862/0.001862, allocations: 177.3 kB / 490.8 MB, free: 1.93 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.644/1.644, allocations: 221.4 MB / 0.7863 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 94.75 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6471/0.6481, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/0.9311, allocations: 143 MB / 1.212 GB, free: 40.02 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.594/5.525, allocations: 1.888 GB / 3.1 GB, free: 427.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004882/5.525, allocations: 85.17 kB / 3.1 GB, free: 427.1 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 2.047/7.573, allocations: 0.6063 GB / 3.706 GB, free: 246.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.473e-05/7.573, allocations: 8 kB / 3.706 GB, free: 246.3 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/7.574, allocations: 241.6 kB / 3.706 GB, free: 246.1 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002755/7.577, allocations: 0.8839 MB / 3.707 GB, free: 245.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.187e-05/7.577, allocations: 12 kB / 3.707 GB, free: 245.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/7.577, allocations: 24 kB / 3.707 GB, free: 245.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006378/7.578, allocations: 337.5 kB / 3.708 GB, free: 244.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006765/7.578, allocations: 455.8 kB / 3.708 GB, free: 244.4 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/7.578, allocations: 0 / 3.708 GB, free: 244.4 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.229e-05/7.579, allocations: 0 / 3.708 GB, free: 244.4 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.629e-05/7.579, allocations: 16.77 kB / 3.708 GB, free: 244.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003127/7.582, allocations: 2.263 MB / 3.71 GB, free: 241.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003401/7.582, allocations: 246.6 kB / 3.71 GB, free: 241.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001579/7.582, allocations: 120.8 kB / 3.711 GB, free: 241.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000972/7.583, allocations: 0.8297 MB / 3.711 GB, free: 240.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/7.583, allocations: 199.5 kB / 3.712 GB, free: 240.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=27): time 2.525e-06/7.583, allocations: 0 / 3.712 GB, free: 240.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=27): time 0.001223/7.585, allocations: 410 kB / 3.712 GB, free: 240 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/7.585, allocations: 110.9 kB / 3.712 GB, free: 239.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005217/7.585, allocations: 454.2 kB / 3.712 GB, free: 239.4 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 3.94e-05/7.585, allocations: 29.7 kB / 3.712 GB, free: 239.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/7.585, allocations: 247.7 kB / 3.713 GB, free: 239.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 6.631e-05/7.586, allocations: 90.66 kB / 3.713 GB, free: 239 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/7.586, allocations: 4.031 kB / 3.713 GB, free: 239 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001009/7.586, allocations: 370.8 kB / 3.713 GB, free: 238.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/7.586, allocations: 104.8 kB / 3.713 GB, free: 238.5 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/7.586, allocations: 291.3 kB / 3.714 GB, free: 238.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/7.587, allocations: 228.4 kB / 3.714 GB, free: 237.9 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/7.587, allocations: 4 kB / 3.714 GB, free: 237.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000891/7.588, allocations: 489.2 kB / 3.714 GB, free: 237.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003927/7.588, allocations: 1.833 MB / 3.716 GB, free: 235.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/7.588, allocations: 8.094 kB / 3.716 GB, free: 235.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/7.588, allocations: 11.94 kB / 3.716 GB, free: 235.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003617/7.588, allocations: 87.83 kB / 3.716 GB, free: 235.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/7.588, allocations: 8 kB / 3.716 GB, free: 235.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005064/7.589, allocations: 43.58 kB / 3.716 GB, free: 235.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.284e-05/7.589, allocations: 27.98 kB / 3.716 GB, free: 235.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/7.589, allocations: 4 kB / 3.716 GB, free: 235.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007571/7.59, allocations: 401 kB / 3.717 GB, free: 234.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/7.59, allocations: 8 kB / 3.717 GB, free: 234.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/7.59, allocations: 8.562 kB / 3.717 GB, free: 234.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/7.59, allocations: 87.83 kB / 3.717 GB, free: 234.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/7.59, allocations: 15.92 kB / 3.717 GB, free: 234.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/7.591, allocations: 35.67 kB / 3.717 GB, free: 234.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.171e-05/7.591, allocations: 24 kB / 3.717 GB, free: 234.7 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 (49): * Single equations (assignments): 49 * 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.0001233/7.591, allocations: 120.8 kB / 3.717 GB, free: 234.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.31e-05/7.591, allocations: 63.56 kB / 3.717 GB, free: 234.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007564/7.592, allocations: 371.6 kB / 3.717 GB, free: 234.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/7.592, allocations: 7.984 kB / 3.717 GB, free: 234.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/7.592, allocations: 4 kB / 3.717 GB, free: 234.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/7.592, allocations: 0 / 3.717 GB, free: 234.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001515/7.593, allocations: 1.18 MB / 3.718 GB, free: 232.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/7.593, allocations: 0 / 3.718 GB, free: 232.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002653/7.593, allocations: 51.91 kB / 3.719 GB, free: 232.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/7.593, allocations: 4 kB / 3.719 GB, free: 232.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.829e-05/7.593, allocations: 4 kB / 3.719 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/7.593, allocations: 8.219 kB / 3.719 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/7.593, allocations: 8 kB / 3.719 GB, free: 232.8 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009057/7.594, allocations: 0.7761 MB / 3.719 GB, free: 232 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001345/7.596, allocations: 1.385 MB / 3.721 GB, free: 230.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/7.596, allocations: 168.5 kB / 3.721 GB, free: 230.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.667e-05/7.596, allocations: 4 kB / 3.721 GB, free: 230.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/7.596, allocations: 27.77 kB / 3.721 GB, free: 230.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/7.596, allocations: 15.98 kB / 3.721 GB, free: 230.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/7.596, allocations: 11.98 kB / 3.721 GB, free: 230.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.0003482/7.597, allocations: 350.9 kB / 3.721 GB, free: 229.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002893/7.6, allocations: 0.7258 MB / 3.722 GB, free: 229.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (hum.outCon.T,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 (28): * Single equations (assignments): 26 * 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.002549/7.602, allocations: 1.783 MB / 3.724 GB, free: 227.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008512/7.603, allocations: 491 kB / 3.724 GB, free: 227.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/7.603, allocations: 0 / 3.724 GB, free: 227.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001746/7.603, allocations: 133.8 kB / 3.724 GB, free: 227 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/7.604, allocations: 204.1 kB / 3.724 GB, free: 226.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004432/7.609, allocations: 1.639 MB / 3.726 GB, free: 225.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000514/7.609, allocations: 0.9788 MB / 3.727 GB, free: 224.1 MB / 1.151 GB Notification: Performance of SimCode: time 5.41e-07/7.609, allocations: 0 / 3.727 GB, free: 224.1 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)