Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.225/2.225, allocations: 248.6 MB / 255.9 MB, free: 7.109 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001693/0.001693, allocations: 185.2 kB / 315.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.936/1.936, allocations: 205.1 MB / 0.5658 GB, free: 372 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001285/0.001285, allocations: 90.81 kB / 0.67 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5216/0.5229, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.7437, allocations: 106.2 MB / 0.8835 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6692/1.413, allocations: 136.1 MB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/1.413, allocations: 84.95 kB / 1.016 GB, free: 4.07 MB / 0.6355 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.03838/1.452, allocations: 8.249 MB / 1.025 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.729e-05/1.452, allocations: 8 kB / 1.025 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/1.454, allocations: 174.7 kB / 1.025 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/1.455, allocations: 342.9 kB / 1.025 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002177/1.455, allocations: 79.62 kB / 1.025 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/1.455, allocations: 8 kB / 1.025 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001327/1.457, allocations: 314.9 kB / 1.025 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/1.458, allocations: 227 kB / 1.026 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/1.458, allocations: 3.984 kB / 1.026 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.878e-05/1.458, allocations: 4 kB / 1.026 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/1.458, allocations: 3.906 kB / 1.026 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002998/1.461, allocations: 0.8501 MB / 1.026 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006163/1.462, allocations: 219.1 kB / 1.027 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000457/1.462, allocations: 170.5 kB / 1.027 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.635e-05/1.462, allocations: 0 / 1.027 GB, free: 11.36 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/1.462, allocations: 34.56 kB / 1.027 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 1.974e-06/1.462, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.001206/1.464, allocations: 360.4 kB / 1.027 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/1.464, allocations: 51.41 kB / 1.027 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008954/1.465, allocations: 347.9 kB / 1.028 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001064/1.465, allocations: 29.7 kB / 1.028 GB, free: 10.71 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/1.465, allocations: 126.2 kB / 1.028 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/1.465, allocations: 56.8 kB / 1.028 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.415e-05/1.465, allocations: 3.938 kB / 1.028 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001703/1.465, allocations: 349.7 kB / 1.028 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000436/1.466, allocations: 144.8 kB / 1.028 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000486/1.466, allocations: 181.3 kB / 1.028 GB, free: 10 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/1.467, allocations: 128.8 kB / 1.029 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/1.467, allocations: 0 / 1.029 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001141/1.468, allocations: 363.4 kB / 1.029 GB, free: 9.672 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/1.468, allocations: 4 kB / 1.029 GB, free: 9.668 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.468, allocations: 3.984 kB / 1.029 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/1.468, allocations: 0 / 1.029 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009689/1.469, allocations: 75.88 kB / 1.029 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/1.469, allocations: 0 / 1.029 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007296/1.47, allocations: 55.8 kB / 1.029 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.452e-05/1.47, allocations: 14.55 kB / 1.029 GB, free: 9.523 MB / 0.6511 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.0001514/1.47, allocations: 101 kB / 1.029 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001187/1.47, allocations: 35.53 kB / 1.029 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/1.47, allocations: 35.88 kB / 1.029 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/1.47, allocations: 4 kB / 1.029 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/1.47, allocations: 0 / 1.029 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/1.47, allocations: 0 / 1.029 GB, free: 9.355 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008105/1.471, allocations: 440.4 kB / 1.03 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-06/1.471, allocations: 0 / 1.03 GB, free: 8.984 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009188/1.472, allocations: 91.7 kB / 1.03 GB, free: 8.895 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.418e-06/1.472, allocations: 4 kB / 1.03 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.691e-05/1.472, allocations: 0 / 1.03 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/1.472, allocations: 0 / 1.03 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.472, allocations: 0 / 1.03 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001106/1.473, allocations: 462.1 kB / 1.03 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001222/1.475, allocations: 0.8336 MB / 1.031 GB, free: 7.805 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/1.475, allocations: 116.1 kB / 1.031 GB, free: 7.676 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/1.475, allocations: 4 kB / 1.031 GB, free: 7.672 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000786/1.476, allocations: 43.95 kB / 1.031 GB, free: 7.629 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/1.476, allocations: 26.39 kB / 1.031 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/1.476, allocations: 7.906 kB / 1.031 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0004985/1.476, allocations: 278.8 kB / 1.031 GB, free: 7.395 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001478/1.478, allocations: 74.56 kB / 1.032 GB, free: 7.332 MB / 0.6511 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.0004317/1.478, allocations: 230 kB / 1.032 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001016/1.479, allocations: 337 kB / 1.032 GB, free: 6.906 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/1.479, allocations: 0 / 1.032 GB, free: 6.906 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005429/1.48, allocations: 174.1 kB / 1.032 GB, free: 6.801 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005378/1.48, allocations: 40.33 kB / 1.032 GB, free: 6.773 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/1.482, allocations: 485.8 kB / 1.033 GB, free: 6.359 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009762/1.483, allocations: 0.8433 MB / 1.034 GB, free: 5.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.162e-06/1.483, allocations: 0 / 1.034 GB, free: 5.5 MB / 0.6511 GB