Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.622/1.622, allocations: 289.8 MB / 297 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001172/0.001171, allocations: 189.2 kB / 366.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.1 MB / 0.6256 GB, free: 5.828 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009303/0.0009306, allocations: 93.27 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2956/0.2966, allocations: 122.4 MB / 0.8591 GB, free: 13.28 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7133/1.01, allocations: 116.3 MB / 0.9726 GB, free: 68.63 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1826/1.193, allocations: 142.7 MB / 1.112 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/1.193, allocations: 91.88 kB / 1.112 GB, free: 5.711 MB / 0.7136 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.02165/1.215, allocations: 8.108 MB / 1.12 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/1.215, allocations: 19.92 kB / 1.12 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007752/1.215, allocations: 159.4 kB / 1.12 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005308/1.216, allocations: 347.9 kB / 1.12 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/1.216, allocations: 79.61 kB / 1.121 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/1.216, allocations: 13.16 kB / 1.121 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005884/1.217, allocations: 320.3 kB / 1.121 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003955/1.217, allocations: 231.2 kB / 1.121 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/1.217, allocations: 0 / 1.121 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.065e-05/1.217, allocations: 0 / 1.121 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/1.217, allocations: 4 kB / 1.121 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/1.219, allocations: 0.831 MB / 1.122 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/1.219, allocations: 222.8 kB / 1.122 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002459/1.219, allocations: 164.7 kB / 1.122 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/1.219, allocations: 4 kB / 1.122 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/1.219, allocations: 42.55 kB / 1.122 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/1.219, allocations: 3.938 kB / 1.122 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0006718/1.22, allocations: 359.9 kB / 1.123 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/1.22, allocations: 56.06 kB / 1.123 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003981/1.221, allocations: 354 kB / 1.123 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/1.221, allocations: 25.7 kB / 1.123 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/1.221, allocations: 124.4 kB / 1.123 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.549e-05/1.221, allocations: 55.17 kB / 1.123 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.373e-05/1.221, allocations: 0 / 1.123 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.221, allocations: 342.8 kB / 1.124 GB, free: 9.707 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/1.221, allocations: 145.6 kB / 1.124 GB, free: 9.566 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/1.221, allocations: 183.3 kB / 1.124 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/1.222, allocations: 131.9 kB / 1.124 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/1.222, allocations: 0 / 1.124 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005863/1.222, allocations: 357 kB / 1.124 GB, free: 8.891 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/1.222, allocations: 4.625 kB / 1.124 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/1.222, allocations: 4 kB / 1.124 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/1.222, allocations: 0 / 1.124 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/1.223, allocations: 75.92 kB / 1.124 GB, free: 8.809 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/1.223, allocations: 3.906 kB / 1.124 GB, free: 8.805 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000348/1.223, allocations: 51.89 kB / 1.124 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/1.223, allocations: 8 kB / 1.124 GB, free: 8.746 MB / 0.7292 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.0001224/1.223, allocations: 116.8 kB / 1.125 GB, free: 8.625 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.419e-05/1.223, allocations: 31.62 kB / 1.125 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.232e-05/1.224, allocations: 35.19 kB / 1.125 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/1.224, allocations: 3.906 kB / 1.125 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.224, allocations: 0 / 1.125 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.224, allocations: 1.875 kB / 1.125 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005486/1.224, allocations: 450 kB / 1.125 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.224, allocations: 4 kB / 1.125 GB, free: 8.078 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004815/1.225, allocations: 75.94 kB / 1.125 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/1.225, allocations: 0 / 1.125 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/1.225, allocations: 3.984 kB / 1.125 GB, free: 8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.225, allocations: 0 / 1.125 GB, free: 8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/1.225, allocations: 4 kB / 1.125 GB, free: 7.996 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006385/1.225, allocations: 465.5 kB / 1.126 GB, free: 7.527 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007566/1.226, allocations: 0.8274 MB / 1.126 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.431e-05/1.226, allocations: 112.6 kB / 1.127 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.163e-05/1.226, allocations: 0 / 1.127 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/1.227, allocations: 43.95 kB / 1.127 GB, free: 6.508 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/1.227, allocations: 23.95 kB / 1.127 GB, free: 6.484 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/1.227, allocations: 7.984 kB / 1.127 GB, free: 6.477 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002888/1.227, allocations: 276.6 kB / 1.127 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009618/1.228, allocations: 83.83 kB / 1.127 GB, free: 6.125 MB / 0.7292 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.0003813/1.229, allocations: 216.7 kB / 1.127 GB, free: 5.906 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005811/1.229, allocations: 334.8 kB / 1.127 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.229, allocations: 1.031 kB / 1.127 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002852/1.229, allocations: 175.9 kB / 1.128 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/1.23, allocations: 46.28 kB / 1.128 GB, free: 5.367 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/1.231, allocations: 484.7 kB / 1.128 GB, free: 4.867 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006491/1.232, allocations: 0.841 MB / 1.129 GB, free: 4 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/1.232, allocations: 4 kB / 1.129 GB, free: 3.996 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_8_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)