Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity.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: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity") [: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.6753/0.6753, allocations: 127.4 MB / 134.6 MB, free: 4.102 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.001389/0.001389, allocations: 189.3 kB / 164.4 MB, free: 6.863 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.625/1.625, allocations: 205.1 MB / 399.1 MB, free: 6.051 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.001268/0.001268, allocations: 95.31 kB / 476.3 MB, free: 8.809 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.045e-05/1.051e-05, allocations: 4 kB / 0.546 GB, free: 42.73 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2021/0.2022, allocations: 76.75 MB / 0.6209 GB, free: 13.91 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.004/5.206, allocations: 2.138 GB / 2.759 GB, free: 29.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/5.207, allocations: 87.95 kB / 2.759 GB, free: 29.14 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.8086/6.015, allocations: 220.7 MB / 2.975 GB, free: 45.6 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.619e-05/6.015, allocations: 19.98 kB / 2.975 GB, free: 45.58 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001492/6.017, allocations: 0.6656 MB / 2.976 GB, free: 44.87 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/6.017, allocations: 8.031 kB / 2.976 GB, free: 44.86 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006303/6.018, allocations: 83.55 kB / 2.976 GB, free: 44.78 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/6.018, allocations: 318.8 kB / 2.976 GB, free: 44.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/6.018, allocations: 4 kB / 2.976 GB, free: 44.42 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/6.018, allocations: 23.92 kB / 2.976 GB, free: 44.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003782/6.019, allocations: 189 kB / 2.976 GB, free: 44.21 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/6.019, allocations: 258.4 kB / 2.976 GB, free: 43.95 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/6.019, allocations: 0 / 2.976 GB, free: 43.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/6.019, allocations: 0 / 2.976 GB, free: 43.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.767e-06/6.019, allocations: 4 kB / 2.976 GB, free: 43.95 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/6.021, allocations: 1.005 MB / 2.977 GB, free: 42.89 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/6.021, allocations: 187 kB / 2.978 GB, free: 42.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/6.021, allocations: 92.73 kB / 2.978 GB, free: 42.61 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005983/6.022, allocations: 396.4 kB / 2.978 GB, free: 42.14 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.265e-05/6.022, allocations: 30.56 kB / 2.978 GB, free: 42.11 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=18): time 1.794e-06/6.022, allocations: 0 / 2.978 GB, free: 42.11 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18): time 0.001302/6.023, allocations: 347.6 kB / 2.978 GB, free: 41.76 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/6.023, allocations: 51.41 kB / 2.978 GB, free: 41.7 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/6.023, allocations: 183.9 kB / 2.979 GB, free: 41.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/6.023, allocations: 25.7 kB / 2.979 GB, free: 41.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/6.023, allocations: 148 kB / 2.979 GB, free: 41.33 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/6.023, allocations: 59.11 kB / 2.979 GB, free: 41.27 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/6.023, allocations: 0 / 2.979 GB, free: 41.27 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.729e-05/6.024, allocations: 338.7 kB / 2.979 GB, free: 40.93 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/6.024, allocations: 67.98 kB / 2.979 GB, free: 40.87 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/6.024, allocations: 118 kB / 2.979 GB, free: 40.73 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007176/6.025, allocations: 204.4 kB / 2.98 GB, free: 40.53 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/6.025, allocations: 7.875 kB / 2.98 GB, free: 40.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008879/6.025, allocations: 341 kB / 2.98 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/6.025, allocations: 7.984 kB / 2.98 GB, free: 40.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/6.025, allocations: 4 kB / 2.98 GB, free: 40.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/6.025, allocations: 0 / 2.98 GB, free: 40.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003163/6.026, allocations: 60.09 kB / 2.98 GB, free: 40.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/6.026, allocations: 11.94 kB / 2.98 GB, free: 40.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/6.026, allocations: 47.8 kB / 2.98 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/6.026, allocations: 12 kB / 2.98 GB, free: 40.04 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.557e-05/6.026, allocations: 112.9 kB / 2.98 GB, free: 39.93 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.383e-05/6.026, allocations: 19.72 kB / 2.98 GB, free: 39.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009785/6.027, allocations: 351.1 kB / 2.981 GB, free: 39.56 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/6.027, allocations: 4 kB / 2.981 GB, free: 39.55 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/6.027, allocations: 3.984 kB / 2.981 GB, free: 39.55 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/6.027, allocations: 0 / 2.981 GB, free: 39.55 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001586/6.029, allocations: 0.8284 MB / 2.981 GB, free: 38.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/6.029, allocations: 4 kB / 2.981 GB, free: 38.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003129/6.029, allocations: 64.11 kB / 2.981 GB, free: 38.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/6.029, allocations: 3.906 kB / 2.981 GB, free: 38.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/6.029, allocations: 4 kB / 2.981 GB, free: 38.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/6.029, allocations: 11.94 kB / 2.981 GB, free: 38.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/6.029, allocations: 0 / 2.981 GB, free: 38.56 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001083/6.03, allocations: 0.6129 MB / 2.982 GB, free: 37.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.157e-05/6.031, allocations: 101 kB / 2.982 GB, free: 37.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.706e-05/6.031, allocations: 0 / 2.982 GB, free: 37.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003138/6.031, allocations: 39.94 kB / 2.982 GB, free: 37.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.319e-05/6.031, allocations: 27.91 kB / 2.982 GB, free: 37.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/6.031, allocations: 4 kB / 2.982 GB, free: 37.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.252e-05/6.031, allocations: 144.5 kB / 2.982 GB, free: 37.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007066/6.032, allocations: 171.8 kB / 2.982 GB, free: 37.39 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * 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.001656/6.034, allocations: 1.178 MB / 2.984 GB, free: 36.21 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003395/6.034, allocations: 186.8 kB / 2.984 GB, free: 36.04 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/6.034, allocations: 0 / 2.984 GB, free: 36.04 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/6.034, allocations: 91.91 kB / 2.984 GB, free: 35.95 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005674/6.035, allocations: 85.27 kB / 2.984 GB, free: 35.86 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/6.036, allocations: 433.8 kB / 2.984 GB, free: 35.39 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/6.036, allocations: 0.817 MB / 2.985 GB, free: 34.55 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/6.036, allocations: 0 / 2.985 GB, free: 34.55 MB / 0.6355 GB Notification: Performance of Templates: time 0.01644/6.052, allocations: 10.5 MB / 2.995 GB, free: 24.09 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)