Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.RelativeHumidity.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.RelativeHumidity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.129/2.129, allocations: 253.1 MB / 260.4 MB, free: 7.523 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001622/0.001622, allocations: 185.2 kB / 319.6 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.4 MB / 0.5704 GB, free: 15.07 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001368/0.001368, allocations: 94.44 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.111e-05/1.125e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.262, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.861/6.123, allocations: 2.182 GB / 3.07 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003218/6.124, allocations: 82.83 kB / 3.07 GB, free: 180.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.196/7.32, allocations: 213.8 MB / 3.279 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.626e-05/7.32, allocations: 12.77 kB / 3.279 GB, free: 247.9 MB / 0.8698 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.00177/7.322, allocations: 0.6725 MB / 3.28 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/7.322, allocations: 7.781 kB / 3.28 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000806/7.322, allocations: 87.08 kB / 3.28 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007519/7.323, allocations: 307.8 kB / 3.28 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/7.323, allocations: 7.594 kB / 3.28 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.958e-05/7.323, allocations: 14.66 kB / 3.28 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006011/7.324, allocations: 194.1 kB / 3.28 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006092/7.325, allocations: 257.7 kB / 3.281 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/7.325, allocations: 3.906 kB / 3.281 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/7.325, allocations: 3.344 kB / 3.281 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/7.325, allocations: 10.23 kB / 3.281 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00239/7.327, allocations: 1.008 MB / 3.282 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006578/7.328, allocations: 173.5 kB / 3.282 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/7.328, allocations: 89.08 kB / 3.282 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009296/7.329, allocations: 401.5 kB / 3.282 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/7.329, allocations: 34.31 kB / 3.282 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 3.807e-06/7.329, allocations: 3.312 kB / 3.282 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.002095/7.331, allocations: 343.5 kB / 3.283 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/7.331, allocations: 55.16 kB / 3.283 GB, free: 246.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/7.331, allocations: 186.4 kB / 3.283 GB, free: 246.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/7.332, allocations: 25.7 kB / 3.283 GB, free: 246 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/7.332, allocations: 152.7 kB / 3.283 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/7.332, allocations: 63.72 kB / 3.283 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.902e-05/7.332, allocations: 2.953 kB / 3.283 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.494e-05/7.332, allocations: 332.5 kB / 3.283 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/7.332, allocations: 68.19 kB / 3.283 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/7.332, allocations: 126.6 kB / 3.284 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/7.334, allocations: 205.8 kB / 3.284 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/7.334, allocations: 0 / 3.284 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001652/7.335, allocations: 343.2 kB / 3.284 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/7.335, allocations: 8.781 kB / 3.284 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/7.335, allocations: 3.469 kB / 3.284 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.307e-05/7.335, allocations: 3.969 kB / 3.284 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005933/7.336, allocations: 68.16 kB / 3.284 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/7.336, allocations: 6.484 kB / 3.284 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005541/7.337, allocations: 47.31 kB / 3.284 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-05/7.337, allocations: 22.59 kB / 3.284 GB, free: 245.5 MB / 0.8698 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 0.0001239/7.337, allocations: 110.4 kB / 3.284 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.433e-05/7.337, allocations: 19.28 kB / 3.284 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/7.339, allocations: 353 kB / 3.285 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/7.339, allocations: 0 / 3.285 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/7.339, allocations: 3.656 kB / 3.285 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.577e-06/7.339, allocations: 3.703 kB / 3.285 GB, free: 245.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002716/7.341, allocations: 0.8578 MB / 3.286 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/7.342, allocations: 7.844 kB / 3.286 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005744/7.342, allocations: 66.23 kB / 3.286 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.388e-05/7.342, allocations: 3.906 kB / 3.286 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.886e-05/7.342, allocations: 3.062 kB / 3.286 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.752e-06/7.342, allocations: 3.594 kB / 3.286 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/7.342, allocations: 14.47 kB / 3.286 GB, free: 244.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001981/7.344, allocations: 0.6236 MB / 3.286 GB, free: 244.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/7.344, allocations: 120 kB / 3.286 GB, free: 244.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.317e-05/7.345, allocations: 7.531 kB / 3.286 GB, free: 244.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005059/7.345, allocations: 39.23 kB / 3.286 GB, free: 244.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.869e-05/7.345, allocations: 20.73 kB / 3.286 GB, free: 244.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.901e-05/7.345, allocations: 14.09 kB / 3.286 GB, free: 244.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001699/7.345, allocations: 147.7 kB / 3.287 GB, free: 244.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009641/7.346, allocations: 178.4 kB / 3.287 GB, free: 244.4 MB / 0.8698 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.00205/7.348, allocations: 1.171 MB / 3.288 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006294/7.349, allocations: 174.2 kB / 3.288 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/7.349, allocations: 0 / 3.288 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002966/7.349, allocations: 109.2 kB / 3.288 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009552/7.35, allocations: 89.72 kB / 3.288 GB, free: 244.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00152/7.352, allocations: 442.3 kB / 3.289 GB, free: 244 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004949/7.352, allocations: 0.8153 MB / 3.289 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.573e-06/7.352, allocations: 0 / 3.289 GB, free: 243.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.0288/7.381, allocations: 10.45 MB / 3.3 GB, free: 243 MB / 0.8698 GB