Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.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.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",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.029/2.029, allocations: 387.2 MB / 394.5 MB, free: 4.582 MB / 306.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009947/0.0009947, allocations: 185.2 kB / 487 MB, free: 11.12 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 221.3 MB / 0.7819 GB, free: 4 MB / 0.5497 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 97.17 kB / 0.9213 GB, free: 5.094 MB / 0.6903 GB Notification: Performance of FrontEnd - loaded program: time 0.5917/0.5928, allocations: 148.5 MB / 1.066 GB, free: 141.1 MB / 0.7216 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2828/0.8756, allocations: 142.3 MB / 1.205 GB, free: 14.73 MB / 0.7372 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7843/1.66, allocations: 152.9 MB / 1.355 GB, free: 15.18 MB / 0.8309 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000369/1.66, allocations: 79.95 kB / 1.355 GB, free: 15.1 MB / 0.8309 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.02969/1.69, allocations: 8.291 MB / 1.363 GB, free: 6.766 MB / 0.8309 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/1.69, allocations: 10.14 kB / 1.363 GB, free: 6.758 MB / 0.8309 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007699/1.691, allocations: 167.4 kB / 1.363 GB, free: 6.594 MB / 0.8309 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005391/1.691, allocations: 347.7 kB / 1.363 GB, free: 6.215 MB / 0.8309 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/1.692, allocations: 83.61 kB / 1.363 GB, free: 6.117 MB / 0.8309 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/1.692, allocations: 4 kB / 1.363 GB, free: 6.113 MB / 0.8309 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005698/1.692, allocations: 320.3 kB / 1.364 GB, free: 5.801 MB / 0.8309 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004029/1.693, allocations: 227.2 kB / 1.364 GB, free: 5.574 MB / 0.8309 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/1.693, allocations: 0 / 1.364 GB, free: 5.574 MB / 0.8309 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.018e-05/1.693, allocations: 4 kB / 1.364 GB, free: 5.57 MB / 0.8309 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/1.693, allocations: 4 kB / 1.364 GB, free: 5.566 MB / 0.8309 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001611/1.694, allocations: 0.8388 MB / 1.365 GB, free: 4.688 MB / 0.8309 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/1.695, allocations: 222.8 kB / 1.365 GB, free: 4.461 MB / 0.8309 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/1.695, allocations: 164.7 kB / 1.365 GB, free: 4.297 MB / 0.8309 GB Notification: Performance of preOpt evalFunc (simulation): time 3.401e-05/1.695, allocations: 0 / 1.365 GB, free: 4.297 MB / 0.8309 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/1.695, allocations: 38.55 kB / 1.365 GB, free: 4.25 MB / 0.8309 GB Notification: Performance of pre-optimization done (n=18): time 1.122e-06/1.695, allocations: 4 kB / 1.365 GB, free: 4.246 MB / 0.8309 GB Notification: Performance of matching and sorting (n=18): time 0.0006845/1.696, allocations: 361 kB / 1.366 GB, free: 3.887 MB / 0.8309 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/1.696, allocations: 51.41 kB / 1.366 GB, free: 3.824 MB / 0.8309 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000388/1.696, allocations: 346 kB / 1.366 GB, free: 3.484 MB / 0.8309 GB Notification: Performance of collectPreVariables (initialization): time 3.644e-05/1.696, allocations: 25.7 kB / 1.366 GB, free: 3.453 MB / 0.8309 GB Notification: Performance of collectInitialEqns (initialization): time 8.672e-05/1.696, allocations: 128.4 kB / 1.366 GB, free: 3.324 MB / 0.8309 GB Notification: Performance of collectInitialBindings (initialization): time 6.22e-05/1.696, allocations: 51.17 kB / 1.366 GB, free: 3.273 MB / 0.8309 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/1.696, allocations: 0 / 1.366 GB, free: 3.273 MB / 0.8309 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.697, allocations: 350.8 kB / 1.366 GB, free: 2.922 MB / 0.8309 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/1.697, allocations: 144 kB / 1.367 GB, free: 2.781 MB / 0.8309 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002817/1.697, allocations: 186.7 kB / 1.367 GB, free: 2.59 MB / 0.8309 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/1.697, allocations: 127.9 kB / 1.367 GB, free: 2.465 MB / 0.8309 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.697, allocations: 0 / 1.367 GB, free: 2.465 MB / 0.8309 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006113/1.698, allocations: 361 kB / 1.367 GB, free: 2.105 MB / 0.8309 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/1.698, allocations: 4 kB / 1.367 GB, free: 2.102 MB / 0.8309 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/1.698, allocations: 0 / 1.367 GB, free: 2.102 MB / 0.8309 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/1.698, allocations: 4 kB / 1.367 GB, free: 2.098 MB / 0.8309 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005345/1.699, allocations: 79.86 kB / 1.367 GB, free: 2.02 MB / 0.8309 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/1.699, allocations: 3.906 kB / 1.367 GB, free: 2.016 MB / 0.8309 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/1.699, allocations: 51.89 kB / 1.367 GB, free: 1.965 MB / 0.8309 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/1.699, allocations: 8 kB / 1.367 GB, free: 1.957 MB / 0.8309 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (equFit.uMod) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001205/1.699, allocations: 110 kB / 1.367 GB, free: 1.844 MB / 0.8309 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-05/1.699, allocations: 35.61 kB / 1.367 GB, free: 1.809 MB / 0.8309 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.304e-05/1.699, allocations: 35.19 kB / 1.368 GB, free: 1.766 MB / 0.8309 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.699, allocations: 7.906 kB / 1.368 GB, free: 1.758 MB / 0.8309 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/1.699, allocations: 4 kB / 1.368 GB, free: 1.754 MB / 0.8309 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.699, allocations: 0 / 1.368 GB, free: 1.754 MB / 0.8309 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005506/1.7, allocations: 446 kB / 1.368 GB, free: 1.281 MB / 0.8309 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.7, allocations: 0 / 1.368 GB, free: 1.281 MB / 0.8309 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004592/1.7, allocations: 75.94 kB / 1.368 GB, free: 1.207 MB / 0.8309 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.7, allocations: 0 / 1.368 GB, free: 1.207 MB / 0.8309 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/1.7, allocations: 7.984 kB / 1.368 GB, free: 1.199 MB / 0.8309 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/1.7, allocations: 0 / 1.368 GB, free: 1.199 MB / 0.8309 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/1.7, allocations: 0 / 1.368 GB, free: 1.199 MB / 0.8309 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006441/1.701, allocations: 469.8 kB / 1.368 GB, free: 0.7266 MB / 0.8309 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008485/1.702, allocations: 0.8235 MB / 1.369 GB, free: 15.88 MB / 0.8466 GB Notification: Performance of postOpt removeConstants (simulation): time 9.31e-05/1.702, allocations: 116.6 kB / 1.369 GB, free: 15.75 MB / 0.8466 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.994e-05/1.702, allocations: 3.938 kB / 1.369 GB, free: 15.75 MB / 0.8466 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/1.703, allocations: 43.95 kB / 1.369 GB, free: 15.7 MB / 0.8466 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/1.703, allocations: 28 kB / 1.369 GB, free: 15.68 MB / 0.8466 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.435e-05/1.703, allocations: 15.91 kB / 1.369 GB, free: 15.66 MB / 0.8466 GB Notification: Performance of sort global known variables: time 0.0003159/1.703, allocations: 276.6 kB / 1.37 GB, free: 15.39 MB / 0.8466 GB Notification: Performance of remove unused functions: time 0.000965/1.704, allocations: 83.83 kB / 1.37 GB, free: 15.31 MB / 0.8466 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (equFit.uMod) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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 Backend phase and start with SimCode phase: time 0.000335/1.704, allocations: 207 kB / 1.37 GB, free: 15.11 MB / 0.8466 GB Notification: Performance of simCode: created initialization part: time 0.0005919/1.705, allocations: 331.8 kB / 1.37 GB, free: 14.78 MB / 0.8466 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.705, allocations: 0 / 1.37 GB, free: 14.78 MB / 0.8466 GB Notification: Performance of simCode: created simulation system equations: time 0.0003012/1.705, allocations: 175.9 kB / 1.371 GB, free: 14.61 MB / 0.8466 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000338/1.706, allocations: 46.48 kB / 1.371 GB, free: 14.57 MB / 0.8466 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/1.707, allocations: 485 kB / 1.371 GB, free: 14.07 MB / 0.8466 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006898/1.707, allocations: 0.845 MB / 1.372 GB, free: 13.2 MB / 0.8466 GB Notification: Performance of SimCode: time 2.71e-07/1.707, allocations: 0 / 1.372 GB, free: 13.2 MB / 0.8466 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible_res.mat does not exist to compare? outputFormat=mat