Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi.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.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Psychrometrics.Validation.h_TDryBulPhi") [: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.298/2.298, allocations: 253.1 MB / 260.4 MB, free: 7.605 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.002396/0.002396, allocations: 185.3 kB / 319.6 MB, free: 3.312 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 2.265/2.265, 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.001366/0.001366, allocations: 91.33 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.638e-06/9.778e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.24, allocations: 106.3 MB / 0.8881 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.726/0.966, allocations: 133.2 MB / 1.018 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/0.9664, allocations: 78.31 kB / 1.018 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01242/0.9788, allocations: 1.936 MB / 1.02 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.9789, allocations: 0 / 1.02 GB, free: 3.555 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007582/0.9797, allocations: 385.7 kB / 1.02 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/0.9797, allocations: 8.031 kB / 1.02 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006854/0.9804, allocations: 35.86 kB / 1.02 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.9806, allocations: 175 kB / 1.021 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.9807, allocations: 3.938 kB / 1.021 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.9807, allocations: 4 kB / 1.021 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002127/0.9809, allocations: 42.2 kB / 1.021 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.9811, allocations: 71.84 kB / 1.021 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.9812, allocations: 0 / 1.021 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.77e-05/0.9812, allocations: 0 / 1.021 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.9812, allocations: 0 / 1.021 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.9823, allocations: 327.1 kB / 1.021 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.9826, allocations: 56.81 kB / 1.021 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.991e-05/0.9827, allocations: 19.17 kB / 1.021 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.9828, allocations: 0 / 1.021 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.9828, allocations: 35.44 kB / 1.021 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.924e-06/0.9828, allocations: 2.625 kB / 1.021 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.000316/0.9831, allocations: 64.42 kB / 1.021 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/0.9832, allocations: 55.41 kB / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.9833, allocations: 96.75 kB / 1.021 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.9834, allocations: 25.7 kB / 1.021 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.169e-05/0.9835, allocations: 99.88 kB / 1.021 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.9835, allocations: 7.031 kB / 1.022 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.069e-05/0.9835, allocations: 0 / 1.022 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.9837, allocations: 328.2 kB / 1.022 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.907e-05/0.9837, allocations: 6.938 kB / 1.022 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.596e-05/0.9838, allocations: 15 kB / 1.022 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.255e-05/0.9839, allocations: 22.11 kB / 1.022 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.9839, allocations: 0 / 1.022 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002263/0.9841, allocations: 72.06 kB / 1.022 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.9842, allocations: 4 kB / 1.022 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.9842, allocations: 0 / 1.022 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.9842, allocations: 0 / 1.022 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.9845, allocations: 23.97 kB / 1.022 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.9846, allocations: 4 kB / 1.022 GB, free: 1.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002177/0.9848, allocations: 15.89 kB / 1.022 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.969e-05/0.9848, allocations: 4 kB / 1.022 GB, free: 1.512 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.746e-05/0.9849, allocations: 101 kB / 1.022 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.985, allocations: 3.906 kB / 1.022 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.04e-05/0.9851, allocations: 11.62 kB / 1.022 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.9851, allocations: 11.92 kB / 1.022 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.9851, allocations: 0 / 1.022 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.9851, allocations: 0 / 1.022 GB, free: 1.379 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002717/0.9854, allocations: 165 kB / 1.022 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.9854, allocations: 0 / 1.022 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002549/0.9857, allocations: 15.98 kB / 1.022 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.9857, allocations: 0 / 1.022 GB, free: 1.172 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.9857, allocations: 15.86 kB / 1.022 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.9857, allocations: 0 / 1.022 GB, free: 1.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.9857, allocations: 4.484 kB / 1.022 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002773/0.986, allocations: 160.9 kB / 1.022 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.9861, allocations: 77.11 kB / 1.023 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.9861, allocations: 96 / 1.023 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.9864, allocations: 23.89 kB / 1.023 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.9865, allocations: 3.984 kB / 1.023 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.9865, allocations: 0 / 1.023 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.747e-05/0.9866, allocations: 91.33 kB / 1.023 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003769/0.987, allocations: 20 kB / 1.023 GB, free: 0.7656 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0002635/0.9872, allocations: 111.2 kB / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001952/0.9874, allocations: 41.36 kB / 1.023 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9875, allocations: 0 / 1.023 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.593e-05/0.9875, allocations: 14.88 kB / 1.023 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.9879, allocations: 12.22 kB / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006206/0.9885, allocations: 90.98 kB / 1.023 GB, free: 500 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005325/0.9891, allocations: 0.7066 MB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of SimCode: time 1.042e-06/0.9891, allocations: 4 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of Templates: time 0.005737/0.9948, allocations: 1.184 MB / 1.025 GB, free: 14.59 MB / 0.6511 GB