Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL",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 10.0.0-master/package.mo): time 2.348/2.348, allocations: 390.4 MB / 397.7 MB, free: 11.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 182.3 kB / 490.8 MB, free: 1.945 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 221.4 MB / 0.7863 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 91.55 kB / 0.9264 GB, free: 14.27 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6657/0.6669, allocations: 149.1 MB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.9733, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.198/2.171, allocations: 430.6 MB / 1.632 GB, free: 1.301 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/2.172, allocations: 90.14 kB / 1.632 GB, free: 1.258 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 3.268/5.44, allocations: 0.8783 GB / 2.511 GB, free: 111.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/5.44, allocations: 8 kB / 2.511 GB, free: 111.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008667/5.441, allocations: 249.2 kB / 2.511 GB, free: 111.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00315/5.444, allocations: 1.713 MB / 2.513 GB, free: 109.4 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/5.444, allocations: 32 kB / 2.513 GB, free: 109.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/5.444, allocations: 60 kB / 2.513 GB, free: 109.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001263/5.445, allocations: 0.7107 MB / 2.513 GB, free: 108.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/5.447, allocations: 0.8891 MB / 2.514 GB, free: 107.7 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/5.447, allocations: 3.938 kB / 2.514 GB, free: 107.7 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.852e-05/5.447, allocations: 7.906 kB / 2.514 GB, free: 107.7 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.744e-05/5.447, allocations: 37.98 kB / 2.514 GB, free: 107.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007204/5.454, allocations: 5.121 MB / 2.519 GB, free: 102.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009336/5.455, allocations: 476 kB / 2.52 GB, free: 101.9 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003523/5.455, allocations: 257.8 kB / 2.52 GB, free: 101.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006036/5.456, allocations: 0.8382 MB / 2.521 GB, free: 100.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/5.456, allocations: 42.38 kB / 2.521 GB, free: 100.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=60): time 3.547e-06/5.456, allocations: 0 / 2.521 GB, free: 100.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=60): time 0.004378/5.46, allocations: 1.046 MB / 2.522 GB, free: 99.61 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/5.46, allocations: 59.91 kB / 2.522 GB, free: 99.54 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00131/5.462, allocations: 0.8912 MB / 2.523 GB, free: 98.63 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 8.415e-05/5.462, allocations: 25.7 kB / 2.523 GB, free: 98.6 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/5.462, allocations: 449.5 kB / 2.523 GB, free: 98.16 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001952/5.462, allocations: 197.1 kB / 2.523 GB, free: 97.96 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.122e-05/5.462, allocations: 3.094 kB / 2.523 GB, free: 97.96 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.01e-05/5.462, allocations: 333.9 kB / 2.524 GB, free: 97.63 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/5.463, allocations: 193.3 kB / 2.524 GB, free: 97.44 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/5.463, allocations: 422.6 kB / 2.524 GB, free: 96.95 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000624/5.464, allocations: 287.5 kB / 2.525 GB, free: 96.67 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/5.464, allocations: 4 kB / 2.525 GB, free: 96.67 MB / 1.167 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00425/5.468, allocations: 1.177 MB / 2.526 GB, free: 95.53 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003407/5.468, allocations: 1.32 MB / 2.527 GB, free: 94.12 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/5.468, allocations: 4 kB / 2.527 GB, free: 94.12 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005027/5.469, allocations: 128.1 kB / 2.527 GB, free: 94 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006549/5.47, allocations: 166.5 kB / 2.527 GB, free: 93.84 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000679/5.47, allocations: 0.7056 MB / 2.528 GB, free: 93.11 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/5.472, allocations: 129.7 kB / 2.528 GB, free: 92.99 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.889e-05/5.472, allocations: 35.98 kB / 2.528 GB, free: 92.96 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.534e-06/5.472, allocations: 4 kB / 2.528 GB, free: 92.95 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003915/5.476, allocations: 1.03 MB / 2.529 GB, free: 91.96 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/5.476, allocations: 7.031 kB / 2.529 GB, free: 91.96 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003847/5.476, allocations: 124.3 kB / 2.529 GB, free: 91.84 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005951/5.477, allocations: 163.1 kB / 2.529 GB, free: 91.68 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005578/5.477, allocations: 0.7075 MB / 2.53 GB, free: 90.95 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/5.478, allocations: 113.7 kB / 2.53 GB, free: 90.85 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-05/5.479, allocations: 40.08 kB / 2.53 GB, free: 90.81 MB / 1.167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaPum.yPL:VARIABLE(min = 0.0 unit = "1" ) "Part load ratio" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002739/5.479, allocations: 125 kB / 2.53 GB, free: 90.68 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002894/5.479, allocations: 118.5 kB / 2.53 GB, free: 90.56 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004457/5.484, allocations: 1.193 MB / 2.532 GB, free: 89.36 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/5.484, allocations: 8 kB / 2.532 GB, free: 89.36 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/5.484, allocations: 0 / 2.532 GB, free: 89.36 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003755/5.487, allocations: 1.092 MB / 2.533 GB, free: 88.23 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007026/5.494, allocations: 2.394 MB / 2.535 GB, free: 85.76 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/5.494, allocations: 0 / 2.535 GB, free: 85.76 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005551/5.495, allocations: 123.9 kB / 2.535 GB, free: 85.64 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004003/5.495, allocations: 124.7 kB / 2.535 GB, free: 85.51 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.003e-05/5.496, allocations: 11.98 kB / 2.535 GB, free: 85.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005265/5.496, allocations: 0.6967 MB / 2.536 GB, free: 84.78 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.623e-06/5.496, allocations: 3.938 kB / 2.536 GB, free: 84.77 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004804/5.501, allocations: 1.765 MB / 2.538 GB, free: 82.9 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005549/5.506, allocations: 2.521 MB / 2.54 GB, free: 80.27 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009359/5.507, allocations: 311.3 kB / 2.54 GB, free: 79.94 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004332/5.508, allocations: 8.062 kB / 2.54 GB, free: 79.93 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001168/5.509, allocations: 59.94 kB / 2.541 GB, free: 79.88 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/5.509, allocations: 52.28 kB / 2.541 GB, free: 79.82 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-05/5.509, allocations: 27.98 kB / 2.541 GB, free: 79.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001407/5.511, allocations: 0.6854 MB / 2.541 GB, free: 79.11 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.005111/5.516, allocations: 1.029 MB / 2.542 GB, free: 78.07 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001795/5.518, allocations: 0.792 MB / 2.543 GB, free: 77.34 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.001964/5.52, allocations: 0.9176 MB / 2.544 GB, free: 76.42 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/5.52, allocations: 0 / 2.544 GB, free: 76.42 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.000605/5.52, allocations: 327 kB / 2.544 GB, free: 76.11 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003059/5.523, allocations: 0.5354 MB / 2.545 GB, free: 75.58 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005222/5.529, allocations: 1.746 MB / 2.546 GB, free: 73.77 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/5.53, allocations: 1.314 MB / 2.548 GB, free: 72.42 MB / 1.167 GB Notification: Performance of SimCode: time 1.843e-06/5.53, allocations: 0 / 2.548 GB, free: 72.42 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1)