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_dynamic.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_dynamic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.258/1.258, allocations: 249.4 MB / 256.7 MB, free: 6.926 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.001258/0.001258, allocations: 177.2 kB / 316 MB, free: 3.539 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.192/1.192, allocations: 205.2 MB / 0.5667 GB, free: 15.6 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.0008301/0.0008301, allocations: 86.2 kB / 0.671 GB, free: 4.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3244/0.3253, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.4896, allocations: 106.3 MB / 0.8846 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.571/4.061, allocations: 2.201 GB / 3.085 GB, free: 174.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/4.061, allocations: 87.95 kB / 3.086 GB, free: 174.5 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.64/5.701, allocations: 0.5811 GB / 3.667 GB, free: 183 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/5.702, allocations: 7.25 kB / 3.667 GB, free: 183 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/5.703, allocations: 235.3 kB / 3.667 GB, free: 183 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/5.705, allocations: 0.8855 MB / 3.668 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.547e-05/5.705, allocations: 10.12 kB / 3.668 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.648e-05/5.705, allocations: 24.59 kB / 3.668 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005936/5.706, allocations: 375 kB / 3.668 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005885/5.706, allocations: 436.1 kB / 3.669 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/5.706, allocations: 6.844 kB / 3.669 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.83e-05/5.706, allocations: 0 / 3.669 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.004e-05/5.706, allocations: 19.42 kB / 3.669 GB, free: 182.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002561/5.709, allocations: 2.264 MB / 3.671 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000291/5.709, allocations: 225.8 kB / 3.671 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/5.709, allocations: 119.5 kB / 3.671 GB, free: 181.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008751/5.71, allocations: 0.8339 MB / 3.672 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/5.711, allocations: 192.8 kB / 3.672 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 2.184e-06/5.711, allocations: 0 / 3.672 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26): time 0.00103/5.712, allocations: 408.1 kB / 3.673 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.233e-05/5.712, allocations: 113.6 kB / 3.673 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004299/5.712, allocations: 453.4 kB / 3.673 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/5.712, allocations: 29.39 kB / 3.673 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/5.712, allocations: 260.3 kB / 3.673 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.59e-05/5.712, allocations: 85.12 kB / 3.673 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/5.712, allocations: 0 / 3.673 GB, free: 179.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.464e-05/5.712, allocations: 365 kB / 3.674 GB, free: 179.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/5.713, allocations: 112.3 kB / 3.674 GB, free: 179.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002143/5.713, allocations: 290.9 kB / 3.674 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004218/5.713, allocations: 232.4 kB / 3.674 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/5.713, allocations: 0 / 3.674 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000745/5.714, allocations: 476.2 kB / 3.675 GB, free: 179.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003165/5.714, allocations: 1.831 MB / 3.677 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/5.714, allocations: 10.12 kB / 3.677 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/5.714, allocations: 6.781 kB / 3.677 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003357/5.715, allocations: 83.02 kB / 3.677 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/5.715, allocations: 8.25 kB / 3.677 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003981/5.715, allocations: 47.52 kB / 3.677 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/5.715, allocations: 22.84 kB / 3.677 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.36e-06/5.715, allocations: 1.812 kB / 3.677 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006565/5.716, allocations: 401.5 kB / 3.677 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/5.716, allocations: 3.75 kB / 3.677 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.502e-06/5.716, allocations: 10.84 kB / 3.677 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/5.716, allocations: 89.06 kB / 3.677 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/5.716, allocations: 10.91 kB / 3.677 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/5.717, allocations: 37.5 kB / 3.677 GB, free: 177.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/5.717, allocations: 25.52 kB / 3.677 GB, free: 177.3 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 (47): * Single equations (assignments): 47 * 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.0001018/5.717, allocations: 116.4 kB / 3.677 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.404e-05/5.717, allocations: 55.38 kB / 3.678 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006935/5.718, allocations: 374.2 kB / 3.678 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/5.718, allocations: 3.312 kB / 3.678 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/5.718, allocations: 0 / 3.678 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/5.718, allocations: 6.703 kB / 3.678 GB, free: 177.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/5.719, allocations: 1.169 MB / 3.679 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/5.719, allocations: 3.75 kB / 3.679 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/5.719, allocations: 42.86 kB / 3.679 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/5.719, allocations: 3.875 kB / 3.679 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/5.719, allocations: 10.55 kB / 3.679 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/5.719, allocations: 3.281 kB / 3.679 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/5.719, allocations: 3.281 kB / 3.679 GB, free: 176.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008293/5.72, allocations: 0.7723 MB / 3.68 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001228/5.721, allocations: 1.367 MB / 3.681 GB, free: 175.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001745/5.722, allocations: 160.9 kB / 3.681 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.596e-05/5.722, allocations: 13.22 kB / 3.681 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/5.722, allocations: 21.92 kB / 3.681 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/5.722, allocations: 17.91 kB / 3.681 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.239e-05/5.722, allocations: 14.27 kB / 3.681 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003018/5.722, allocations: 348.4 kB / 3.682 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002671/5.725, allocations: 0.7308 MB / 3.682 GB, free: 175.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (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 (27): * Single equations (assignments): 25 * 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.001982/5.727, allocations: 1.785 MB / 3.684 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006689/5.728, allocations: 478 kB / 3.685 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/5.728, allocations: 3.062 kB / 3.685 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001528/5.728, allocations: 134.3 kB / 3.685 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009463/5.729, allocations: 189.7 kB / 3.685 GB, free: 174.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003755/5.733, allocations: 1.576 MB / 3.686 GB, free: 174.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000438/5.733, allocations: 0.9841 MB / 3.687 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.242e-06/5.733, allocations: 0 / 3.687 GB, free: 173.8 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)