Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_RelativeHumidity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.RelativeHumidity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_RelativeHumidity",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/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 192.9 kB / 7.806 MB, free: 2.484 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4543/0.4543, allocations: 90.86 MB / 99.08 MB, free: 14.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 221.4 MB / 342.8 MB, free: 5.117 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009037/0.0009034, allocations: 97.72 kB / 415.5 MB, free: 6.391 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1573/0.1582, allocations: 78.44 MB / 494 MB, free: 7.941 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.4692, allocations: 72.3 MB / 0.553 GB, free: 73.36 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.915/3.384, allocations: 1.822 GB / 2.375 GB, free: 1.289 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/3.385, allocations: 85.17 kB / 2.375 GB, free: 1.207 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.6924/4.077, allocations: 223.5 MB / 2.593 GB, free: 27.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/4.077, allocations: 8 kB / 2.593 GB, free: 27.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000632/4.078, allocations: 87.55 kB / 2.593 GB, free: 27.51 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005157/4.078, allocations: 309.9 kB / 2.594 GB, free: 27.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/4.078, allocations: 4 kB / 2.594 GB, free: 27.17 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.481e-05/4.078, allocations: 19.91 kB / 2.594 GB, free: 27.15 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003497/4.079, allocations: 192.9 kB / 2.594 GB, free: 26.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003592/4.079, allocations: 254.4 kB / 2.594 GB, free: 26.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/4.079, allocations: 0 / 2.594 GB, free: 26.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.84e-05/4.079, allocations: 7.938 kB / 2.594 GB, free: 26.69 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/4.079, allocations: 8 kB / 2.594 GB, free: 26.68 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001496/4.081, allocations: 1.008 MB / 2.595 GB, free: 25.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/4.081, allocations: 170.6 kB / 2.595 GB, free: 25.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/4.081, allocations: 96.73 kB / 2.595 GB, free: 25.35 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005828/4.082, allocations: 392.4 kB / 2.596 GB, free: 24.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.78e-05/4.082, allocations: 34.56 kB / 2.596 GB, free: 24.85 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/4.082, allocations: 0 / 2.596 GB, free: 24.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.001251/4.083, allocations: 345.5 kB / 2.596 GB, free: 24.51 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.832e-05/4.083, allocations: 51.41 kB / 2.596 GB, free: 24.45 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/4.083, allocations: 184.3 kB / 2.596 GB, free: 24.26 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/4.083, allocations: 25.7 kB / 2.596 GB, free: 24.23 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.04e-05/4.084, allocations: 152.1 kB / 2.596 GB, free: 24.07 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.178e-05/4.084, allocations: 63.05 kB / 2.597 GB, free: 24.01 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.273e-05/4.084, allocations: 0 / 2.597 GB, free: 24.01 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.877e-05/4.084, allocations: 338.8 kB / 2.597 GB, free: 23.67 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/4.084, allocations: 63.98 kB / 2.597 GB, free: 23.61 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/4.084, allocations: 143.6 kB / 2.597 GB, free: 23.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007283/4.085, allocations: 198.9 kB / 2.597 GB, free: 23.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/4.085, allocations: 0 / 2.597 GB, free: 23.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009173/4.086, allocations: 341 kB / 2.598 GB, free: 22.91 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/4.086, allocations: 8 kB / 2.598 GB, free: 22.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/4.086, allocations: 160 / 2.598 GB, free: 22.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/4.086, allocations: 11.91 kB / 2.598 GB, free: 22.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003117/4.086, allocations: 71.83 kB / 2.598 GB, free: 22.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/4.086, allocations: 11.94 kB / 2.598 GB, free: 22.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/4.086, allocations: 51.8 kB / 2.598 GB, free: 22.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.944e-05/4.086, allocations: 12 kB / 2.598 GB, free: 22.75 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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 7.548e-05/4.086, allocations: 104.9 kB / 2.598 GB, free: 22.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.062e-05/4.086, allocations: 23.72 kB / 2.598 GB, free: 22.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009747/4.087, allocations: 354 kB / 2.598 GB, free: 22.27 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/4.087, allocations: 4 kB / 2.598 GB, free: 22.26 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/4.087, allocations: 4 kB / 2.598 GB, free: 22.26 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/4.087, allocations: 0 / 2.598 GB, free: 22.26 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001541/4.089, allocations: 0.8599 MB / 2.599 GB, free: 21.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/4.089, allocations: 64 / 2.599 GB, free: 21.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000331/4.089, allocations: 76.08 kB / 2.599 GB, free: 21.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/4.089, allocations: 0 / 2.599 GB, free: 21.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/4.089, allocations: 4 kB / 2.599 GB, free: 21.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/4.089, allocations: 4 kB / 2.599 GB, free: 21.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/4.089, allocations: 3.938 kB / 2.599 GB, free: 21.23 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001075/4.091, allocations: 0.631 MB / 2.6 GB, free: 20.53 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001378/4.092, allocations: 1.166 MB / 2.601 GB, free: 19.29 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/4.092, allocations: 116.8 kB / 2.601 GB, free: 19.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.741e-05/4.092, allocations: 12.05 kB / 2.601 GB, free: 19.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/4.092, allocations: 43.81 kB / 2.601 GB, free: 19.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.935e-05/4.092, allocations: 15.98 kB / 2.601 GB, free: 19.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.381e-05/4.092, allocations: 4 kB / 2.601 GB, free: 19.08 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.764e-05/4.093, allocations: 152.5 kB / 2.601 GB, free: 18.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001479/4.094, allocations: 299.7 kB / 2.601 GB, free: 18.64 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (relHum.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 Backend phase and start with SimCode phase: time 0.001669/4.096, allocations: 1.167 MB / 2.603 GB, free: 17.48 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003406/4.096, allocations: 184.1 kB / 2.603 GB, free: 17.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/4.096, allocations: 0 / 2.603 GB, free: 17.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/4.096, allocations: 103.8 kB / 2.603 GB, free: 17.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005717/4.097, allocations: 81.45 kB / 2.603 GB, free: 17.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009911/4.098, allocations: 458.5 kB / 2.603 GB, free: 16.63 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/4.098, allocations: 0.8218 MB / 2.604 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/4.098, allocations: 0 / 2.604 GB, free: 15.79 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_RelativeHumidity_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_RelativeHumidity.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)