Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_hp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_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.37/2.37, allocations: 253.1 MB / 260.4 MB, free: 7.535 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.001633/0.001633, allocations: 185.2 kB / 319.6 MB, free: 3.34 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.171/2.171, allocations: 205.4 MB / 0.5704 GB, free: 15.09 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.001296/0.001295, allocations: 85.89 kB / 0.6746 GB, free: 4.461 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.122e-05/1.136e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2184, allocations: 106.2 MB / 0.888 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7168/0.9353, allocations: 131.4 MB / 1.016 GB, free: 7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.9356, allocations: 67.58 kB / 1.016 GB, free: 6.961 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004031/0.9397, allocations: 0.847 MB / 1.017 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.9397, allocations: 0 / 1.017 GB, free: 6.262 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.0005183/0.9403, allocations: 372.8 kB / 1.018 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.9403, allocations: 8.031 kB / 1.018 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.47e-05/0.9404, allocations: 7.906 kB / 1.018 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.9406, allocations: 178.9 kB / 1.018 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.9407, allocations: 4 kB / 1.018 GB, free: 5.625 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.9407, allocations: 4 kB / 1.018 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001513/0.9409, allocations: 45.08 kB / 1.018 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.9411, allocations: 76.28 kB / 1.018 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.9411, allocations: 0 / 1.018 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.9411, allocations: 0 / 1.018 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.9411, allocations: 0 / 1.018 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007366/0.9419, allocations: 425.2 kB / 1.018 GB, free: 5.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.896e-05/0.9419, allocations: 36.84 kB / 1.018 GB, free: 5.039 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.766e-05/0.942, allocations: 17.84 kB / 1.018 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.474e-05/0.942, allocations: 7.5 kB / 1.018 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.393e-05/0.9421, allocations: 34 kB / 1.018 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.924e-06/0.9421, allocations: 0 / 1.018 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002111/0.9423, allocations: 45.59 kB / 1.018 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.9424, allocations: 80.8 kB / 1.019 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.9425, allocations: 129.3 kB / 1.019 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.9426, allocations: 29.64 kB / 1.019 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.591e-05/0.9427, allocations: 106.9 kB / 1.019 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.859e-06/0.9427, allocations: 7.156 kB / 1.019 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.9427, allocations: 3.938 kB / 1.019 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.9428, allocations: 318.6 kB / 1.019 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.575e-05/0.9429, allocations: 4 kB / 1.019 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.012e-05/0.9429, allocations: 21.22 kB / 1.019 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.846e-05/0.943, allocations: 11.44 kB / 1.019 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.943, allocations: 0 / 1.019 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001381/0.9431, allocations: 55.91 kB / 1.019 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.9432, allocations: 11.94 kB / 1.019 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.9432, allocations: 0 / 1.019 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.9432, allocations: 0 / 1.019 GB, free: 4.137 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.9433, allocations: 7.906 kB / 1.019 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.9434, allocations: 4.875 kB / 1.019 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.259e-05/0.9434, allocations: 8 kB / 1.019 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-06/0.9434, allocations: 0 / 1.019 GB, free: 4.117 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.676e-05/0.9435, allocations: 110 kB / 1.019 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.155e-05/0.9436, allocations: 7 kB / 1.019 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.701e-05/0.9437, allocations: 11.58 kB / 1.019 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.9437, allocations: 3.938 kB / 1.019 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.9437, allocations: 0 / 1.019 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.9437, allocations: 7.906 kB / 1.019 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005471/0.9443, allocations: 455.4 kB / 1.02 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.9443, allocations: 0 / 1.02 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.531e-05/0.9443, allocations: 7.906 kB / 1.02 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.9443, allocations: 0 / 1.02 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.9444, allocations: 96 / 1.02 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.016e-05/0.9444, allocations: 0 / 1.02 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.9444, allocations: 0 / 1.02 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001431/0.9446, allocations: 98.41 kB / 1.02 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.52e-05/0.9447, allocations: 85.02 kB / 1.02 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.9447, allocations: 0 / 1.02 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.678e-05/0.9447, allocations: 0 / 1.02 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.363e-05/0.9448, allocations: 14.95 kB / 1.02 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.9448, allocations: 0 / 1.02 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.83e-05/0.9449, allocations: 98.16 kB / 1.02 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002648/0.9452, allocations: 12.03 kB / 1.02 GB, free: 3.164 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.0001663/0.9454, allocations: 98.48 kB / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.9455, allocations: 22.98 kB / 1.02 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.9455, allocations: 0 / 1.02 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.202e-05/0.9455, allocations: 7.938 kB / 1.02 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.9457, allocations: 7.031 kB / 1.02 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004113/0.9461, allocations: 119.8 kB / 1.02 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003949/0.9465, allocations: 0.7114 MB / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/0.9465, allocations: 0 / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of Templates: time 0.003231/0.9498, allocations: 373 kB / 1.021 GB, free: 1.805 MB / 0.6355 GB