Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.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.HeatPumps.Validation.EquationFitReversible_EnergyPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus") [: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.024/2.024, allocations: 253.1 MB / 260.4 MB, free: 7.555 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.001687/0.001686, allocations: 173.3 kB / 319.6 MB, free: 3.305 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.95/1.95, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001231/0.00123, allocations: 96.62 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.855e-06/8.085e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.218, allocations: 106.2 MB / 0.888 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.43/1.648, allocations: 411.1 MB / 1.29 GB, free: 260.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/1.648, allocations: 87.67 kB / 1.29 GB, free: 260.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.45/4.098, allocations: 0.6002 GB / 1.89 GB, free: 39.38 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001884/4.098, allocations: 42.8 kB / 1.89 GB, free: 39.34 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.005404/4.104, allocations: 1.745 MB / 1.892 GB, free: 37.55 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/4.104, allocations: 12.03 kB / 1.892 GB, free: 37.54 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004452/4.108, allocations: 0.5364 MB / 1.892 GB, free: 37 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005298/4.113, allocations: 1.507 MB / 1.894 GB, free: 35.48 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001422/4.115, allocations: 257.3 kB / 1.894 GB, free: 35.22 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003256/4.115, allocations: 55.91 kB / 1.894 GB, free: 35.16 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003142/4.118, allocations: 0.9996 MB / 1.895 GB, free: 34.16 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002608/4.121, allocations: 0.984 MB / 1.896 GB, free: 33.14 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/4.121, allocations: 4 kB / 1.896 GB, free: 33.14 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/4.121, allocations: 0 / 1.896 GB, free: 33.14 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.779e-05/4.121, allocations: 20 kB / 1.896 GB, free: 33.12 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01286/4.134, allocations: 4.669 MB / 1.9 GB, free: 28.28 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001961/4.136, allocations: 0.7614 MB / 1.901 GB, free: 27.51 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008483/4.137, allocations: 366.2 kB / 1.901 GB, free: 27.15 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009244/4.138, allocations: 1.16 MB / 1.903 GB, free: 25.74 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/4.139, allocations: 449 kB / 1.903 GB, free: 25.29 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=58): time 3.697e-06/4.139, allocations: 4 kB / 1.903 GB, free: 25.28 MB / 0.8698 GB Notification: Performance of matching and sorting (n=58): time 0.002885/4.142, allocations: 0.8541 MB / 1.904 GB, free: 24.42 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.595e-05/4.142, allocations: 85.55 kB / 1.904 GB, free: 24.32 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/4.145, allocations: 1.207 MB / 1.905 GB, free: 23.09 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002612/4.145, allocations: 25.7 kB / 1.905 GB, free: 23.06 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003983/4.146, allocations: 430.2 kB / 1.906 GB, free: 22.64 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002754/4.146, allocations: 189.2 kB / 1.906 GB, free: 22.45 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.661e-05/4.146, allocations: 0 / 1.906 GB, free: 22.45 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.242e-05/4.146, allocations: 333.9 kB / 1.906 GB, free: 22.12 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009424/4.147, allocations: 353.2 kB / 1.906 GB, free: 21.77 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/4.148, allocations: 0.547 MB / 1.907 GB, free: 21.14 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/4.15, allocations: 437.3 kB / 1.907 GB, free: 20.72 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/4.15, allocations: 4 kB / 1.907 GB, free: 20.71 MB / 0.8698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003392/4.153, allocations: 1.014 MB / 1.908 GB, free: 19.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002067/4.153, allocations: 0.8941 MB / 1.909 GB, free: 18.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/4.153, allocations: 7.984 kB / 1.909 GB, free: 18.74 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.029e-05/4.153, allocations: 4 kB / 1.909 GB, free: 18.74 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002173/4.156, allocations: 227.7 kB / 1.909 GB, free: 18.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/4.156, allocations: 4 kB / 1.909 GB, free: 18.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002948/4.159, allocations: 215.3 kB / 1.91 GB, free: 18.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/4.159, allocations: 35.97 kB / 1.91 GB, free: 18.27 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/4.159, allocations: 4 kB / 1.91 GB, free: 18.26 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002892/4.162, allocations: 0.8494 MB / 1.91 GB, free: 17.41 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/4.162, allocations: 0 / 1.91 GB, free: 17.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/4.162, allocations: 8 kB / 1.91 GB, free: 17.41 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002116/4.164, allocations: 224 kB / 1.911 GB, free: 17.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/4.164, allocations: 8 kB / 1.911 GB, free: 17.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002609/4.167, allocations: 175.4 kB / 1.911 GB, free: 17.01 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/4.167, allocations: 35.97 kB / 1.911 GB, free: 16.97 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0003381/4.167, allocations: 128.9 kB / 1.911 GB, free: 16.84 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003402/4.168, allocations: 138.2 kB / 1.911 GB, free: 16.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003754/4.171, allocations: 1.114 MB / 1.912 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-05/4.171, allocations: 11.98 kB / 1.912 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/4.171, allocations: 3.938 kB / 1.912 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.488e-05/4.171, allocations: 7.891 kB / 1.912 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007852/4.179, allocations: 2.511 MB / 1.915 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.365e-05/4.179, allocations: 4 kB / 1.915 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001619/4.181, allocations: 160.1 kB / 1.915 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.646e-05/4.181, allocations: 4 kB / 1.915 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/4.181, allocations: 19.97 kB / 1.915 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.099e-05/4.181, allocations: 11.94 kB / 1.915 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/4.181, allocations: 0 / 1.915 GB, free: 12.79 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003256/4.184, allocations: 1.288 MB / 1.916 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000988/4.186, allocations: 387 kB / 1.917 GB, free: 10.97 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003413/4.186, allocations: 7.984 kB / 1.917 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00212/4.188, allocations: 123.8 kB / 1.917 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/4.188, allocations: 56.33 kB / 1.917 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/4.188, allocations: 27.98 kB / 1.917 GB, free: 10.76 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001958/4.19, allocations: 0.9141 MB / 1.918 GB, free: 9.848 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003043/4.193, allocations: 0.7366 MB / 1.918 GB, free: 9.109 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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.002384/4.196, allocations: 1.032 MB / 1.919 GB, free: 8.238 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003442/4.199, allocations: 1.35 MB / 1.921 GB, free: 6.891 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/4.199, allocations: 384 / 1.921 GB, free: 6.891 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/4.2, allocations: 465.7 kB / 1.921 GB, free: 6.438 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004337/4.205, allocations: 466.9 kB / 1.922 GB, free: 5.988 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006393/4.211, allocations: 1.914 MB / 1.923 GB, free: 4.008 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001925/4.213, allocations: 1.412 MB / 1.925 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of SimCode: time 1.894e-06/4.213, allocations: 0 / 1.925 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of Templates: time 0.4553/4.668, allocations: 33.18 MB / 1.957 GB, free: 249 MB / 0.8698 GB