Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") translateModel(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") [: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 8.0.0/package.mo): time 2.316/2.316, allocations: 284.9 MB / 292.2 MB, free: 9.941 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001728/0.001728, allocations: 182.6 kB / 360.4 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.951/1.951, allocations: 205.1 MB / 0.6188 GB, free: 3.242 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001397/0.001397, allocations: 87.28 kB / 0.7318 GB, free: 1.691 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.09e-05/1.096e-05, allocations: 1.562 kB / 0.8502 GB, free: 150 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.225, allocations: 115.3 MB / 0.9628 GB, free: 56.89 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6595/0.8846, allocations: 141.3 MB / 1.101 GB, free: 32.8 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/0.885, allocations: 85.67 kB / 1.101 GB, free: 32.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.03141/0.9164, allocations: 7.574 MB / 1.108 GB, free: 32.21 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.9165, allocations: 6.375 kB / 1.108 GB, free: 32.21 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001295/0.9178, allocations: 0.6125 MB / 1.109 GB, free: 31.75 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.9178, allocations: 7.375 kB / 1.109 GB, free: 31.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.9191, allocations: 164 kB / 1.109 GB, free: 31.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006504/0.9198, allocations: 343 kB / 1.109 GB, free: 31.49 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.9199, allocations: 80.03 kB / 1.109 GB, free: 31.42 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.315e-05/0.92, allocations: 14.34 kB / 1.109 GB, free: 31.41 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009464/0.921, allocations: 319.6 kB / 1.11 GB, free: 31.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006002/0.9216, allocations: 236.6 kB / 1.11 GB, free: 31.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.9216, allocations: 2.391 kB / 1.11 GB, free: 31.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.589e-05/0.9217, allocations: 0 / 1.11 GB, free: 31.38 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.9217, allocations: 3.875 kB / 1.11 GB, free: 31.38 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002494/0.9242, allocations: 0.8233 MB / 1.111 GB, free: 31.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005495/0.9248, allocations: 217.3 kB / 1.111 GB, free: 31.06 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004138/0.9252, allocations: 174.5 kB / 1.111 GB, free: 31.05 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.298e-05/0.9253, allocations: 3.906 kB / 1.111 GB, free: 31.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.9253, allocations: 38.06 kB / 1.111 GB, free: 31.01 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 3.347e-06/0.9253, allocations: 3.938 kB / 1.111 GB, free: 31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.001086/0.9264, allocations: 354.6 kB / 1.112 GB, free: 30.95 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.9265, allocations: 55.28 kB / 1.112 GB, free: 30.89 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000872/0.9274, allocations: 350.8 kB / 1.112 GB, free: 30.78 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.9275, allocations: 29.61 kB / 1.112 GB, free: 30.75 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.9277, allocations: 129.9 kB / 1.112 GB, free: 30.65 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.9278, allocations: 51.72 kB / 1.112 GB, free: 30.62 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.483e-05/0.9279, allocations: 0 / 1.112 GB, free: 30.62 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.9281, allocations: 348.3 kB / 1.112 GB, free: 30.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006469/0.9287, allocations: 148.5 kB / 1.113 GB, free: 30.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006631/0.9294, allocations: 173 kB / 1.113 GB, free: 30.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006066/0.93, allocations: 131.1 kB / 1.113 GB, free: 30.27 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.9301, allocations: 4 kB / 1.113 GB, free: 30.26 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001917/0.932, allocations: 359.8 kB / 1.113 GB, free: 30.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/0.9321, allocations: 3.875 kB / 1.113 GB, free: 30.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.9321, allocations: 0 / 1.113 GB, free: 30.21 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.17e-05/0.9322, allocations: 3.875 kB / 1.113 GB, free: 30.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.9338, allocations: 80.52 kB / 1.113 GB, free: 30.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.9339, allocations: 0 / 1.113 GB, free: 30.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.9352, allocations: 55.61 kB / 1.113 GB, free: 30.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/0.9353, allocations: 6.641 kB / 1.113 GB, free: 30.19 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (equFit.uMod) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0002586/0.9356, allocations: 112.8 kB / 1.113 GB, free: 30.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001674/0.9358, allocations: 31.25 kB / 1.114 GB, free: 30.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001788/0.936, allocations: 35.11 kB / 1.114 GB, free: 30.05 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.936, allocations: 3.875 kB / 1.114 GB, free: 30.05 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.437e-06/0.9361, allocations: 3.906 kB / 1.114 GB, free: 30.04 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.9361, allocations: 2.578 kB / 1.114 GB, free: 30.04 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001165/0.9373, allocations: 439.3 kB / 1.114 GB, free: 29.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.9373, allocations: 0 / 1.114 GB, free: 29.87 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/0.9388, allocations: 73.11 kB / 1.114 GB, free: 29.86 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/0.9388, allocations: 7.875 kB / 1.114 GB, free: 29.86 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.562e-05/0.9389, allocations: 6.984 kB / 1.114 GB, free: 29.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.611e-06/0.9389, allocations: 0 / 1.114 GB, free: 29.86 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.807e-06/0.939, allocations: 4 kB / 1.114 GB, free: 29.86 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001593/0.9406, allocations: 459.7 kB / 1.114 GB, free: 29.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001803/0.9408, allocations: 114.7 kB / 1.115 GB, free: 29.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/0.941, allocations: 0 / 1.115 GB, free: 29.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/0.9421, allocations: 46.41 kB / 1.115 GB, free: 29.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/0.9424, allocations: 29.97 kB / 1.115 GB, free: 29.58 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.651e-05/0.9425, allocations: 6.5 kB / 1.115 GB, free: 29.58 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0006572/0.9431, allocations: 278.2 kB / 1.115 GB, free: 29.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008489/0.944, allocations: 73.19 kB / 1.115 GB, free: 29.48 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (equFit.uMod) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0005398/0.9446, allocations: 233.2 kB / 1.115 GB, free: 29.36 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.946, allocations: 329.3 kB / 1.116 GB, free: 29.36 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.946, allocations: 0 / 1.116 GB, free: 29.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007072/0.9467, allocations: 185.8 kB / 1.116 GB, free: 29.36 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007785/0.9475, allocations: 41.78 kB / 1.116 GB, free: 29.35 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002461/0.95, allocations: 479.2 kB / 1.116 GB, free: 29.21 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/0.9511, allocations: 0.8394 MB / 1.117 GB, free: 44.5 MB / 0.7292 GB Notification: Performance of SimCode: time 3.256e-06/0.9511, allocations: 7.938 kB / 1.117 GB, free: 44.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.02288/0.974, allocations: 5.379 MB / 1.122 GB, free: 44.08 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)