Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_8_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.664/1.664, allocations: 289.8 MB / 297 MB, free: 6.602 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.001426/0.001426, allocations: 180.2 kB / 366.3 MB, free: 1.93 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.643/1.643, allocations: 205.1 MB / 0.6256 GB, free: 5.762 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.001034/0.001034, allocations: 94.08 kB / 0.7395 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.307/0.3081, allocations: 122.4 MB / 0.8591 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9116/1.22, allocations: 116.3 MB / 0.9726 GB, free: 68.72 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.497/5.717, allocations: 2.083 GB / 3.055 GB, free: 356.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/5.717, allocations: 88.52 kB / 3.055 GB, free: 356.5 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.902/7.62, allocations: 0.6012 GB / 3.656 GB, free: 121.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/7.62, allocations: 8 kB / 3.656 GB, free: 121.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/7.621, allocations: 234.8 kB / 3.657 GB, free: 120.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/7.624, allocations: 0.8855 MB / 3.658 GB, free: 120 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/7.624, allocations: 12 kB / 3.658 GB, free: 119.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/7.624, allocations: 24 kB / 3.658 GB, free: 119.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006739/7.625, allocations: 369.5 kB / 3.658 GB, free: 119.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006525/7.625, allocations: 442.9 kB / 3.658 GB, free: 119.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/7.625, allocations: 0 / 3.658 GB, free: 119.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.151e-05/7.625, allocations: 0 / 3.658 GB, free: 119.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.011e-05/7.625, allocations: 16.78 kB / 3.658 GB, free: 119.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003068/7.628, allocations: 2.274 MB / 3.661 GB, free: 116.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/7.629, allocations: 235.9 kB / 3.661 GB, free: 116.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001482/7.629, allocations: 121.7 kB / 3.661 GB, free: 116.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00094/7.63, allocations: 0.8299 MB / 3.662 GB, free: 115.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002272/7.63, allocations: 187.9 kB / 3.662 GB, free: 115.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 2.024e-06/7.63, allocations: 0 / 3.662 GB, free: 115.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=26): time 0.001223/7.631, allocations: 406 kB / 3.662 GB, free: 114.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/7.631, allocations: 111 kB / 3.662 GB, free: 114.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004906/7.632, allocations: 454.3 kB / 3.663 GB, free: 114.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/7.632, allocations: 25.7 kB / 3.663 GB, free: 114 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/7.632, allocations: 255.6 kB / 3.663 GB, free: 113.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 6.279e-05/7.632, allocations: 90.73 kB / 3.663 GB, free: 113.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/7.632, allocations: 0 / 3.663 GB, free: 113.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.694e-05/7.632, allocations: 366.8 kB / 3.664 GB, free: 113.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/7.632, allocations: 96.84 kB / 3.664 GB, free: 113.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/7.633, allocations: 300.3 kB / 3.664 GB, free: 112.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/7.633, allocations: 220.1 kB / 3.664 GB, free: 112.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/7.633, allocations: 0 / 3.664 GB, free: 112.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008325/7.634, allocations: 487.6 kB / 3.665 GB, free: 112.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003762/7.634, allocations: 1.829 MB / 3.666 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/7.634, allocations: 8 kB / 3.666 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.272e-05/7.634, allocations: 8 kB / 3.666 GB, free: 110.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/7.635, allocations: 83.83 kB / 3.666 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/7.635, allocations: 4 kB / 3.666 GB, free: 110.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/7.635, allocations: 51.52 kB / 3.667 GB, free: 110 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.639e-05/7.635, allocations: 27.98 kB / 3.667 GB, free: 110 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.696e-06/7.635, allocations: 7.938 kB / 3.667 GB, free: 110 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007234/7.636, allocations: 399.8 kB / 3.667 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/7.636, allocations: 7.938 kB / 3.667 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.817e-06/7.636, allocations: 8 kB / 3.667 GB, free: 109.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003188/7.636, allocations: 79.94 kB / 3.667 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/7.636, allocations: 11.94 kB / 3.667 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/7.637, allocations: 40 kB / 3.667 GB, free: 109.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.305e-05/7.637, allocations: 23.98 kB / 3.667 GB, free: 109.4 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 (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.0001298/7.637, allocations: 121.7 kB / 3.667 GB, free: 109.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.934e-05/7.637, allocations: 55.25 kB / 3.667 GB, free: 109.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007548/7.638, allocations: 372.7 kB / 3.668 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.413e-06/7.638, allocations: 4 kB / 3.668 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/7.638, allocations: 96 / 3.668 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/7.638, allocations: 11.92 kB / 3.668 GB, free: 108.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/7.64, allocations: 1.159 MB / 3.669 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/7.64, allocations: 8.031 kB / 3.669 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002497/7.64, allocations: 43.91 kB / 3.669 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/7.64, allocations: 4 kB / 3.669 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.722e-05/7.64, allocations: 4 kB / 3.669 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/7.64, allocations: 7.938 kB / 3.669 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/7.64, allocations: 4 kB / 3.669 GB, free: 107.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009957/7.641, allocations: 0.7776 MB / 3.67 GB, free: 106.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001558/7.643, allocations: 1.362 MB / 3.671 GB, free: 105.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002348/7.643, allocations: 168.2 kB / 3.671 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/7.643, allocations: 8 kB / 3.671 GB, free: 105.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003066/7.643, allocations: 7.984 kB / 3.671 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.659e-05/7.643, allocations: 31.94 kB / 3.671 GB, free: 105 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/7.643, allocations: 12 kB / 3.671 GB, free: 105 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0003764/7.644, allocations: 350.9 kB / 3.671 GB, free: 104.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003265/7.647, allocations: 0.7219 MB / 3.672 GB, free: 103.9 MB / 0.948 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.002668/7.65, allocations: 1.79 MB / 3.674 GB, free: 102.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008481/7.65, allocations: 484.7 kB / 3.674 GB, free: 101.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/7.651, allocations: 0 / 3.674 GB, free: 101.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001866/7.651, allocations: 124.8 kB / 3.675 GB, free: 101.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/7.652, allocations: 199.2 kB / 3.675 GB, free: 101.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004306/7.656, allocations: 1.579 MB / 3.676 GB, free: 99.71 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005745/7.657, allocations: 0.9761 MB / 3.677 GB, free: 98.71 MB / 0.948 GB Notification: Performance of SimCode: time 4.5e-07/7.657, allocations: 0 / 3.677 GB, free: 98.71 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > Buildings_8_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)