Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity") translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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/Buildings 1.6.0+build.1/package.mo): time 0.5351/0.5351, allocations: 94.73 MB / 102 MB, free: 10.37 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001278/0.001278, allocations: 170.6 kB / 125.3 MB, free: 12.02 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.433/1.433, allocations: 170.5 MB / 319 MB, free: 9.445 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001847/0.001847, allocations: 110.6 kB / 381 MB, free: 18.1 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.837e-06/8.857e-06, allocations: 0 / 448.6 MB, free: 2.156 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1626, allocations: 61.53 MB / 0.4981 GB, free: 4.539 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.27/10.44, allocations: 4.471 GB / 4.969 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/10.44, allocations: 85.61 kB / 4.969 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.735/11.17, allocations: 211.5 MB / 5.176 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.338e-05/11.17, allocations: 14.94 kB / 5.176 GB, free: 116.6 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.003795/11.18, allocations: 1.068 MB / 5.177 GB, free: 116 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/11.18, allocations: 13.75 kB / 5.177 GB, free: 116 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/11.18, allocations: 100.1 kB / 5.177 GB, free: 116 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001593/11.18, allocations: 0.5026 MB / 5.177 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.782e-05/11.18, allocations: 22.94 kB / 5.177 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002493/11.18, allocations: 38.25 kB / 5.177 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002008/11.18, allocations: 0.851 MB / 5.178 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/11.18, allocations: 0.743 MB / 5.179 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.622e-05/11.18, allocations: 3.906 kB / 5.179 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/11.18, allocations: 3.875 kB / 5.179 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.135e-05/11.18, allocations: 15.72 kB / 5.179 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005065/11.19, allocations: 2.776 MB / 5.182 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/11.19, allocations: 0.5833 MB / 5.182 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004659/11.19, allocations: 300.9 kB / 5.183 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006277/11.19, allocations: 391.6 kB / 5.183 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.93e-05/11.19, allocations: 47 kB / 5.183 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=66): time 4.849e-06/11.19, allocations: 0 / 5.183 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66): time 0.001861/11.19, allocations: 0.6833 MB / 5.184 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/11.19, allocations: 58 kB / 5.184 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004875/11.19, allocations: 339.1 kB / 5.184 GB, free: 114 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.19e-05/11.19, allocations: 27.86 kB / 5.184 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000227/11.19, allocations: 274 kB / 5.184 GB, free: 113.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/11.19, allocations: 226.2 kB / 5.184 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/11.19, allocations: 0 / 5.184 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001622/11.19, allocations: 354.9 kB / 5.185 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004839/11.19, allocations: 240.7 kB / 5.185 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005578/11.19, allocations: 360.3 kB / 5.185 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/11.2, allocations: 436.5 kB / 5.186 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/11.2, allocations: 1.25 kB / 5.186 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002027/11.2, allocations: 0.8378 MB / 5.187 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.897e-05/11.2, allocations: 8.531 kB / 5.187 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/11.2, allocations: 7.031 kB / 5.187 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.424e-05/11.2, allocations: 5.281 kB / 5.187 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/11.2, allocations: 265.7 kB / 5.187 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001141/11.2, allocations: 1.874 MB / 5.189 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008194/11.2, allocations: 95.38 kB / 5.189 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.341e-05/11.2, allocations: 31.52 kB / 5.189 GB, free: 111.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002329/11.2, allocations: 120.3 kB / 5.189 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/11.2, allocations: 56.75 kB / 5.189 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002243/11.2, allocations: 0.8996 MB / 5.19 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/11.2, allocations: 9.156 kB / 5.19 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/11.2, allocations: 0.75 kB / 5.19 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/11.2, allocations: 4.453 kB / 5.19 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003147/11.21, allocations: 1.484 MB / 5.191 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/11.21, allocations: 3.875 kB / 5.191 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/11.21, allocations: 238.3 kB / 5.192 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.761e-05/11.21, allocations: 5.031 kB / 5.192 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-05/11.21, allocations: 5.188 kB / 5.192 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/11.21, allocations: 1.876 MB / 5.193 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/11.21, allocations: 2.094 kB / 5.193 GB, free: 109 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002818/11.21, allocations: 1.266 MB / 5.195 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005813/11.21, allocations: 244.5 kB / 5.195 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001544/11.21, allocations: 2.891 kB / 5.195 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009506/11.21, allocations: 67.27 kB / 5.195 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001743/11.21, allocations: 41.86 kB / 5.195 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/11.21, allocations: 47.17 kB / 5.195 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0004205/11.21, allocations: 269.8 kB / 5.195 GB, free: 108.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002375/11.22, allocations: 471.3 kB / 5.196 GB, free: 108.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003304/11.22, allocations: 1.196 MB / 5.197 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002364/11.22, allocations: 0.7199 MB / 5.198 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/11.22, allocations: 1.562 kB / 5.198 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001335/11.22, allocations: 440.5 kB / 5.198 GB, free: 108.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/11.23, allocations: 267.6 kB / 5.198 GB, free: 108 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003418/11.23, allocations: 1.065 MB / 5.199 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/11.23, allocations: 1.043 MB / 5.2 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.022e-06/11.23, allocations: 3.312 kB / 5.2 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.04597/11.28, allocations: 21.69 MB / 5.222 GB, free: 105.2 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.RelativeHumidity.pipe 2>&1)