Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.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,fileNamePrefix="Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.231/2.231, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.001828/0.001828, allocations: 172 kB / 490.8 MB, free: 1.973 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.666/1.666, allocations: 221.3 MB / 0.7863 GB, free: 13.75 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.001101/0.0011, allocations: 84.62 kB / 0.9264 GB, free: 14.28 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6544/0.6555, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.9212, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.946/5.867, allocations: 1.888 GB / 3.1 GB, free: 430.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/5.868, allocations: 85.25 kB / 3.1 GB, free: 430.9 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.174/8.042, allocations: 0.6061 GB / 3.706 GB, free: 261.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.51e-05/8.042, allocations: 12 kB / 3.706 GB, free: 261.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/8.044, allocations: 232.7 kB / 3.706 GB, free: 261.7 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003012/8.047, allocations: 0.8914 MB / 3.707 GB, free: 260.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/8.047, allocations: 12 kB / 3.707 GB, free: 260.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/8.047, allocations: 27.28 kB / 3.707 GB, free: 260.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007583/8.048, allocations: 353.3 kB / 3.707 GB, free: 260.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006982/8.049, allocations: 435 kB / 3.708 GB, free: 260 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/8.049, allocations: 3.984 kB / 3.708 GB, free: 260 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/8.049, allocations: 0 / 3.708 GB, free: 260 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.002e-05/8.049, allocations: 20.78 kB / 3.708 GB, free: 260 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003273/8.052, allocations: 2.247 MB / 3.71 GB, free: 257.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003219/8.053, allocations: 234.4 kB / 3.71 GB, free: 257.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001587/8.053, allocations: 123.8 kB / 3.71 GB, free: 257.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001053/8.054, allocations: 0.8207 MB / 3.711 GB, free: 256.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000257/8.054, allocations: 177.6 kB / 3.711 GB, free: 256 MB / 1.151 GB Notification: Performance of pre-optimization done (n=25): time 3.015e-06/8.054, allocations: 0 / 3.711 GB, free: 256 MB / 1.151 GB Notification: Performance of matching and sorting (n=25): time 0.001333/8.055, allocations: 405.4 kB / 3.712 GB, free: 255.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/8.056, allocations: 110.8 kB / 3.712 GB, free: 255.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006654/8.056, allocations: 454.2 kB / 3.712 GB, free: 255.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/8.056, allocations: 25.7 kB / 3.712 GB, free: 255 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/8.056, allocations: 259.3 kB / 3.712 GB, free: 254.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.226e-05/8.057, allocations: 78.84 kB / 3.713 GB, free: 254.7 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.841e-05/8.057, allocations: 0 / 3.713 GB, free: 254.7 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001287/8.057, allocations: 366.8 kB / 3.713 GB, free: 254.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/8.057, allocations: 96.7 kB / 3.713 GB, free: 254.2 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002449/8.057, allocations: 283 kB / 3.713 GB, free: 253.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005079/8.058, allocations: 228.9 kB / 3.713 GB, free: 253.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/8.058, allocations: 0 / 3.713 GB, free: 253.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008897/8.059, allocations: 475.9 kB / 3.714 GB, free: 253.2 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004425/8.059, allocations: 1.825 MB / 3.716 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.471e-05/8.059, allocations: 10.53 kB / 3.716 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/8.059, allocations: 8 kB / 3.716 GB, free: 251.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/8.059, allocations: 79.89 kB / 3.716 GB, free: 251.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/8.059, allocations: 11.94 kB / 3.716 GB, free: 251.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004717/8.06, allocations: 46.36 kB / 3.716 GB, free: 251.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.72e-05/8.06, allocations: 23.98 kB / 3.716 GB, free: 251.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/8.06, allocations: 4 kB / 3.716 GB, free: 251.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007687/8.061, allocations: 386.4 kB / 3.716 GB, free: 250.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/8.061, allocations: 4.094 kB / 3.716 GB, free: 250.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/8.061, allocations: 11.94 kB / 3.716 GB, free: 250.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/8.061, allocations: 83.83 kB / 3.716 GB, free: 250.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/8.061, allocations: 8 kB / 3.716 GB, free: 250.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004379/8.062, allocations: 38.3 kB / 3.716 GB, free: 250.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.701e-05/8.062, allocations: 23.98 kB / 3.716 GB, free: 250.5 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.0001447/8.062, allocations: 123.2 kB / 3.717 GB, free: 250.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.857e-05/8.062, allocations: 61.81 kB / 3.717 GB, free: 250.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007572/8.063, allocations: 359.3 kB / 3.717 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/8.063, allocations: 6.594 kB / 3.717 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/8.063, allocations: 0 / 3.717 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/8.063, allocations: 0 / 3.717 GB, free: 250 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/8.064, allocations: 1.16 MB / 3.718 GB, free: 248.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/8.064, allocations: 0 / 3.718 GB, free: 248.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002166/8.065, allocations: 51.91 kB / 3.718 GB, free: 248.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/8.065, allocations: 0 / 3.718 GB, free: 248.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/8.065, allocations: 14.72 kB / 3.718 GB, free: 248.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/8.065, allocations: 4 kB / 3.718 GB, free: 248.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/8.065, allocations: 0 / 3.718 GB, free: 248.7 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008058/8.065, allocations: 0.6316 MB / 3.719 GB, free: 248 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001187/8.067, allocations: 1.07 MB / 3.72 GB, free: 246.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002401/8.067, allocations: 160.4 kB / 3.72 GB, free: 246.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/8.067, allocations: 11.98 kB / 3.72 GB, free: 246.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/8.067, allocations: 17.28 kB / 3.72 GB, free: 246.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.702e-05/8.067, allocations: 19.97 kB / 3.72 GB, free: 246.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.619e-05/8.067, allocations: 12 kB / 3.72 GB, free: 246.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.000386/8.068, allocations: 350.9 kB / 3.72 GB, free: 246.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00341/8.071, allocations: 0.7179 MB / 3.721 GB, free: 245.5 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.003352/8.075, allocations: 1.785 MB / 3.723 GB, free: 244 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0008127/8.075, allocations: 460.3 kB / 3.723 GB, free: 243.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/8.075, allocations: 0 / 3.723 GB, free: 243.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0001884/8.076, allocations: 120.5 kB / 3.723 GB, free: 243.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/8.077, allocations: 199.8 kB / 3.724 GB, free: 243.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004598/8.081, allocations: 1.529 MB / 3.725 GB, free: 241.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006137/8.082, allocations: 0.9662 MB / 3.726 GB, free: 240.7 MB / 1.151 GB Notification: Performance of SimCode: time 1.352e-06/8.082, allocations: 0 / 3.726 GB, free: 240.7 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.fmu > Buildings_latest_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1)