Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.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.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb") [: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.001128/0.001128, allocations: 191.4 kB / 7.801 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4389/0.4389, allocations: 90.85 MB / 99.07 MB, free: 14.93 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.18/1.18, allocations: 221.4 MB / 342.8 MB, free: 5.211 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.0009294/0.0009294, allocations: 96.44 kB / 415.5 MB, free: 6.426 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.705e-06/7.745e-06, allocations: 0 / 493.9 MB, free: 8.082 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3259, allocations: 72.29 MB / 0.5529 GB, free: 73.46 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.927/3.253, allocations: 1.822 GB / 2.375 GB, free: 2.781 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/3.253, allocations: 83.95 kB / 2.375 GB, free: 2.699 MB / 0.6042 GB Notification: Performance of FrontEnd: time 0.6111/3.864, allocations: 199.2 MB / 2.57 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.055e-05/3.864, allocations: 8 kB / 2.57 GB, free: 53.54 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001271/3.866, allocations: 0.6462 MB / 2.57 GB, free: 52.85 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/3.866, allocations: 8.031 kB / 2.57 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007283/3.867, allocations: 79.55 kB / 2.57 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005365/3.867, allocations: 293.9 kB / 2.571 GB, free: 52.44 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/3.867, allocations: 7.938 kB / 2.571 GB, free: 52.43 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.107e-05/3.867, allocations: 12 kB / 2.571 GB, free: 52.42 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003279/3.867, allocations: 152.8 kB / 2.571 GB, free: 52.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/3.868, allocations: 251.3 kB / 2.571 GB, free: 52 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/3.868, allocations: 0 / 2.571 GB, free: 52 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.984e-05/3.868, allocations: 0 / 2.571 GB, free: 52 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/3.868, allocations: 4 kB / 2.571 GB, free: 52 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/3.87, allocations: 1.219 MB / 2.572 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002099/3.87, allocations: 130.6 kB / 2.572 GB, free: 50.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/3.87, allocations: 84.81 kB / 2.573 GB, free: 50.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005129/3.87, allocations: 307.2 kB / 2.573 GB, free: 50.11 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/3.87, allocations: 34.56 kB / 2.573 GB, free: 50.06 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/3.87, allocations: 0 / 2.573 GB, free: 50.06 MB / 0.6042 GB Notification: Performance of matching and sorting (n=14): time 0.001157/3.872, allocations: 300.7 kB / 2.573 GB, free: 49.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/3.872, allocations: 55.41 kB / 2.573 GB, free: 49.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/3.872, allocations: 184.3 kB / 2.573 GB, free: 49.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/3.872, allocations: 29.7 kB / 2.573 GB, free: 49.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.572e-05/3.872, allocations: 144.1 kB / 2.574 GB, free: 49.33 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/3.872, allocations: 47.3 kB / 2.574 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/3.872, allocations: 0 / 2.574 GB, free: 49.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.858e-05/3.872, allocations: 334.8 kB / 2.574 GB, free: 48.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.245e-05/3.872, allocations: 55.98 kB / 2.574 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/3.872, allocations: 116.7 kB / 2.574 GB, free: 48.76 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/3.873, allocations: 108.2 kB / 2.574 GB, free: 48.65 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/3.873, allocations: 0 / 2.574 GB, free: 48.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008474/3.873, allocations: 294 kB / 2.574 GB, free: 48.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/3.873, allocations: 4 kB / 2.574 GB, free: 48.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/3.873, allocations: 4 kB / 2.574 GB, free: 48.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006179/3.874, allocations: 88.83 kB / 2.575 GB, free: 48.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/3.874, allocations: 67.83 kB / 2.575 GB, free: 48.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/3.876, allocations: 1.5 MB / 2.576 GB, free: 46.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/3.876, allocations: 51.92 kB / 2.576 GB, free: 46.52 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/3.876, allocations: 8 kB / 2.576 GB, free: 46.51 MB / 0.6042 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 (16): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 8.135e-05/3.876, allocations: 101 kB / 2.576 GB, free: 46.4 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.181e-05/3.876, allocations: 27.66 kB / 2.576 GB, free: 46.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008245/3.877, allocations: 319.9 kB / 2.577 GB, free: 46.05 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/3.877, allocations: 3.984 kB / 2.577 GB, free: 46.05 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/3.877, allocations: 0 / 2.577 GB, free: 46.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/3.877, allocations: 7.906 kB / 2.577 GB, free: 46.04 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/3.879, allocations: 0.6819 MB / 2.577 GB, free: 45.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/3.879, allocations: 0 / 2.577 GB, free: 45.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/3.879, allocations: 55.98 kB / 2.577 GB, free: 45.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004966/3.879, allocations: 92.77 kB / 2.577 GB, free: 45.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/3.879, allocations: 0 / 2.577 GB, free: 45.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001492/3.881, allocations: 1.519 MB / 2.579 GB, free: 43.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/3.881, allocations: 4 kB / 2.579 GB, free: 43.51 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008051/3.882, allocations: 439.6 kB / 2.579 GB, free: 43.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.73e-05/3.882, allocations: 120.7 kB / 2.579 GB, free: 42.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/3.882, allocations: 0 / 2.579 GB, free: 42.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/3.882, allocations: 39.88 kB / 2.579 GB, free: 42.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.697e-05/3.882, allocations: 7.984 kB / 2.579 GB, free: 42.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/3.882, allocations: 12 kB / 2.579 GB, free: 42.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0001/3.882, allocations: 144.5 kB / 2.58 GB, free: 42.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006833/3.883, allocations: 143.8 kB / 2.58 GB, free: 42.56 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001341/3.884, allocations: 1.08 MB / 2.581 GB, free: 41.49 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005663/3.885, allocations: 265.9 kB / 2.581 GB, free: 41.22 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/3.885, allocations: 0 / 2.581 GB, free: 41.22 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003421/3.885, allocations: 201.9 kB / 2.581 GB, free: 41.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/3.886, allocations: 88.03 kB / 2.581 GB, free: 40.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007496/3.887, allocations: 350.6 kB / 2.582 GB, free: 40.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002625/3.887, allocations: 0.8076 MB / 2.582 GB, free: 39.72 MB / 0.6042 GB Notification: Performance of SimCode: time 3.41e-07/3.887, allocations: 0 / 2.582 GB, free: 39.72 MB / 0.6042 GB Notification: Performance of Templates: time 0.01485/3.902, allocations: 10.28 MB / 2.592 GB, free: 29.5 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)