Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.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.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.607/1.607, allocations: 289.8 MB / 297.1 MB, free: 6.691 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.001087/0.001087, allocations: 185.2 kB / 366.3 MB, free: 1.992 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.645/1.645, allocations: 205.1 MB / 0.6256 GB, free: 5.816 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.000949/0.0009491, allocations: 85.31 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3008/0.3018, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6811/0.983, allocations: 116.3 MB / 0.9726 GB, free: 68.41 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9205/1.903, allocations: 419 MB / 1.382 GB, free: 69.97 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/1.904, allocations: 99.05 kB / 1.382 GB, free: 69.92 MB / 0.823 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.317/4.221, allocations: 0.6191 GB / 2.001 GB, free: 204.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/4.221, allocations: 9.188 kB / 2.001 GB, free: 204.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004044/4.225, allocations: 0.537 MB / 2.002 GB, free: 204.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005278/4.23, allocations: 1.523 MB / 2.003 GB, free: 204.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001116/4.232, allocations: 257.8 kB / 2.003 GB, free: 204.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002897/4.232, allocations: 53 kB / 2.003 GB, free: 204.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002958/4.235, allocations: 0.9967 MB / 2.004 GB, free: 204.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002552/4.237, allocations: 0.9772 MB / 2.005 GB, free: 204.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/4.237, allocations: 3.344 kB / 2.005 GB, free: 204.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/4.238, allocations: 0 / 2.005 GB, free: 204.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.403e-05/4.238, allocations: 21.25 kB / 2.005 GB, free: 204.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0122/4.25, allocations: 4.677 MB / 2.01 GB, free: 202.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/4.252, allocations: 0.7672 MB / 2.011 GB, free: 202.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007782/4.252, allocations: 362.6 kB / 2.011 GB, free: 202.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/4.254, allocations: 1.159 MB / 2.012 GB, free: 200.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001025/4.255, allocations: 451.2 kB / 2.012 GB, free: 200.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=58): time 4.058e-06/4.255, allocations: 0 / 2.012 GB, free: 200.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=58): time 0.002806/4.257, allocations: 0.8496 MB / 2.013 GB, free: 200.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.877e-05/4.257, allocations: 88.14 kB / 2.013 GB, free: 200.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002718/4.26, allocations: 1.199 MB / 2.015 GB, free: 200.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002012/4.26, allocations: 31.27 kB / 2.015 GB, free: 200.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005162/4.261, allocations: 432.2 kB / 2.015 GB, free: 200.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003337/4.261, allocations: 189.4 kB / 2.015 GB, free: 200.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.389e-05/4.261, allocations: 0 / 2.015 GB, free: 200.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.833e-05/4.262, allocations: 331.1 kB / 2.016 GB, free: 199.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007943/4.262, allocations: 350.4 kB / 2.016 GB, free: 199.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001023/4.263, allocations: 0.547 MB / 2.016 GB, free: 199.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001667/4.265, allocations: 437.4 kB / 2.017 GB, free: 199.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/4.265, allocations: 2.375 kB / 2.017 GB, free: 199.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003529/4.269, allocations: 1.009 MB / 2.018 GB, free: 199.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001986/4.269, allocations: 0.8985 MB / 2.019 GB, free: 198.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/4.269, allocations: 3.938 kB / 2.019 GB, free: 198.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.368e-05/4.269, allocations: 3.938 kB / 2.019 GB, free: 198.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001719/4.271, allocations: 229.3 kB / 2.019 GB, free: 198.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/4.271, allocations: 7.656 kB / 2.019 GB, free: 198.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00294/4.274, allocations: 219.3 kB / 2.019 GB, free: 198.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001946/4.274, allocations: 37.08 kB / 2.019 GB, free: 198.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/4.274, allocations: 4.469 kB / 2.019 GB, free: 198.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002876/4.277, allocations: 0.8444 MB / 2.02 GB, free: 198.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/4.277, allocations: 3.375 kB / 2.02 GB, free: 198.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/4.277, allocations: 4.531 kB / 2.02 GB, free: 198.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/4.278, allocations: 230 kB / 2.02 GB, free: 198.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/4.278, allocations: 5.844 kB / 2.02 GB, free: 198.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002551/4.281, allocations: 180.8 kB / 2.02 GB, free: 198.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001622/4.281, allocations: 42.66 kB / 2.02 GB, free: 198.6 MB / 0.948 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.0003852/4.282, allocations: 116.6 kB / 2.021 GB, free: 198.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006555/4.282, allocations: 133.7 kB / 2.021 GB, free: 198.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003546/4.286, allocations: 1.122 MB / 2.022 GB, free: 198.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.281e-05/4.286, allocations: 14.41 kB / 2.022 GB, free: 198.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/4.286, allocations: 0 / 2.022 GB, free: 198.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.309e-05/4.286, allocations: 3.562 kB / 2.022 GB, free: 198.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007438/4.293, allocations: 2.515 MB / 2.024 GB, free: 197.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/4.293, allocations: 9.938 kB / 2.024 GB, free: 197.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001339/4.295, allocations: 167.7 kB / 2.024 GB, free: 197.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.251e-05/4.295, allocations: 3.656 kB / 2.024 GB, free: 197.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001151/4.295, allocations: 18.45 kB / 2.024 GB, free: 197.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.19e-05/4.295, allocations: 6.625 kB / 2.024 GB, free: 197.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.775e-06/4.295, allocations: 3.5 kB / 2.024 GB, free: 197.9 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003834/4.299, allocations: 1.276 MB / 2.026 GB, free: 197.4 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004381/4.303, allocations: 1.729 MB / 2.027 GB, free: 196.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001417/4.305, allocations: 393.7 kB / 2.028 GB, free: 196.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003882/4.305, allocations: 7.25 kB / 2.028 GB, free: 196.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00192/4.307, allocations: 113.4 kB / 2.028 GB, free: 196.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/4.307, allocations: 58.02 kB / 2.028 GB, free: 196.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/4.307, allocations: 33.38 kB / 2.028 GB, free: 196.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002154/4.31, allocations: 0.9163 MB / 2.029 GB, free: 196.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00641/4.316, allocations: 0.9751 MB / 2.03 GB, free: 196.1 MB / 0.948 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.002877/4.319, allocations: 1.023 MB / 2.031 GB, free: 195.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003408/4.322, allocations: 1.352 MB / 2.032 GB, free: 195.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.929e-06/4.322, allocations: 5.781 kB / 2.032 GB, free: 195.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/4.323, allocations: 454.8 kB / 2.033 GB, free: 195.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004336/4.328, allocations: 466.9 kB / 2.033 GB, free: 195.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007053/4.335, allocations: 1.92 MB / 2.035 GB, free: 195.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002046/4.337, allocations: 1.412 MB / 2.036 GB, free: 194.5 MB / 0.948 GB Notification: Performance of SimCode: time 2.104e-06/4.337, allocations: 0 / 2.036 GB, free: 194.5 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)