Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.488/2.488, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.002561/0.002561, allocations: 185.2 kB / 360.3 MB, free: 7.535 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.1 MB / 0.6187 GB, free: 13.23 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.001261/0.00126, allocations: 94.45 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2855/0.2868, allocations: 121.4 MB / 0.8502 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6213/0.9082, allocations: 115.2 MB / 0.9627 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2479/1.156, allocations: 141.3 MB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/1.157, allocations: 92.92 kB / 1.101 GB, free: 15.42 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.04145/1.198, allocations: 8.213 MB / 1.109 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/1.198, allocations: 8 kB / 1.109 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/1.2, allocations: 167.4 kB / 1.109 GB, free: 7.059 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008699/1.201, allocations: 347.9 kB / 1.109 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/1.201, allocations: 79.62 kB / 1.109 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.283e-05/1.201, allocations: 11.94 kB / 1.109 GB, free: 6.57 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001044/1.202, allocations: 314 kB / 1.11 GB, free: 6.266 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006816/1.203, allocations: 231.2 kB / 1.11 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/1.203, allocations: 4 kB / 1.11 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.514e-05/1.203, allocations: 0 / 1.11 GB, free: 6.031 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/1.203, allocations: 4 kB / 1.11 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002862/1.206, allocations: 0.8235 MB / 1.111 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006338/1.206, allocations: 214.8 kB / 1.111 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005883/1.207, allocations: 168.7 kB / 1.111 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.037e-05/1.207, allocations: 7.984 kB / 1.111 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.845e-05/1.207, allocations: 38.56 kB / 1.111 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 5.18e-06/1.207, allocations: 4.688 kB / 1.111 GB, free: 4.723 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.001371/1.208, allocations: 358 kB / 1.112 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/1.209, allocations: 51.41 kB / 1.112 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007224/1.209, allocations: 350 kB / 1.112 GB, free: 3.953 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.443e-05/1.209, allocations: 25.7 kB / 1.112 GB, free: 3.922 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/1.21, allocations: 124.4 kB / 1.112 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/1.21, allocations: 55.17 kB / 1.112 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.753e-05/1.21, allocations: 0 / 1.112 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001869/1.21, allocations: 348.3 kB / 1.112 GB, free: 3.395 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004578/1.21, allocations: 148 kB / 1.113 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004902/1.211, allocations: 180.5 kB / 1.113 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004437/1.211, allocations: 128.7 kB / 1.113 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/1.211, allocations: 0 / 1.113 GB, free: 2.938 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001148/1.212, allocations: 366.3 kB / 1.113 GB, free: 2.574 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/1.213, allocations: 4 kB / 1.113 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.213, allocations: 7.984 kB / 1.113 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.213, allocations: 0 / 1.113 GB, free: 2.562 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009542/1.214, allocations: 71.94 kB / 1.113 GB, free: 2.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/1.214, allocations: 3.906 kB / 1.113 GB, free: 2.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007167/1.214, allocations: 51.89 kB / 1.113 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-05/1.214, allocations: 13.61 kB / 1.113 GB, free: 2.426 MB / 0.7136 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.0001718/1.215, allocations: 113.1 kB / 1.113 GB, free: 2.309 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/1.215, allocations: 31.62 kB / 1.113 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001639/1.215, allocations: 39.19 kB / 1.114 GB, free: 2.234 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.837e-05/1.215, allocations: 8.938 kB / 1.114 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/1.215, allocations: 0 / 1.114 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/1.215, allocations: 3.984 kB / 1.114 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009719/1.216, allocations: 439.7 kB / 1.114 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.216, allocations: 0 / 1.114 GB, free: 1.766 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009303/1.217, allocations: 83.86 kB / 1.114 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.106e-06/1.217, allocations: 0 / 1.114 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-05/1.217, allocations: 4 kB / 1.114 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.167e-06/1.217, allocations: 0 / 1.114 GB, free: 1.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/1.217, allocations: 7.984 kB / 1.114 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001182/1.218, allocations: 459.6 kB / 1.114 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001358/1.22, allocations: 0.828 MB / 1.115 GB, free: 372 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/1.22, allocations: 116.6 kB / 1.115 GB, free: 236 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/1.22, allocations: 0 / 1.115 GB, free: 236 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007653/1.221, allocations: 47.95 kB / 1.115 GB, free: 188 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/1.221, allocations: 27.89 kB / 1.115 GB, free: 160 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.221e-05/1.221, allocations: 8 kB / 1.115 GB, free: 152 kB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0005595/1.222, allocations: 277.4 kB / 1.116 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003222/1.225, allocations: 83.84 kB / 1.116 GB, free: 15.8 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.0005514/1.225, allocations: 225.1 kB / 1.116 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001127/1.227, allocations: 331.8 kB / 1.116 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.227, allocations: 0.6562 kB / 1.116 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005468/1.227, allocations: 178.5 kB / 1.117 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000686/1.228, allocations: 47.52 kB / 1.117 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/1.23, allocations: 490 kB / 1.117 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009636/1.231, allocations: 0.8372 MB / 1.118 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of SimCode: time 1.503e-06/1.231, allocations: 5.031 kB / 1.118 GB, free: 13.67 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible_fmu --startTime=0 --stopTime=2600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_BaseClasses_Validation_EquationFitReversible.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.pipe 2>&1)