Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.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.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.195/2.195, allocations: 248.6 MB / 255.9 MB, free: 7.141 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.0016/0.001599, allocations: 185.2 kB / 315.1 MB, free: 4.281 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.903/1.903, allocations: 205.1 MB / 0.5658 GB, free: 376 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.001312/0.001312, allocations: 90.84 kB / 0.67 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.463/0.4644, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.6834, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.513/2.196, allocations: 411.1 MB / 1.285 GB, free: 245.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002959/2.197, allocations: 89.05 kB / 1.285 GB, free: 245.4 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 2.474/4.671, allocations: 0.6019 GB / 1.887 GB, free: 25.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.578e-05/4.671, allocations: 8 kB / 1.887 GB, free: 25.79 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004425/4.676, allocations: 0.5325 MB / 1.888 GB, free: 25.25 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005244/4.681, allocations: 1.517 MB / 1.889 GB, free: 23.73 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001394/4.683, allocations: 265.2 kB / 1.889 GB, free: 23.45 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003728/4.683, allocations: 55.91 kB / 1.889 GB, free: 23.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003409/4.686, allocations: 0.9997 MB / 1.89 GB, free: 22.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/4.689, allocations: 0.9762 MB / 1.891 GB, free: 21.38 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/4.689, allocations: 4 kB / 1.891 GB, free: 21.38 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001607/4.689, allocations: 0 / 1.891 GB, free: 21.38 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/4.689, allocations: 20 kB / 1.891 GB, free: 21.36 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01823/4.708, allocations: 4.672 MB / 1.896 GB, free: 16.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/4.71, allocations: 0.7644 MB / 1.897 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008627/4.71, allocations: 366.2 kB / 1.897 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/4.711, allocations: 1.157 MB / 1.898 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001118/4.713, allocations: 457.1 kB / 1.898 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=58): time 4.418e-06/4.713, allocations: 0 / 1.898 GB, free: 13.51 MB / 0.8698 GB Notification: Performance of matching and sorting (n=58): time 0.00295/4.716, allocations: 0.8541 MB / 1.899 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/4.716, allocations: 81.61 kB / 1.899 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002681/4.718, allocations: 1.203 MB / 1.901 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002161/4.719, allocations: 25.7 kB / 1.901 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004452/4.719, allocations: 426.2 kB / 1.901 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/4.719, allocations: 193.2 kB / 1.901 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.101e-05/4.719, allocations: 0 / 1.901 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.07e-05/4.72, allocations: 337.9 kB / 1.901 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009354/4.721, allocations: 349.2 kB / 1.902 GB, free: 10 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/4.722, allocations: 0.5354 MB / 1.902 GB, free: 9.391 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/4.723, allocations: 450.9 kB / 1.903 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/4.723, allocations: 0 / 1.903 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003502/4.727, allocations: 1.014 MB / 1.904 GB, free: 7.93 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002321/4.727, allocations: 0.8974 MB / 1.905 GB, free: 6.984 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/4.727, allocations: 4 kB / 1.905 GB, free: 6.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/4.727, allocations: 4 kB / 1.905 GB, free: 6.977 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00223/4.729, allocations: 227.7 kB / 1.905 GB, free: 6.754 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/4.729, allocations: 8 kB / 1.905 GB, free: 6.746 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00291/4.732, allocations: 215.3 kB / 1.905 GB, free: 6.535 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001794/4.733, allocations: 35.97 kB / 1.905 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/4.733, allocations: 7.938 kB / 1.905 GB, free: 6.492 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002955/4.736, allocations: 0.8457 MB / 1.906 GB, free: 5.645 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/4.736, allocations: 4.062 kB / 1.906 GB, free: 5.641 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/4.736, allocations: 8 kB / 1.906 GB, free: 5.633 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00216/4.738, allocations: 223.7 kB / 1.906 GB, free: 5.414 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/4.738, allocations: 11.92 kB / 1.906 GB, free: 5.402 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002624/4.74, allocations: 171.4 kB / 1.906 GB, free: 5.234 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000336/4.741, allocations: 35.97 kB / 1.906 GB, free: 5.199 MB / 0.8698 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 (75): * Single equations (assignments): 75 * 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.0007124/4.742, allocations: 128.3 kB / 1.907 GB, free: 5.07 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009042/4.743, allocations: 134.3 kB / 1.907 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003826/4.746, allocations: 1.114 MB / 1.908 GB, free: 3.812 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-05/4.746, allocations: 12 kB / 1.908 GB, free: 3.801 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/4.746, allocations: 4 kB / 1.908 GB, free: 3.797 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/4.746, allocations: 11.89 kB / 1.908 GB, free: 3.785 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007336/4.754, allocations: 2.51 MB / 1.91 GB, free: 1.219 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/4.754, allocations: 4 kB / 1.91 GB, free: 1.215 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00251/4.756, allocations: 163.9 kB / 1.91 GB, free: 1.055 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-05/4.756, allocations: 7.938 kB / 1.91 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002819/4.757, allocations: 15.98 kB / 1.91 GB, free: 1.031 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-05/4.757, allocations: 8 kB / 1.91 GB, free: 1.023 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/4.757, allocations: 4 kB / 1.91 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3734/5.13, allocations: 1.279 MB / 1.912 GB, free: 246.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003499/5.134, allocations: 1.725 MB / 1.913 GB, free: 246 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/5.135, allocations: 390.1 kB / 1.914 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003541/5.135, allocations: 7.438 kB / 1.914 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00214/5.137, allocations: 115.7 kB / 1.914 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001976/5.138, allocations: 55.8 kB / 1.914 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/5.138, allocations: 31.33 kB / 1.914 GB, free: 245.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002071/5.14, allocations: 0.9132 MB / 1.915 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00579/5.146, allocations: 0.9607 MB / 1.916 GB, free: 245.8 MB / 0.8698 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 (71): * Single equations (assignments): 63 * 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.002528/5.148, allocations: 1.014 MB / 1.917 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003808/5.152, allocations: 1.357 MB / 1.918 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/5.152, allocations: 0 / 1.918 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/5.153, allocations: 457.4 kB / 1.918 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004557/5.158, allocations: 475.1 kB / 1.919 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00656/5.165, allocations: 1.914 MB / 1.921 GB, free: 245.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001943/5.167, allocations: 1.401 MB / 1.922 GB, free: 244.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.643e-06/5.167, allocations: 2.531 kB / 1.922 GB, free: 244.3 MB / 0.8698 GB