Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.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.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") translateModel(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor") [: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.22/2.22, allocations: 284.9 MB / 292.2 MB, free: 10.75 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.001617/0.001616, allocations: 177.3 kB / 360.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.76/1.76, allocations: 205.1 MB / 0.6188 GB, free: 12.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001262/0.001262, allocations: 88.89 kB / 0.7318 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.487e-06/9.598e-06, allocations: 0 / 0.8502 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6386/0.6386, allocations: 115.2 MB / 0.9628 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.118/1.756, allocations: 416.8 MB / 1.37 GB, free: 147 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003691/1.757, allocations: 84.56 kB / 1.37 GB, free: 147 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.282/6.038, allocations: 0.9361 GB / 2.306 GB, free: 33.49 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.000479/6.039, allocations: 74.95 kB / 2.306 GB, free: 33.42 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.01156/6.051, allocations: 2.937 MB / 2.309 GB, free: 30.44 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/6.051, allocations: 12.53 kB / 2.309 GB, free: 30.43 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005297/6.056, allocations: 0.6205 MB / 2.309 GB, free: 29.8 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/6.067, allocations: 2.977 MB / 2.312 GB, free: 26.82 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004152/6.068, allocations: 226.6 kB / 2.313 GB, free: 26.57 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007541/6.068, allocations: 123.9 kB / 2.313 GB, free: 26.45 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006652/6.075, allocations: 1.816 MB / 2.314 GB, free: 24.63 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007158/6.082, allocations: 2.121 MB / 2.317 GB, free: 22.38 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.231e-05/6.082, allocations: 11.94 kB / 2.317 GB, free: 22.37 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003973/6.083, allocations: 8 kB / 2.317 GB, free: 22.36 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.425e-05/6.083, allocations: 59.98 kB / 2.317 GB, free: 22.3 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02766/6.111, allocations: 11.79 MB / 2.328 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003108/6.114, allocations: 1.182 MB / 2.329 GB, free: 8.867 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/6.116, allocations: 0.6681 MB / 2.33 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/6.117, allocations: 1.333 MB / 2.331 GB, free: 6.578 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002372/6.119, allocations: 0.9473 MB / 2.332 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=107): time 5.15e-06/6.119, allocations: 3.938 kB / 2.332 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of matching and sorting (n=107): time 0.005332/6.125, allocations: 1.468 MB / 2.334 GB, free: 4.059 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00027/6.125, allocations: 0.7776 MB / 2.334 GB, free: 3.098 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005665/6.131, allocations: 2.008 MB / 2.336 GB, free: 1.078 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005426/6.131, allocations: 33.7 kB / 2.336 GB, free: 1.039 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.00134/6.133, allocations: 0.8954 MB / 2.337 GB, free: 124 kB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009844/6.134, allocations: 358.7 kB / 2.338 GB, free: 15.76 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/6.134, allocations: 0 / 2.338 GB, free: 15.76 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002155/6.134, allocations: 361.8 kB / 2.338 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002015/6.136, allocations: 0.6209 MB / 2.339 GB, free: 14.78 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002811/6.139, allocations: 1.196 MB / 2.34 GB, free: 13.34 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002837/6.142, allocations: 0.7697 MB / 2.34 GB, free: 12.57 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-05/6.142, allocations: 7.938 kB / 2.34 GB, free: 12.56 MB / 0.9792 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006837/6.149, allocations: 1.839 MB / 2.342 GB, free: 10.71 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001984/6.151, allocations: 4.21 MB / 2.346 GB, free: 6.125 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.187e-05/6.151, allocations: 12 kB / 2.346 GB, free: 6.113 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.378e-05/6.151, allocations: 27.94 kB / 2.346 GB, free: 6.086 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004042/6.155, allocations: 399.4 kB / 2.347 GB, free: 5.695 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.039e-05/6.155, allocations: 27.84 kB / 2.347 GB, free: 5.668 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005112/6.16, allocations: 270.2 kB / 2.347 GB, free: 5.402 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006813/6.161, allocations: 71.97 kB / 2.347 GB, free: 5.332 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/6.161, allocations: 4 kB / 2.347 GB, free: 5.328 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006092/6.167, allocations: 1.559 MB / 2.349 GB, free: 3.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.035e-05/6.167, allocations: 8 kB / 2.349 GB, free: 3.762 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.286e-05/6.167, allocations: 20 kB / 2.349 GB, free: 3.742 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003978/6.171, allocations: 403.7 kB / 2.349 GB, free: 3.348 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.219e-05/6.171, allocations: 19.94 kB / 2.349 GB, free: 3.328 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004945/6.176, allocations: 226.7 kB / 2.349 GB, free: 3.105 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007315/6.177, allocations: 67.97 kB / 2.349 GB, free: 3.039 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,heaPum.uMod,$PRE.uMod.T_start,uMod.T_start,$PRE.uMod.count,uMod.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 1 * 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.0007918/6.178, allocations: 164.2 kB / 2.35 GB, free: 2.871 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001181/6.179, allocations: 245 kB / 2.35 GB, free: 2.629 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00715/6.186, allocations: 1.728 MB / 2.351 GB, free: 0.8711 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-05/6.186, allocations: 12 kB / 2.351 GB, free: 0.8594 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/6.186, allocations: 4 kB / 2.351 GB, free: 0.8555 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4302/6.617, allocations: 1.305 MB / 2.353 GB, free: 231.3 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01285/6.629, allocations: 5.162 MB / 2.358 GB, free: 229.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/6.629, allocations: 10.47 kB / 2.358 GB, free: 229.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002791/6.632, allocations: 267.6 kB / 2.358 GB, free: 229.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.479e-05/6.632, allocations: 11.19 kB / 2.358 GB, free: 229.8 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001941/6.633, allocations: 23.89 kB / 2.358 GB, free: 229.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.395e-05/6.633, allocations: 13.91 kB / 2.358 GB, free: 229.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.095e-06/6.633, allocations: 9.594 kB / 2.358 GB, free: 229.8 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007258/6.64, allocations: 2.962 MB / 2.361 GB, free: 229 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002512/6.642, allocations: 0.5949 MB / 2.362 GB, free: 228.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001109/6.644, allocations: 13.86 kB / 2.362 GB, free: 228.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003979/6.648, allocations: 143.4 kB / 2.362 GB, free: 228.9 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004896/6.648, allocations: 93.23 kB / 2.362 GB, free: 228.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002477/6.648, allocations: 58.77 kB / 2.362 GB, free: 228.9 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.003948/6.652, allocations: 1.55 MB / 2.363 GB, free: 228.7 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.007433/6.66, allocations: 1.502 MB / 2.365 GB, free: 228.6 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (heaPum.vol1.dynBal.U,heaPum.vol2.dynBal.U,heaPum1.vol1.dynBal.U,heaPum1.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.uMod,uMod.T_start,uMod.count) * Number of discrete states: 1 (uMod.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003096/6.663, allocations: 1.233 MB / 2.366 GB, free: 228.4 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.007328/6.67, allocations: 2.52 MB / 2.369 GB, free: 228.3 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/6.67, allocations: 3.844 kB / 2.369 GB, free: 228.3 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.002213/6.673, allocations: 0.7473 MB / 2.369 GB, free: 228.3 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01146/6.684, allocations: 1.017 MB / 2.37 GB, free: 228.3 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01889/6.703, allocations: 3.739 MB / 2.374 GB, free: 227.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003709/6.707, allocations: 2.056 MB / 2.376 GB, free: 226.6 MB / 0.9792 GB Notification: Performance of SimCode: time 1.903e-06/6.707, allocations: 0 / 2.376 GB, free: 226.6 MB / 0.9792 GB Notification: Performance of Templates: time 0.1559/6.863, allocations: 61.91 MB / 2.436 GB, free: 224.8 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)