Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.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.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",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.245/2.245, allocations: 390.4 MB / 397.7 MB, free: 11.28 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.001182/0.001182, allocations: 177.2 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.45/1.45, allocations: 221.3 MB / 0.7863 GB, free: 13.69 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.001054/0.001054, allocations: 87.73 kB / 0.9264 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.6528/0.6539, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.9457, allocations: 143 MB / 1.212 GB, free: 40.05 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.148/2.094, allocations: 431.8 MB / 1.633 GB, free: 15.93 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/2.094, allocations: 92.25 kB / 1.633 GB, free: 15.88 MB / 1.057 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 2.91/5.004, allocations: 0.6283 GB / 2.262 GB, free: 227.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/5.004, allocations: 6.062 kB / 2.262 GB, free: 227.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002873/5.007, allocations: 0.5428 MB / 2.262 GB, free: 227.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004559/5.012, allocations: 1.534 MB / 2.264 GB, free: 227.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000875/5.013, allocations: 252.4 kB / 2.264 GB, free: 227.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004014/5.013, allocations: 54.28 kB / 2.264 GB, free: 227.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002373/5.015, allocations: 1.008 MB / 2.265 GB, free: 227.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002344/5.018, allocations: 1.005 MB / 2.266 GB, free: 226.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.106e-05/5.018, allocations: 1.781 kB / 2.266 GB, free: 226.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/5.018, allocations: 2.188 kB / 2.266 GB, free: 226.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.846e-05/5.018, allocations: 40.83 kB / 2.266 GB, free: 226.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009755/5.028, allocations: 4.704 MB / 2.271 GB, free: 225.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/5.029, allocations: 0.7909 MB / 2.271 GB, free: 225.1 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005638/5.03, allocations: 384.8 kB / 2.272 GB, free: 225.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006851/5.03, allocations: 1.155 MB / 2.273 GB, free: 223.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006892/5.031, allocations: 456.8 kB / 2.273 GB, free: 223.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=61): time 2.966e-06/5.031, allocations: 7.219 kB / 2.273 GB, free: 223.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=61): time 0.002065/5.033, allocations: 0.8663 MB / 2.274 GB, free: 223.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.105e-05/5.033, allocations: 84.8 kB / 2.274 GB, free: 223.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/5.036, allocations: 1.194 MB / 2.275 GB, free: 223.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/5.036, allocations: 33.05 kB / 2.276 GB, free: 223.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004217/5.036, allocations: 440.6 kB / 2.276 GB, free: 223.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/5.037, allocations: 200.9 kB / 2.276 GB, free: 223 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.39e-05/5.037, allocations: 1.625 kB / 2.276 GB, free: 223 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.461e-05/5.037, allocations: 326.9 kB / 2.276 GB, free: 222.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005636/5.037, allocations: 361.1 kB / 2.277 GB, free: 222.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006843/5.038, allocations: 0.5351 MB / 2.277 GB, free: 222.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001046/5.039, allocations: 444.5 kB / 2.278 GB, free: 222.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/5.039, allocations: 0 / 2.278 GB, free: 222.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.002256/5.041, allocations: 1.025 MB / 2.279 GB, free: 222.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002443/5.042, allocations: 0.8919 MB / 2.28 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/5.042, allocations: 0 / 2.28 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.044e-05/5.042, allocations: 11.22 kB / 2.28 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/5.043, allocations: 228.2 kB / 2.28 GB, free: 221.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/5.043, allocations: 11.75 kB / 2.28 GB, free: 221.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/5.045, allocations: 215.8 kB / 2.28 GB, free: 221.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/5.045, allocations: 40.41 kB / 2.28 GB, free: 221.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/5.045, allocations: 7.688 kB / 2.28 GB, free: 221.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001823/5.047, allocations: 0.8563 MB / 2.281 GB, free: 221.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/5.047, allocations: 1.875 kB / 2.281 GB, free: 221.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/5.047, allocations: 6.812 kB / 2.281 GB, free: 221.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/5.048, allocations: 232.8 kB / 2.281 GB, free: 221.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/5.048, allocations: 4.156 kB / 2.281 GB, free: 221.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/5.049, allocations: 179.3 kB / 2.281 GB, free: 221.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/5.05, allocations: 32.89 kB / 2.281 GB, free: 221.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.datRea.nextTimeEvent,datRea.nextTimeEvent,$PRE.datRea.nextTimeEventScaled,datRea.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 78 * 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.0002824/5.05, allocations: 132.3 kB / 2.281 GB, free: 221.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004353/5.05, allocations: 134.6 kB / 2.282 GB, free: 221.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0027/5.053, allocations: 1.136 MB / 2.283 GB, free: 221.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/5.053, allocations: 7.781 kB / 2.283 GB, free: 221.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/5.053, allocations: 0 / 2.283 GB, free: 221.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/5.053, allocations: 4.453 kB / 2.283 GB, free: 221.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005116/5.058, allocations: 2.549 MB / 2.285 GB, free: 220.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/5.058, allocations: 3.969 kB / 2.285 GB, free: 220.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008517/5.059, allocations: 163.2 kB / 2.285 GB, free: 220.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.928e-05/5.059, allocations: 10.31 kB / 2.285 GB, free: 220.7 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.953e-05/5.059, allocations: 14.89 kB / 2.285 GB, free: 220.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/5.059, allocations: 7.812 kB / 2.285 GB, free: 220.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/5.059, allocations: 6.688 kB / 2.285 GB, free: 220.7 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002081/5.061, allocations: 1.29 MB / 2.287 GB, free: 220.2 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002405/5.064, allocations: 1.743 MB / 2.288 GB, free: 219.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009138/5.065, allocations: 394.1 kB / 2.289 GB, free: 219.1 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004148/5.065, allocations: 7.641 kB / 2.289 GB, free: 219.1 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/5.066, allocations: 116.3 kB / 2.289 GB, free: 219.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/5.067, allocations: 56.97 kB / 2.289 GB, free: 219.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/5.067, allocations: 35.97 kB / 2.289 GB, free: 219.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001794/5.069, allocations: 0.9127 MB / 2.29 GB, free: 219 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004705/5.073, allocations: 0.9842 MB / 2.291 GB, free: 218.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Number of discrete states: 2 (datRea.nextTimeEvent,datRea.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.002532/5.076, allocations: 1.013 MB / 2.292 GB, free: 218.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002429/5.078, allocations: 1.378 MB / 2.293 GB, free: 218.7 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/5.078, allocations: 3.844 kB / 2.293 GB, free: 218.7 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007004/5.079, allocations: 463.5 kB / 2.294 GB, free: 218.7 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002841/5.082, allocations: 474.9 kB / 2.294 GB, free: 218.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006516/5.088, allocations: 1.937 MB / 2.296 GB, free: 218.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002274/5.091, allocations: 1.419 MB / 2.297 GB, free: 217.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.172e-06/5.091, allocations: 0 / 2.297 GB, free: 217.4 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat does not exist to compare? outputFormat=mat