Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.432/1.432, allocations: 285.5 MB / 292.8 MB, free: 9.895 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.001019/0.001019, allocations: 193.1 kB / 361.1 MB, free: 348 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.156/1.156, allocations: 205.1 MB / 0.6195 GB, free: 2.828 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008435/0.0008435, allocations: 78.75 kB / 0.7326 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4327/0.4336, allocations: 121.4 MB / 0.8511 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.6172, allocations: 115.3 MB / 0.9638 GB, free: 56.23 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.461/4.078, allocations: 2.082 GB / 3.045 GB, free: 239.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000253/4.078, allocations: 87.39 kB / 3.045 GB, free: 239.8 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.378/5.456, allocations: 0.6012 GB / 3.647 GB, free: 4.773 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/5.456, allocations: 12.5 kB / 3.647 GB, free: 4.762 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/5.457, allocations: 230.9 kB / 3.647 GB, free: 4.535 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/5.459, allocations: 0.8816 MB / 3.648 GB, free: 3.613 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/5.46, allocations: 16 kB / 3.648 GB, free: 3.598 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-05/5.46, allocations: 27.94 kB / 3.648 GB, free: 3.57 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000593/5.46, allocations: 369.5 kB / 3.648 GB, free: 3.211 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005787/5.461, allocations: 446.8 kB / 3.648 GB, free: 2.754 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/5.461, allocations: 0 / 3.648 GB, free: 2.754 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/5.461, allocations: 0 / 3.648 GB, free: 2.754 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.528e-05/5.461, allocations: 24.77 kB / 3.649 GB, free: 2.73 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/5.464, allocations: 2.253 MB / 3.651 GB, free: 288 kB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003497/5.464, allocations: 234.6 kB / 3.651 GB, free: 44 kB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2918/5.756, allocations: 125.2 kB / 3.651 GB, free: 315.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009774/5.757, allocations: 0.8303 MB / 3.652 GB, free: 314.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/5.757, allocations: 185.9 kB / 3.652 GB, free: 314.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 2.444e-06/5.757, allocations: 3.75 kB / 3.652 GB, free: 314.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=26): time 0.001094/5.758, allocations: 406.8 kB / 3.652 GB, free: 314.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/5.758, allocations: 114.2 kB / 3.653 GB, free: 314.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004671/5.759, allocations: 451.5 kB / 3.653 GB, free: 314 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/5.759, allocations: 25.7 kB / 3.653 GB, free: 314 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/5.759, allocations: 260 kB / 3.653 GB, free: 313.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.527e-05/5.759, allocations: 90.02 kB / 3.653 GB, free: 313.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.84e-05/5.759, allocations: 0 / 3.653 GB, free: 313.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.466e-05/5.759, allocations: 370 kB / 3.654 GB, free: 313.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/5.759, allocations: 104.1 kB / 3.654 GB, free: 313.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/5.759, allocations: 290.7 kB / 3.654 GB, free: 313.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004372/5.76, allocations: 230.5 kB / 3.654 GB, free: 313.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/5.76, allocations: 1.875 kB / 3.654 GB, free: 313.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007438/5.761, allocations: 474.4 kB / 3.655 GB, free: 313.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002955/5.761, allocations: 1.833 MB / 3.657 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/5.761, allocations: 4.906 kB / 3.657 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/5.761, allocations: 12.53 kB / 3.657 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003386/5.761, allocations: 89.12 kB / 3.657 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/5.761, allocations: 10.91 kB / 3.657 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004064/5.762, allocations: 41.14 kB / 3.657 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.021e-05/5.762, allocations: 25.72 kB / 3.657 GB, free: 311.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.079e-06/5.762, allocations: 7.562 kB / 3.657 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006512/5.762, allocations: 389.5 kB / 3.657 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/5.762, allocations: 9.422 kB / 3.657 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.422e-06/5.762, allocations: 6.844 kB / 3.657 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003045/5.763, allocations: 88.44 kB / 3.657 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/5.763, allocations: 13.94 kB / 3.657 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003089/5.763, allocations: 40.11 kB / 3.657 GB, free: 311.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/5.763, allocations: 18.84 kB / 3.657 GB, free: 311.3 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 9.016e-05/5.763, allocations: 124 kB / 3.657 GB, free: 311.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/5.763, allocations: 58.12 kB / 3.657 GB, free: 311.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007085/5.764, allocations: 369.5 kB / 3.658 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/5.764, allocations: 11.16 kB / 3.658 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/5.764, allocations: 0 / 3.658 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/5.764, allocations: 0 / 3.658 GB, free: 311.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/5.765, allocations: 1.165 MB / 3.659 GB, free: 310.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/5.765, allocations: 0 / 3.659 GB, free: 310.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002319/5.766, allocations: 44.72 kB / 3.659 GB, free: 310.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/5.766, allocations: 3.656 kB / 3.659 GB, free: 310.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.549e-05/5.766, allocations: 10.67 kB / 3.659 GB, free: 310.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/5.766, allocations: 10.62 kB / 3.659 GB, free: 310.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/5.766, allocations: 3.812 kB / 3.659 GB, free: 310.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008136/5.767, allocations: 0.7719 MB / 3.66 GB, free: 310.2 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001182/5.768, allocations: 1.362 MB / 3.661 GB, free: 309.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001618/5.768, allocations: 167 kB / 3.661 GB, free: 309.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.013e-05/5.768, allocations: 3.625 kB / 3.661 GB, free: 309.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/5.768, allocations: 21.3 kB / 3.661 GB, free: 309.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/5.768, allocations: 13.64 kB / 3.661 GB, free: 309.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/5.768, allocations: 19.22 kB / 3.661 GB, free: 309.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002977/5.769, allocations: 351.2 kB / 3.662 GB, free: 309.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002619/5.771, allocations: 0.7302 MB / 3.662 GB, free: 309.3 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.002141/5.773, allocations: 1.768 MB / 3.664 GB, free: 308.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0007044/5.774, allocations: 483.8 kB / 3.665 GB, free: 308.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/5.774, allocations: 3.656 kB / 3.665 GB, free: 308.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001567/5.774, allocations: 127.9 kB / 3.665 GB, free: 308.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000967/5.775, allocations: 193 kB / 3.665 GB, free: 308.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003944/5.779, allocations: 1.589 MB / 3.666 GB, free: 308.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000447/5.78, allocations: 0.9777 MB / 3.667 GB, free: 307.9 MB / 0.948 GB Notification: Performance of SimCode: time 4.81e-07/5.78, allocations: 0 / 3.667 GB, free: 307.9 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)