Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.051/2.051, allocations: 387.2 MB / 394.5 MB, free: 7.543 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 184.6 kB / 487 MB, free: 7.91 MB / 382.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 221.3 MB / 0.7819 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009815/0.0009815, allocations: 106.1 kB / 0.9213 GB, free: 64.93 MB / 0.67 GB Notification: Performance of FrontEnd - loaded program: time 0.271/0.272, allocations: 148.5 MB / 1.066 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.5813, allocations: 142.3 MB / 1.205 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9559/1.537, allocations: 431 MB / 1.626 GB, free: 14.68 MB / 1.107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/1.538, allocations: 89.17 kB / 1.626 GB, free: 14.6 MB / 1.107 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.496/4.033, allocations: 0.6283 GB / 2.255 GB, free: 223.9 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/4.033, allocations: 10.77 kB / 2.255 GB, free: 223.9 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003099/4.037, allocations: 0.5359 MB / 2.255 GB, free: 223.7 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004646/4.041, allocations: 1.542 MB / 2.257 GB, free: 223 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008879/4.042, allocations: 258.7 kB / 2.257 GB, free: 222.9 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004152/4.043, allocations: 59.61 kB / 2.257 GB, free: 222.9 MB / 1.139 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002454/4.045, allocations: 1.002 MB / 2.258 GB, free: 222.9 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002217/4.047, allocations: 1.007 MB / 2.259 GB, free: 222.6 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/4.047, allocations: 0 / 2.259 GB, free: 222.6 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001288/4.047, allocations: 0 / 2.259 GB, free: 222.6 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.312e-05/4.048, allocations: 37.75 kB / 2.259 GB, free: 222.6 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01099/4.058, allocations: 4.718 MB / 2.264 GB, free: 219 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/4.06, allocations: 0.7963 MB / 2.264 GB, free: 218.7 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006198/4.061, allocations: 385.5 kB / 2.265 GB, free: 218.5 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000966/4.062, allocations: 1.15 MB / 2.266 GB, free: 217.1 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007365/4.062, allocations: 462.9 kB / 2.266 GB, free: 216.8 MB / 1.139 GB Notification: Performance of pre-optimization done (n=61): time 3.958e-06/4.062, allocations: 0 / 2.266 GB, free: 216.8 MB / 1.139 GB Notification: Performance of matching and sorting (n=61): time 0.002091/4.064, allocations: 0.8684 MB / 2.267 GB, free: 216.4 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/4.065, allocations: 81.55 kB / 2.267 GB, free: 216.3 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/4.067, allocations: 1.207 MB / 2.268 GB, free: 215.7 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/4.067, allocations: 29.61 kB / 2.268 GB, free: 215.6 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002965/4.067, allocations: 433 kB / 2.269 GB, free: 215.3 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/4.067, allocations: 203 kB / 2.269 GB, free: 215.1 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.253e-05/4.067, allocations: 0 / 2.269 GB, free: 215.1 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 7.029e-05/4.067, allocations: 333.5 kB / 2.269 GB, free: 214.8 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005038/4.068, allocations: 356.1 kB / 2.27 GB, free: 214.6 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/4.068, allocations: 0.5369 MB / 2.27 GB, free: 214.2 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009457/4.069, allocations: 446.3 kB / 2.271 GB, free: 214 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/4.069, allocations: 3.938 kB / 2.271 GB, free: 214 MB / 1.139 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001968/4.071, allocations: 1.026 MB / 2.272 GB, free: 213.5 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 0.000178/4.072, allocations: 0.8866 MB / 2.272 GB, free: 212.5 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/4.072, allocations: 3.281 kB / 2.272 GB, free: 212.5 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/4.072, allocations: 12.59 kB / 2.272 GB, free: 212.5 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/4.073, allocations: 236.2 kB / 2.273 GB, free: 212.5 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/4.073, allocations: 5.656 kB / 2.273 GB, free: 212.5 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/4.074, allocations: 217.6 kB / 2.273 GB, free: 212.4 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/4.075, allocations: 37 kB / 2.273 GB, free: 212.4 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/4.075, allocations: 3.781 kB / 2.273 GB, free: 212.4 MB / 1.139 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001587/4.076, allocations: 0.8581 MB / 2.274 GB, free: 212 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/4.076, allocations: 7.25 kB / 2.274 GB, free: 212 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.506e-06/4.076, allocations: 6.969 kB / 2.274 GB, free: 212 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/4.077, allocations: 224.9 kB / 2.274 GB, free: 211.9 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/4.077, allocations: 3.875 kB / 2.274 GB, free: 211.9 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/4.079, allocations: 176.4 kB / 2.274 GB, free: 211.9 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/4.079, allocations: 40.66 kB / 2.274 GB, free: 211.9 MB / 1.139 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.000255/4.079, allocations: 125.7 kB / 2.274 GB, free: 211.7 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002307/4.079, allocations: 135.9 kB / 2.274 GB, free: 211.7 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/4.082, allocations: 1.125 MB / 2.276 GB, free: 211.1 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-05/4.082, allocations: 19.28 kB / 2.276 GB, free: 211.1 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/4.082, allocations: 0 / 2.276 GB, free: 211.1 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/4.082, allocations: 7.891 kB / 2.276 GB, free: 211.1 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004057/4.086, allocations: 2.548 MB / 2.278 GB, free: 209.3 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/4.086, allocations: 6.562 kB / 2.278 GB, free: 209.3 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008651/4.087, allocations: 161.2 kB / 2.278 GB, free: 209.3 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/4.087, allocations: 7.688 kB / 2.278 GB, free: 209.3 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.22e-05/4.087, allocations: 14.48 kB / 2.278 GB, free: 209.3 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/4.087, allocations: 8.781 kB / 2.278 GB, free: 209.3 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/4.087, allocations: 14.61 kB / 2.278 GB, free: 209.3 MB / 1.139 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001736/4.089, allocations: 1.289 MB / 2.28 GB, free: 208.4 MB / 1.139 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001857/4.09, allocations: 1.739 MB / 2.281 GB, free: 207 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006937/4.091, allocations: 393.7 kB / 2.282 GB, free: 206.7 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/4.091, allocations: 7.438 kB / 2.282 GB, free: 206.7 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/4.092, allocations: 121.2 kB / 2.282 GB, free: 206.7 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/4.093, allocations: 57.08 kB / 2.282 GB, free: 206.6 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.552e-05/4.093, allocations: 33.12 kB / 2.282 GB, free: 206.6 MB / 1.139 GB Notification: Performance of sort global known variables: time 0.00124/4.094, allocations: 0.9121 MB / 2.283 GB, free: 206.1 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003889/4.098, allocations: 0.9808 MB / 2.284 GB, free: 205.7 MB / 1.139 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.001995/4.1, allocations: 1.021 MB / 2.285 GB, free: 205.4 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002176/4.102, allocations: 1.372 MB / 2.286 GB, free: 204.7 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/4.102, allocations: 3.375 kB / 2.286 GB, free: 204.7 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006283/4.103, allocations: 467.2 kB / 2.286 GB, free: 204.5 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/4.105, allocations: 466.5 kB / 2.287 GB, free: 204.3 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004403/4.11, allocations: 1.94 MB / 2.289 GB, free: 203.3 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/4.111, allocations: 1.422 MB / 2.29 GB, free: 202.3 MB / 1.139 GB Notification: Performance of SimCode: time 9.52e-07/4.111, allocations: 0 / 2.29 GB, free: 202.3 MB / 1.139 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus_res.mat does not exist to compare? outputFormat=mat