Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.432/1.432, allocations: 285.5 MB / 292.8 MB, free: 9.812 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.0009646/0.0009646, allocations: 189.2 kB / 361.1 MB, free: 404 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.22/1.22, allocations: 205.1 MB / 0.6195 GB, free: 2.863 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008226/0.0008227, allocations: 104.2 kB / 0.7326 GB, free: 1.039 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4326/0.4334, allocations: 121.4 MB / 0.8511 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.6173, allocations: 115.3 MB / 0.9638 GB, free: 56.3 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7196/1.337, allocations: 417.8 MB / 1.372 GB, free: 1.727 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/1.337, allocations: 82.33 kB / 1.372 GB, free: 1.688 MB / 0.8698 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 1.923/3.26, allocations: 0.6192 GB / 1.991 GB, free: 154 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/3.26, allocations: 11.38 kB / 1.991 GB, free: 154 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/3.262, allocations: 0.534 MB / 1.992 GB, free: 153.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/3.265, allocations: 1.523 MB / 1.993 GB, free: 152.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006482/3.265, allocations: 254.8 kB / 1.993 GB, free: 152.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/3.265, allocations: 53.38 kB / 1.993 GB, free: 152.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001449/3.267, allocations: 1.001 MB / 1.994 GB, free: 152.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/3.268, allocations: 0.9808 MB / 1.995 GB, free: 151.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.072e-05/3.268, allocations: 10.62 kB / 1.995 GB, free: 151.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.802e-05/3.268, allocations: 0 / 1.995 GB, free: 151.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/3.268, allocations: 21.5 kB / 1.995 GB, free: 151.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006076/3.274, allocations: 4.676 MB / 2 GB, free: 147.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009417/3.275, allocations: 0.7645 MB / 2.001 GB, free: 147.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004213/3.276, allocations: 369.4 kB / 2.001 GB, free: 147.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000572/3.276, allocations: 1.15 MB / 2.002 GB, free: 146 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005483/3.277, allocations: 458.2 kB / 2.002 GB, free: 145.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=58): time 2.415e-06/3.277, allocations: 0 / 2.002 GB, free: 145.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=58): time 0.001504/3.278, allocations: 0.8449 MB / 2.003 GB, free: 145.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/3.279, allocations: 83.2 kB / 2.003 GB, free: 145.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/3.28, allocations: 1.202 MB / 2.005 GB, free: 144.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.964e-05/3.28, allocations: 27.92 kB / 2.005 GB, free: 144.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000214/3.28, allocations: 429.2 kB / 2.005 GB, free: 144.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/3.281, allocations: 195.7 kB / 2.005 GB, free: 144 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/3.281, allocations: 0 / 2.005 GB, free: 144 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.392e-05/3.281, allocations: 336.4 kB / 2.006 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005099/3.281, allocations: 355.4 kB / 2.006 GB, free: 143.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005787/3.282, allocations: 0.5422 MB / 2.006 GB, free: 143.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008658/3.283, allocations: 440.7 kB / 2.007 GB, free: 142.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/3.283, allocations: 1.312 kB / 2.007 GB, free: 142.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00198/3.285, allocations: 1.01 MB / 2.008 GB, free: 142.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.00014/3.285, allocations: 0.8951 MB / 2.009 GB, free: 141.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/3.285, allocations: 6.609 kB / 2.009 GB, free: 141.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/3.285, allocations: 9.188 kB / 2.009 GB, free: 141.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/3.286, allocations: 223.4 kB / 2.009 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/3.286, allocations: 4.438 kB / 2.009 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/3.287, allocations: 223.1 kB / 2.009 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.854e-05/3.287, allocations: 39.88 kB / 2.009 GB, free: 141.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.332e-06/3.287, allocations: 4.031 kB / 2.009 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001542/3.289, allocations: 0.8443 MB / 2.01 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/3.289, allocations: 3.906 kB / 2.01 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/3.289, allocations: 5.812 kB / 2.01 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/3.29, allocations: 224.1 kB / 2.01 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/3.29, allocations: 5.281 kB / 2.01 GB, free: 140.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/3.291, allocations: 179.5 kB / 2.01 GB, free: 140.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.193e-05/3.291, allocations: 39.91 kB / 2.01 GB, free: 140.7 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.0001835/3.291, allocations: 119.4 kB / 2.011 GB, free: 140.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/3.292, allocations: 137.3 kB / 2.011 GB, free: 140.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/3.294, allocations: 1.127 MB / 2.012 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/3.294, allocations: 10.23 kB / 2.012 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/3.294, allocations: 1.406 kB / 2.012 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/3.294, allocations: 3.984 kB / 2.012 GB, free: 139.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003598/3.297, allocations: 2.507 MB / 2.014 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/3.297, allocations: 1.875 kB / 2.014 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007802/3.298, allocations: 166.5 kB / 2.014 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/3.298, allocations: 6.062 kB / 2.014 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.158e-05/3.298, allocations: 20.02 kB / 2.014 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/3.298, allocations: 8.859 kB / 2.014 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/3.298, allocations: 7.312 kB / 2.014 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00165/3.3, allocations: 1.278 MB / 2.016 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001741/3.302, allocations: 1.723 MB / 2.017 GB, free: 135.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005179/3.302, allocations: 390.7 kB / 2.018 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/3.302, allocations: 4.031 kB / 2.018 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/3.304, allocations: 120.8 kB / 2.018 GB, free: 135.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/3.304, allocations: 57.77 kB / 2.018 GB, free: 135.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.308e-05/3.304, allocations: 37.16 kB / 2.018 GB, free: 135.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001207/3.305, allocations: 0.9155 MB / 2.019 GB, free: 135 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003592/3.309, allocations: 0.9788 MB / 2.02 GB, free: 134.6 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.001591/3.31, allocations: 1.035 MB / 2.021 GB, free: 134.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002069/3.312, allocations: 1.357 MB / 2.022 GB, free: 133.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/3.312, allocations: 1 kB / 2.022 GB, free: 133.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005906/3.313, allocations: 455.5 kB / 2.023 GB, free: 133.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/3.315, allocations: 479.1 kB / 2.023 GB, free: 133.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/3.318, allocations: 1.926 MB / 2.025 GB, free: 132.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/3.32, allocations: 1.415 MB / 2.026 GB, free: 131.2 MB / 0.948 GB Notification: Performance of SimCode: time 5.31e-07/3.32, allocations: 0 / 2.026 GB, free: 131.2 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)