Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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_etaCar,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar",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.291/2.291, allocations: 390.4 MB / 397.7 MB, free: 11.22 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.001106/0.001106, allocations: 184 kB / 490.8 MB, free: 1.91 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.481/1.481, allocations: 221.3 MB / 0.7863 GB, free: 13.64 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.0009677/0.0009677, allocations: 94.67 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.7189/0.7199, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/1.048, allocations: 143 MB / 1.212 GB, free: 39.99 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.231/2.278, allocations: 430.6 MB / 1.632 GB, free: 1.117 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/2.279, allocations: 87.58 kB / 1.632 GB, free: 1.074 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.243/5.522, allocations: 0.8781 GB / 2.51 GB, free: 118.3 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/5.522, allocations: 8 kB / 2.51 GB, free: 118.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/5.523, allocations: 245 kB / 2.511 GB, free: 118 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004846/5.528, allocations: 1.733 MB / 2.512 GB, free: 116.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.479e-05/5.528, allocations: 28 kB / 2.512 GB, free: 116.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003265/5.529, allocations: 67.34 kB / 2.512 GB, free: 116.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001726/5.53, allocations: 0.6991 MB / 2.513 GB, free: 115.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/5.532, allocations: 0.8854 MB / 2.514 GB, free: 114.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.268e-05/5.532, allocations: 0 / 2.514 GB, free: 114.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.5e-05/5.532, allocations: 7.906 kB / 2.514 GB, free: 114.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-05/5.532, allocations: 41.98 kB / 2.514 GB, free: 114.5 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006977/5.539, allocations: 5.064 MB / 2.519 GB, free: 109.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008465/5.54, allocations: 472.6 kB / 2.519 GB, free: 108.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/5.54, allocations: 250.3 kB / 2.52 GB, free: 108.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004913/5.541, allocations: 0.8235 MB / 2.52 GB, free: 107.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/5.541, allocations: 49.89 kB / 2.521 GB, free: 107.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=59): time 3.156e-06/5.541, allocations: 0 / 2.521 GB, free: 107.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=59): time 0.004286/5.545, allocations: 1.037 MB / 2.522 GB, free: 106.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.317e-05/5.545, allocations: 59.91 kB / 2.522 GB, free: 106.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/5.546, allocations: 0.8835 MB / 2.522 GB, free: 105.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 9.262e-05/5.547, allocations: 29.7 kB / 2.522 GB, free: 105.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/5.547, allocations: 452.8 kB / 2.523 GB, free: 105.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001868/5.547, allocations: 197 kB / 2.523 GB, free: 104.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/5.547, allocations: 0 / 2.523 GB, free: 104.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.021e-05/5.547, allocations: 333.9 kB / 2.523 GB, free: 104.6 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002899/5.547, allocations: 189.3 kB / 2.524 GB, free: 104.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/5.548, allocations: 427.2 kB / 2.524 GB, free: 103.9 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005993/5.548, allocations: 283.7 kB / 2.524 GB, free: 103.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/5.548, allocations: 0 / 2.524 GB, free: 103.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004188/5.553, allocations: 1.177 MB / 2.525 GB, free: 102.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002686/5.553, allocations: 1.406 MB / 2.527 GB, free: 101 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/5.553, allocations: 4 kB / 2.527 GB, free: 101 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004739/5.553, allocations: 104.4 kB / 2.527 GB, free: 100.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006743/5.554, allocations: 167 kB / 2.527 GB, free: 100.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00124/5.555, allocations: 0.7993 MB / 2.528 GB, free: 99.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/5.557, allocations: 128.8 kB / 2.528 GB, free: 99.79 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-05/5.557, allocations: 31.98 kB / 2.528 GB, free: 99.75 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/5.557, allocations: 4 kB / 2.528 GB, free: 99.75 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004084/5.561, allocations: 1.025 MB / 2.529 GB, free: 98.77 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/5.561, allocations: 4 kB / 2.529 GB, free: 98.77 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003899/5.561, allocations: 111.9 kB / 2.529 GB, free: 98.66 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000623/5.562, allocations: 163.1 kB / 2.529 GB, free: 98.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001215/5.563, allocations: 0.7943 MB / 2.53 GB, free: 97.68 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/5.565, allocations: 111.5 kB / 2.53 GB, free: 97.57 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-05/5.565, allocations: 31.98 kB / 2.53 GB, free: 97.54 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaPum.COP:VARIABLE(min = 0.0 unit = "1" ) "Coefficient of performance" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003688/5.565, allocations: 129.8 kB / 2.53 GB, free: 97.41 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000415/5.566, allocations: 118.6 kB / 2.53 GB, free: 97.29 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004682/5.57, allocations: 1.183 MB / 2.532 GB, free: 96.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/5.57, allocations: 11.94 kB / 2.532 GB, free: 96.09 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/5.57, allocations: 3.875 kB / 2.532 GB, free: 96.09 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00392/5.574, allocations: 1.073 MB / 2.533 GB, free: 94.98 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007124/5.581, allocations: 2.369 MB / 2.535 GB, free: 92.54 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/5.581, allocations: 3.938 kB / 2.535 GB, free: 92.53 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005591/5.582, allocations: 124.1 kB / 2.535 GB, free: 92.41 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003469/5.582, allocations: 108.8 kB / 2.535 GB, free: 92.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-05/5.582, allocations: 8 kB / 2.535 GB, free: 92.29 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003604/5.586, allocations: 2.12 MB / 2.537 GB, free: 90.06 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/5.586, allocations: 4 kB / 2.537 GB, free: 90.05 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004937/5.591, allocations: 1.73 MB / 2.539 GB, free: 88.21 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005703/5.597, allocations: 2.486 MB / 2.541 GB, free: 85.61 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001233/5.598, allocations: 315.3 kB / 2.542 GB, free: 85.29 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005442/5.599, allocations: 8.219 kB / 2.542 GB, free: 85.28 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001386/5.6, allocations: 71.84 kB / 2.542 GB, free: 85.21 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/5.6, allocations: 44.31 kB / 2.542 GB, free: 85.16 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/5.6, allocations: 35.89 kB / 2.542 GB, free: 85.13 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001455/5.602, allocations: 0.6776 MB / 2.542 GB, free: 84.45 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.004736/5.607, allocations: 1.037 MB / 2.543 GB, free: 83.41 MB / 1.151 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001475/5.608, allocations: 0.7799 MB / 2.544 GB, free: 82.68 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002639/5.611, allocations: 1.043 MB / 2.545 GB, free: 81.64 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/5.611, allocations: 8.312 kB / 2.545 GB, free: 81.63 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001161/5.612, allocations: 499.9 kB / 2.546 GB, free: 81.13 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003102/5.615, allocations: 0.543 MB / 2.546 GB, free: 80.61 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004718/5.62, allocations: 1.754 MB / 2.548 GB, free: 78.79 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009719/5.621, allocations: 1.302 MB / 2.549 GB, free: 77.46 MB / 1.151 GB Notification: Performance of SimCode: time 2.424e-06/5.621, allocations: 0 / 2.549 GB, free: 77.46 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)