Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7542/0.7542, allocations: 127.4 MB / 134.6 MB, free: 4.074 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 181.3 kB / 164.4 MB, free: 6.891 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.1 MB / 399.1 MB, free: 6.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008917/0.0008916, allocations: 88.16 kB / 476.3 MB, free: 8.848 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3683/0.3692, allocations: 82.88 MB / 0.5461 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.563, allocations: 76.75 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.187/5.75, allocations: 2.156 GB / 2.777 GB, free: 55.57 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004518/5.751, allocations: 87.94 kB / 2.777 GB, free: 55.49 MB / 0.6355 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.725/8.476, allocations: 0.5944 GB / 3.372 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/8.476, allocations: 9.438 kB / 3.372 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001764/8.478, allocations: 235.6 kB / 3.372 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/8.48, allocations: 0.63 MB / 3.373 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.033e-05/8.48, allocations: 10.69 kB / 3.373 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/8.48, allocations: 28.03 kB / 3.373 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008234/8.481, allocations: 393.5 kB / 3.373 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006857/8.482, allocations: 440.1 kB / 3.374 GB, free: 125 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/8.482, allocations: 1.438 kB / 3.374 GB, free: 125 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.367e-05/8.482, allocations: 0 / 3.374 GB, free: 125 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.265e-05/8.482, allocations: 22.59 kB / 3.374 GB, free: 125 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003253/8.485, allocations: 2.284 MB / 3.376 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004064/8.485, allocations: 291.3 kB / 3.376 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/8.486, allocations: 122.6 kB / 3.376 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/8.487, allocations: 0.8278 MB / 3.377 GB, free: 122.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002731/8.487, allocations: 194.5 kB / 3.377 GB, free: 122.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=26): time 2.986e-06/8.487, allocations: 0 / 3.377 GB, free: 122.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=26): time 0.001361/8.488, allocations: 433.4 kB / 3.378 GB, free: 122.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/8.488, allocations: 107 kB / 3.378 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005662/8.489, allocations: 454.8 kB / 3.378 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.932e-05/8.489, allocations: 29.02 kB / 3.378 GB, free: 122.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/8.489, allocations: 255 kB / 3.378 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/8.489, allocations: 86.7 kB / 3.378 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/8.489, allocations: 2.531 kB / 3.378 GB, free: 122.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001139/8.489, allocations: 368.7 kB / 3.379 GB, free: 121.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/8.49, allocations: 114 kB / 3.379 GB, free: 121.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003131/8.49, allocations: 296.3 kB / 3.379 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005393/8.491, allocations: 249.6 kB / 3.379 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/8.491, allocations: 0 / 3.379 GB, free: 121.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008849/8.491, allocations: 0.4937 MB / 3.38 GB, free: 121.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/8.491, allocations: 3.5 kB / 3.38 GB, free: 121.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/8.491, allocations: 7.125 kB / 3.38 GB, free: 121.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/8.491, allocations: 15.34 kB / 3.38 GB, free: 121.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003798/8.492, allocations: 89.16 kB / 3.38 GB, free: 121.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/8.492, allocations: 13.16 kB / 3.38 GB, free: 121.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000446/8.492, allocations: 40.41 kB / 3.38 GB, free: 121.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.827e-05/8.492, allocations: 26.28 kB / 3.38 GB, free: 121.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.XSet.nextTimeEvent,XSet.nextTimeEvent,$PRE.XSet.nextTimeEventScaled,XSet.nextTimeEventScaled,senHum.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 1 * 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.0001181/8.493, allocations: 131.1 kB / 3.38 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.344e-05/8.493, allocations: 52.25 kB / 3.38 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007903/8.493, allocations: 396.1 kB / 3.381 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/8.493, allocations: 3.875 kB / 3.381 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/8.493, allocations: 0 / 3.381 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/8.493, allocations: 6.844 kB / 3.381 GB, free: 121.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001578/8.495, allocations: 1.151 MB / 3.382 GB, free: 121 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/8.495, allocations: 0 / 3.382 GB, free: 121 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/8.495, allocations: 48.05 kB / 3.382 GB, free: 121 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/8.495, allocations: 3.594 kB / 3.382 GB, free: 121 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/8.495, allocations: 14.22 kB / 3.382 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/8.495, allocations: 3.594 kB / 3.382 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/8.495, allocations: 7.594 kB / 3.382 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009706/8.496, allocations: 0.775 MB / 3.383 GB, free: 120.6 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001483/8.498, allocations: 1.371 MB / 3.384 GB, free: 119.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002014/8.498, allocations: 163.9 kB / 3.384 GB, free: 119.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.714e-05/8.498, allocations: 7.094 kB / 3.384 GB, free: 119.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002899/8.498, allocations: 16.38 kB / 3.384 GB, free: 119.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/8.499, allocations: 16.61 kB / 3.384 GB, free: 119.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/8.499, allocations: 14.05 kB / 3.384 GB, free: 119.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003701/8.499, allocations: 352.1 kB / 3.385 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001961/8.501, allocations: 457.2 kB / 3.385 GB, free: 119.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.003049/8.504, allocations: 1.817 MB / 3.387 GB, free: 119.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006935/8.505, allocations: 326.8 kB / 3.387 GB, free: 119.1 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/8.505, allocations: 6.75 kB / 3.387 GB, free: 119.1 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/8.505, allocations: 134.1 kB / 3.387 GB, free: 119.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/8.506, allocations: 204.9 kB / 3.387 GB, free: 119.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/8.509, allocations: 0.8447 MB / 3.388 GB, free: 118.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006885/8.509, allocations: 0.9623 MB / 3.389 GB, free: 118.1 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/8.509, allocations: 0 / 3.389 GB, free: 118.1 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Humidifiers_Validation_SteamHumidifier_X_dynamic.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Humidifiers.Validation.SteamHumidifier_X_dynamic.pipe 2>&1)