Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.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.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") [: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.23/2.23, allocations: 253.1 MB / 260.4 MB, free: 7.539 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.009685/0.009685, allocations: 189.3 kB / 319.6 MB, free: 3.309 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.987/1.987, allocations: 205.4 MB / 0.5704 GB, free: 14.96 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.001305/0.001305, allocations: 91.31 kB / 0.6746 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.693e-05/1.718e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2323, allocations: 106.2 MB / 0.888 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7077/0.9401, allocations: 131.4 MB / 1.016 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.9405, allocations: 73.92 kB / 1.016 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004095/0.9446, allocations: 0.8429 MB / 1.017 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.496e-05/0.9447, allocations: 4 kB / 1.017 GB, free: 6.129 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004488/0.9451, allocations: 364.4 kB / 1.018 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.9452, allocations: 12.03 kB / 1.018 GB, free: 5.723 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.205e-05/0.9452, allocations: 11.91 kB / 1.018 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.9455, allocations: 185 kB / 1.018 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.256e-05/0.9455, allocations: 4.844 kB / 1.018 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.9455, allocations: 4 kB / 1.018 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001405/0.9457, allocations: 35.09 kB / 1.018 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.9459, allocations: 79.41 kB / 1.018 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.9459, allocations: 0 / 1.018 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.9459, allocations: 0 / 1.018 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.689e-06/0.946, allocations: 8 kB / 1.018 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007599/0.9467, allocations: 422.5 kB / 1.018 GB, free: 4.957 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.686e-05/0.9468, allocations: 33.16 kB / 1.018 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.9469, allocations: 17.66 kB / 1.018 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.9469, allocations: 2.625 kB / 1.018 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.9469, allocations: 42.34 kB / 1.018 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.803e-06/0.947, allocations: 4 kB / 1.018 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002186/0.9472, allocations: 45.41 kB / 1.019 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.612e-05/0.9473, allocations: 81.11 kB / 1.019 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.9474, allocations: 123.7 kB / 1.019 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.9475, allocations: 25.7 kB / 1.019 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.705e-05/0.9475, allocations: 103.8 kB / 1.019 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.021e-05/0.9476, allocations: 3.906 kB / 1.019 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-06/0.9476, allocations: 64 / 1.019 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.9477, allocations: 325.5 kB / 1.019 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.225e-05/0.9478, allocations: 11.12 kB / 1.019 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.224e-05/0.9478, allocations: 16.78 kB / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.928e-05/0.9479, allocations: 7.5 kB / 1.019 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.9479, allocations: 4 kB / 1.019 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001353/0.948, allocations: 55.53 kB / 1.019 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.9481, allocations: 10.25 kB / 1.019 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.9481, allocations: 0.5625 kB / 1.019 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.9481, allocations: 3.906 kB / 1.019 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.9483, allocations: 11.94 kB / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.9483, allocations: 0 / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.171e-05/0.9483, allocations: 3.938 kB / 1.019 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.9484, allocations: 4.625 kB / 1.019 GB, free: 3.988 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.489e-05/0.9485, allocations: 107.3 kB / 1.019 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.418e-05/0.9485, allocations: 8.125 kB / 1.019 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.89e-05/0.9486, allocations: 15.53 kB / 1.019 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.9486, allocations: 7.938 kB / 1.019 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.9486, allocations: 4 kB / 1.019 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.9486, allocations: 3.984 kB / 1.019 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005376/0.9492, allocations: 447.8 kB / 1.02 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.9492, allocations: 3.906 kB / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.259e-05/0.9493, allocations: 4 kB / 1.02 GB, free: 3.367 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.9493, allocations: 4.062 kB / 1.02 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.056e-06/0.9493, allocations: 0 / 1.02 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/0.9493, allocations: 8 kB / 1.02 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.9493, allocations: 0 / 1.02 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001288/0.9495, allocations: 90.67 kB / 1.02 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.82e-05/0.9495, allocations: 81.02 kB / 1.02 GB, free: 3.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.9496, allocations: 12.02 kB / 1.02 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.905e-05/0.9496, allocations: 0 / 1.02 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.898e-05/0.9497, allocations: 3.906 kB / 1.02 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.9497, allocations: 3.938 kB / 1.02 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.663e-05/0.9498, allocations: 101.7 kB / 1.02 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002589/0.9501, allocations: 8 kB / 1.02 GB, free: 3.031 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001447/0.9502, allocations: 99.23 kB / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001111/0.9503, allocations: 22.12 kB / 1.02 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.9504, allocations: 0 / 1.02 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.618e-05/0.9504, allocations: 7.938 kB / 1.02 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001447/0.9505, allocations: 11.53 kB / 1.02 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003798/0.9509, allocations: 111.5 kB / 1.02 GB, free: 2.762 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004341/0.9514, allocations: 0.7116 MB / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of SimCode: time 7.32e-07/0.9514, allocations: 0 / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of Templates: time 0.003144/0.9546, allocations: 371.1 kB / 1.021 GB, free: 1.672 MB / 0.6355 GB