Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.479/2.479, allocations: 284.8 MB / 292.1 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001605/0.001605, allocations: 185.2 kB / 360.3 MB, free: 7.531 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.981/1.981, allocations: 205.1 MB / 0.6187 GB, free: 13.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001587/0.001586, allocations: 94.78 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3011/0.3027, allocations: 121.4 MB / 0.8502 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7448/1.048, allocations: 115.2 MB / 0.9627 GB, free: 78.57 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.129/2.176, allocations: 416.8 MB / 1.37 GB, free: 149.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/2.177, allocations: 91.25 kB / 1.37 GB, free: 149.4 MB / 0.8542 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 4.3/6.477, allocations: 0.939 GB / 2.309 GB, free: 9.93 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 7.3e-05/6.477, allocations: 15.98 kB / 2.309 GB, free: 9.914 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009346/6.487, allocations: 0.6245 MB / 2.309 GB, free: 9.285 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0135/6.5, allocations: 2.98 MB / 2.312 GB, free: 6.234 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005352/6.501, allocations: 222.6 kB / 2.313 GB, free: 5.992 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008492/6.502, allocations: 132 kB / 2.313 GB, free: 5.863 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007727/6.509, allocations: 1.816 MB / 2.314 GB, free: 4.047 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008837/6.518, allocations: 2.115 MB / 2.317 GB, free: 1.797 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.091e-05/6.518, allocations: 7.922 kB / 2.317 GB, free: 1.789 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004436/6.519, allocations: 8 kB / 2.317 GB, free: 1.781 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/6.519, allocations: 63.94 kB / 2.317 GB, free: 1.719 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4605/6.979, allocations: 11.78 MB / 2.328 GB, free: 200.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003111/6.983, allocations: 1.178 MB / 2.329 GB, free: 200.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001738/6.984, allocations: 0.6654 MB / 2.33 GB, free: 200.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/6.986, allocations: 1.33 MB / 2.331 GB, free: 198.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002302/6.988, allocations: 0.9595 MB / 2.332 GB, free: 198.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=107): time 4.9e-06/6.988, allocations: 0 / 2.332 GB, free: 198.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=107): time 0.005784/6.994, allocations: 1.467 MB / 2.334 GB, free: 198.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002313/6.994, allocations: 0.7871 MB / 2.334 GB, free: 197.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005523/7, allocations: 2.004 MB / 2.336 GB, free: 197 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006547/7, allocations: 29.3 kB / 2.336 GB, free: 197 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001237/7.002, allocations: 0.8923 MB / 2.337 GB, free: 196.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008424/7.002, allocations: 361.6 kB / 2.338 GB, free: 196.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/7.003, allocations: 0 / 2.338 GB, free: 196.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001331/7.003, allocations: 360.9 kB / 2.338 GB, free: 196.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001821/7.005, allocations: 0.6195 MB / 2.338 GB, free: 196.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002467/7.007, allocations: 1.198 MB / 2.34 GB, free: 195.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002808/7.01, allocations: 0.7669 MB / 2.34 GB, free: 195.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/7.01, allocations: 2.844 kB / 2.34 GB, free: 195.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.009177/7.019, allocations: 1.843 MB / 2.342 GB, free: 195.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00141/7.021, allocations: 4.223 MB / 2.346 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.327e-05/7.021, allocations: 7.75 kB / 2.346 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.891e-05/7.021, allocations: 25.66 kB / 2.346 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005586/7.027, allocations: 402.2 kB / 2.347 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.502e-05/7.027, allocations: 23.56 kB / 2.347 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007356/7.034, allocations: 267 kB / 2.347 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008315/7.035, allocations: 66.86 kB / 2.347 GB, free: 190.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/7.035, allocations: 6.469 kB / 2.347 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008115/7.043, allocations: 1.56 MB / 2.349 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-05/7.043, allocations: 11.25 kB / 2.349 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.127e-05/7.043, allocations: 19.31 kB / 2.349 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004551/7.048, allocations: 397.2 kB / 2.349 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.655e-05/7.048, allocations: 29.95 kB / 2.349 GB, free: 190.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005762/7.054, allocations: 221.7 kB / 2.349 GB, free: 190.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006873/7.054, allocations: 70.89 kB / 2.349 GB, free: 190.7 MB / 0.948 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.0008701/7.055, allocations: 153.2 kB / 2.349 GB, free: 190.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/7.057, allocations: 249.1 kB / 2.35 GB, free: 190.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007779/7.064, allocations: 1.721 MB / 2.351 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.568e-05/7.065, allocations: 18.03 kB / 2.351 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.722e-05/7.065, allocations: 6.438 kB / 2.351 GB, free: 190.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005764/7.07, allocations: 1.309 MB / 2.353 GB, free: 190.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02003/7.09, allocations: 5.179 MB / 2.358 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-05/7.091, allocations: 5.75 kB / 2.358 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004224/7.095, allocations: 273.1 kB / 2.358 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.439e-05/7.095, allocations: 7.906 kB / 2.358 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003586/7.095, allocations: 25.59 kB / 2.358 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.856e-05/7.095, allocations: 7.875 kB / 2.358 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/7.095, allocations: 11.05 kB / 2.358 GB, free: 188.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01066/7.106, allocations: 2.96 MB / 2.361 GB, free: 187.6 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01523/7.121, allocations: 4.321 MB / 2.365 GB, free: 186.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003699/7.125, allocations: 0.5976 MB / 2.366 GB, free: 186 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001826/7.127, allocations: 18.7 kB / 2.366 GB, free: 186 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006526/7.134, allocations: 133.6 kB / 2.366 GB, free: 186 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008314/7.134, allocations: 99.86 kB / 2.366 GB, free: 186 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004129/7.135, allocations: 55.12 kB / 2.366 GB, free: 186 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.006707/7.142, allocations: 1.552 MB / 2.368 GB, free: 185.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0168/7.159, allocations: 1.9 MB / 2.369 GB, free: 185.8 MB / 0.948 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.004763/7.163, allocations: 1.224 MB / 2.371 GB, free: 185.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.01149/7.175, allocations: 2.524 MB / 2.373 GB, free: 185.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.251e-05/7.175, allocations: 4.172 kB / 2.373 GB, free: 185.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.003629/7.179, allocations: 0.7511 MB / 2.374 GB, free: 185.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01482/7.194, allocations: 1.02 MB / 2.375 GB, free: 185.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02258/7.216, allocations: 3.737 MB / 2.378 GB, free: 184.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007324/7.224, allocations: 2.059 MB / 2.38 GB, free: 183.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.723e-06/7.224, allocations: 0 / 2.38 GB, free: 183.7 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor_fmu --startTime=0 --stopTime=5000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_ScalingFactor.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_ScalingFactor.pipe 2>&1)