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: translateModel(IBPSA.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity") translateModel(IBPSA.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 192.4 kB / 7.807 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4493/0.4493, 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.237/1.237, allocations: 221.4 MB / 342.8 MB, free: 5.109 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.001055/0.001054, allocations: 97.27 kB / 415.5 MB, free: 6.363 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.605e-06, allocations: 0 / 493.9 MB, free: 7.996 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3404, allocations: 72.3 MB / 0.5529 GB, free: 73.24 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.914/3.254, allocations: 1.822 GB / 2.375 GB, free: 2.496 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/3.255, allocations: 85.86 kB / 2.375 GB, free: 2.414 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.6444/3.899, allocations: 222.8 MB / 2.592 GB, free: 29 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.604e-05/3.899, allocations: 16 kB / 2.592 GB, free: 28.98 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.001231/3.9, allocations: 0.6812 MB / 2.593 GB, free: 28.25 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/3.9, allocations: 12.03 kB / 2.593 GB, free: 28.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005943/3.901, allocations: 87.48 kB / 2.593 GB, free: 28.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005113/3.902, allocations: 302 kB / 2.594 GB, free: 27.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/3.902, allocations: 12 kB / 2.594 GB, free: 27.81 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.811e-05/3.902, allocations: 23.89 kB / 2.594 GB, free: 27.79 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003418/3.902, allocations: 188.9 kB / 2.594 GB, free: 27.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003538/3.902, allocations: 262.4 kB / 2.594 GB, free: 27.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/3.902, allocations: 0 / 2.594 GB, free: 27.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.516e-05/3.902, allocations: 0 / 2.594 GB, free: 27.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.685e-05/3.902, allocations: 8 kB / 2.594 GB, free: 27.33 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/3.904, allocations: 1.005 MB / 2.595 GB, free: 26.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003743/3.904, allocations: 170.7 kB / 2.595 GB, free: 26.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/3.904, allocations: 96.73 kB / 2.595 GB, free: 26 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000542/3.905, allocations: 392.4 kB / 2.596 GB, free: 25.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/3.905, allocations: 38.56 kB / 2.596 GB, free: 25.5 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=19): time 1.784e-06/3.905, allocations: 0 / 2.596 GB, free: 25.5 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.001161/3.906, allocations: 341.4 kB / 2.596 GB, free: 25.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.776e-05/3.906, allocations: 55.41 kB / 2.596 GB, free: 25.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/3.906, allocations: 184.3 kB / 2.596 GB, free: 24.9 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/3.906, allocations: 25.7 kB / 2.596 GB, free: 24.87 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.648e-05/3.906, allocations: 160.1 kB / 2.596 GB, free: 24.71 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.636e-05/3.906, allocations: 67.03 kB / 2.596 GB, free: 24.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.282e-05/3.907, allocations: 0 / 2.596 GB, free: 24.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.132e-05/3.907, allocations: 326.8 kB / 2.597 GB, free: 24.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/3.907, allocations: 71.97 kB / 2.597 GB, free: 24.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001234/3.907, allocations: 135.7 kB / 2.597 GB, free: 24.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006993/3.908, allocations: 203.4 kB / 2.597 GB, free: 23.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/3.908, allocations: 0 / 2.597 GB, free: 23.89 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008733/3.908, allocations: 345.1 kB / 2.597 GB, free: 23.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/3.908, allocations: 4 kB / 2.597 GB, free: 23.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/3.908, allocations: 0 / 2.597 GB, free: 23.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/3.908, allocations: 11.84 kB / 2.598 GB, free: 23.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/3.909, allocations: 72.05 kB / 2.598 GB, free: 23.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/3.909, allocations: 0 / 2.598 GB, free: 23.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003028/3.909, allocations: 47.81 kB / 2.598 GB, free: 23.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/3.909, allocations: 12 kB / 2.598 GB, free: 23.4 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.487e-05/3.909, allocations: 112.9 kB / 2.598 GB, free: 23.29 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.786e-05/3.909, allocations: 23.72 kB / 2.598 GB, free: 23.26 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009382/3.91, allocations: 365.6 kB / 2.598 GB, free: 22.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/3.91, allocations: 0 / 2.598 GB, free: 22.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/3.91, allocations: 4 kB / 2.598 GB, free: 22.89 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/3.91, allocations: 3.984 kB / 2.598 GB, free: 22.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/3.912, allocations: 0.8639 MB / 2.599 GB, free: 21.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/3.912, allocations: 4 kB / 2.599 GB, free: 21.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002974/3.912, allocations: 64.08 kB / 2.599 GB, free: 21.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/3.912, allocations: 4 kB / 2.599 GB, free: 21.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/3.912, allocations: 4 kB / 2.599 GB, free: 21.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/3.912, allocations: 0 / 2.599 GB, free: 21.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/3.912, allocations: 4 kB / 2.599 GB, free: 21.87 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00104/3.913, allocations: 0.6404 MB / 2.6 GB, free: 21.16 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/3.913, allocations: 112.8 kB / 2.6 GB, free: 21.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/3.913, allocations: 7.984 kB / 2.6 GB, free: 21.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/3.914, allocations: 36.03 kB / 2.6 GB, free: 20.98 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/3.914, allocations: 23.89 kB / 2.6 GB, free: 20.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/3.914, allocations: 7.984 kB / 2.6 GB, free: 20.95 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.72e-05/3.914, allocations: 148.5 kB / 2.6 GB, free: 20.81 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006407/3.914, allocations: 183.7 kB / 2.6 GB, free: 20.63 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.0014/3.916, allocations: 1.166 MB / 2.601 GB, free: 19.46 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000317/3.916, allocations: 171.9 kB / 2.601 GB, free: 19.3 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/3.916, allocations: 0 / 2.601 GB, free: 19.3 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/3.916, allocations: 103.8 kB / 2.602 GB, free: 19.2 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005224/3.917, allocations: 90.36 kB / 2.602 GB, free: 19.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008848/3.918, allocations: 454.7 kB / 2.602 GB, free: 18.62 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000334/3.918, allocations: 0.8218 MB / 2.603 GB, free: 17.78 MB / 0.6042 GB Notification: Performance of SimCode: time 4.01e-07/3.918, allocations: 4 kB / 2.603 GB, free: 17.77 MB / 0.6042 GB Notification: Performance of Templates: time 0.01607/3.934, allocations: 10.54 MB / 2.613 GB, free: 7.305 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)