Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.242/1.242, allocations: 249.4 MB / 256.7 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 189.2 kB / 316 MB, free: 3.551 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.171/1.171, allocations: 205.2 MB / 0.5667 GB, free: 15.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008861/0.0008861, allocations: 89.47 kB / 0.671 GB, free: 4.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3325/0.3334, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.4897, allocations: 106.3 MB / 0.8847 GB, free: 12.56 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.731/4.221, allocations: 2.201 GB / 3.085 GB, free: 203.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/4.221, allocations: 87.95 kB / 3.086 GB, free: 203.1 MB / 0.8698 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.821/6.042, allocations: 0.581 GB / 3.667 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/6.042, allocations: 7.719 kB / 3.667 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/6.044, allocations: 237.6 kB / 3.667 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002204/6.046, allocations: 0.8725 MB / 3.668 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/6.046, allocations: 15.22 kB / 3.668 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.199e-05/6.046, allocations: 32.44 kB / 3.668 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006273/6.047, allocations: 365.7 kB / 3.668 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006598/6.047, allocations: 437.3 kB / 3.668 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/6.047, allocations: 0 / 3.668 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.926e-05/6.047, allocations: 0 / 3.668 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/6.047, allocations: 22.91 kB / 3.668 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002726/6.05, allocations: 2.235 MB / 3.671 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002986/6.051, allocations: 235.6 kB / 3.671 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/6.051, allocations: 120.5 kB / 3.671 GB, free: 184.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000919/6.052, allocations: 0.8235 MB / 3.672 GB, free: 183.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002114/6.052, allocations: 179.8 kB / 3.672 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=25): time 1.673e-06/6.052, allocations: 7.594 kB / 3.672 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=25): time 0.001092/6.053, allocations: 397.3 kB / 3.672 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.032e-05/6.053, allocations: 113.2 kB / 3.672 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004482/6.053, allocations: 457.6 kB / 3.673 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.135e-05/6.053, allocations: 25.7 kB / 3.673 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/6.054, allocations: 255.9 kB / 3.673 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.073e-05/6.054, allocations: 87.73 kB / 3.673 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/6.054, allocations: 0 / 3.673 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.083e-05/6.054, allocations: 364.8 kB / 3.674 GB, free: 183 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/6.054, allocations: 97.59 kB / 3.674 GB, free: 183 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/6.054, allocations: 291.1 kB / 3.674 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004542/6.055, allocations: 220 kB / 3.674 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/6.055, allocations: 0 / 3.674 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008173/6.055, allocations: 473.5 kB / 3.675 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003555/6.056, allocations: 1.832 MB / 3.676 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/6.056, allocations: 3.875 kB / 3.676 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/6.056, allocations: 13.84 kB / 3.676 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003184/6.056, allocations: 82.5 kB / 3.677 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/6.056, allocations: 10.09 kB / 3.677 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000406/6.057, allocations: 47.06 kB / 3.677 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-05/6.057, allocations: 25.89 kB / 3.677 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.458e-06/6.057, allocations: 6.594 kB / 3.677 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006901/6.057, allocations: 385.3 kB / 3.677 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.291e-06/6.057, allocations: 3.812 kB / 3.677 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.647e-06/6.057, allocations: 13.59 kB / 3.677 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/6.058, allocations: 81.89 kB / 3.677 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/6.058, allocations: 9.875 kB / 3.677 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/6.058, allocations: 36.33 kB / 3.677 GB, free: 180.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.753e-05/6.058, allocations: 28.03 kB / 3.677 GB, free: 180.7 MB / 0.8698 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 9.701e-05/6.058, allocations: 110.2 kB / 3.677 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.141e-05/6.058, allocations: 58.59 kB / 3.677 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007019/6.059, allocations: 361 kB / 3.678 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/6.059, allocations: 3.25 kB / 3.678 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/6.059, allocations: 0 / 3.678 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/6.059, allocations: 6.734 kB / 3.678 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001428/6.06, allocations: 1.157 MB / 3.679 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/6.06, allocations: 3.5 kB / 3.679 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002008/6.061, allocations: 38.27 kB / 3.679 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/6.061, allocations: 3.188 kB / 3.679 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/6.061, allocations: 15.05 kB / 3.679 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/6.061, allocations: 3.75 kB / 3.679 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/6.061, allocations: 7.188 kB / 3.679 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006859/6.061, allocations: 0.6235 MB / 3.679 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009433/6.062, allocations: 1.07 MB / 3.68 GB, free: 178.9 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/6.063, allocations: 168.5 kB / 3.681 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.768e-05/6.063, allocations: 10.98 kB / 3.681 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/6.063, allocations: 10.47 kB / 3.681 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/6.063, allocations: 22.27 kB / 3.681 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/6.063, allocations: 11.16 kB / 3.681 GB, free: 178.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003028/6.063, allocations: 349.4 kB / 3.681 GB, free: 178.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00288/6.066, allocations: 0.7265 MB / 3.682 GB, free: 178.7 MB / 0.8698 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.00253/6.069, allocations: 1.79 MB / 3.683 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007706/6.07, allocations: 462.3 kB / 3.684 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/6.07, allocations: 0 / 3.684 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001928/6.07, allocations: 127.9 kB / 3.684 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/6.071, allocations: 192.1 kB / 3.684 GB, free: 178.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004527/6.075, allocations: 1.527 MB / 3.686 GB, free: 177.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007026/6.076, allocations: 0.9678 MB / 3.687 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.222e-06/6.076, allocations: 0 / 3.687 GB, free: 177.2 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X.pipe 2>&1)