Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.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.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.363/2.363, allocations: 284.8 MB / 292.1 MB, free: 10.81 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.001979/0.001978, allocations: 181.2 kB / 360.3 MB, free: 7.559 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.996/1.996, allocations: 205.1 MB / 0.6187 GB, free: 13.27 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.00127/0.001268, allocations: 92.27 kB / 0.7317 GB, free: 45.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2829/0.2842, allocations: 121.4 MB / 0.8502 GB, free: 3.98 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6554/0.9396, allocations: 115.2 MB / 0.9628 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.073/2.013, allocations: 417.6 MB / 1.371 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003205/2.013, allocations: 88.05 kB / 1.371 GB, free: 146.2 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 3.32/5.333, allocations: 0.6192 GB / 1.99 GB, free: 186.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/5.333, allocations: 7.438 kB / 1.99 GB, free: 186.9 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004487/5.338, allocations: 0.5377 MB / 1.99 GB, free: 186.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005298/5.343, allocations: 1.511 MB / 1.992 GB, free: 186.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001392/5.344, allocations: 253.1 kB / 1.992 GB, free: 186.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003221/5.345, allocations: 58.25 kB / 1.992 GB, free: 186.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003126/5.348, allocations: 0.9922 MB / 1.993 GB, free: 186.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0029/5.351, allocations: 0.9899 MB / 1.994 GB, free: 186.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.457e-05/5.351, allocations: 3.469 kB / 1.994 GB, free: 186.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000167/5.351, allocations: 0 / 1.994 GB, free: 186.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/5.351, allocations: 22.41 kB / 1.994 GB, free: 186.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01328/5.364, allocations: 4.661 MB / 1.999 GB, free: 184.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001992/5.366, allocations: 0.7625 MB / 1.999 GB, free: 184.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008627/5.367, allocations: 372.5 kB / 2 GB, free: 184.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009321/5.368, allocations: 1.154 MB / 2.001 GB, free: 183.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/5.37, allocations: 448.1 kB / 2.001 GB, free: 183.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=58): time 3.728e-06/5.37, allocations: 0 / 2.001 GB, free: 183.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=58): time 0.003149/5.373, allocations: 0.8577 MB / 2.002 GB, free: 183 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/5.373, allocations: 81.55 kB / 2.002 GB, free: 182.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002949/5.376, allocations: 1.2 MB / 2.003 GB, free: 182.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003058/5.376, allocations: 35.75 kB / 2.003 GB, free: 182.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004344/5.377, allocations: 428.2 kB / 2.004 GB, free: 182.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003523/5.377, allocations: 191.6 kB / 2.004 GB, free: 182.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.645e-05/5.377, allocations: 0 / 2.004 GB, free: 182.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.717e-05/5.377, allocations: 330.2 kB / 2.004 GB, free: 182.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009518/5.378, allocations: 358.4 kB / 2.005 GB, free: 182.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/5.379, allocations: 0.5349 MB / 2.005 GB, free: 181.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/5.381, allocations: 439.8 kB / 2.006 GB, free: 181.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/5.381, allocations: 2.469 kB / 2.006 GB, free: 181.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00343/5.384, allocations: 1.01 MB / 2.007 GB, free: 181.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002334/5.385, allocations: 0.8998 MB / 2.007 GB, free: 180.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/5.385, allocations: 7.125 kB / 2.007 GB, free: 180.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.171e-05/5.385, allocations: 7.875 kB / 2.007 GB, free: 180.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002202/5.387, allocations: 222.4 kB / 2.008 GB, free: 180.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.48e-05/5.387, allocations: 9.25 kB / 2.008 GB, free: 180.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002959/5.39, allocations: 222.8 kB / 2.008 GB, free: 180.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002394/5.39, allocations: 35.98 kB / 2.008 GB, free: 180.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/5.39, allocations: 7.844 kB / 2.008 GB, free: 180.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002991/5.393, allocations: 0.8405 MB / 2.009 GB, free: 180.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/5.393, allocations: 3.625 kB / 2.009 GB, free: 180.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/5.393, allocations: 10.38 kB / 2.009 GB, free: 180.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002177/5.395, allocations: 226.9 kB / 2.009 GB, free: 180.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/5.396, allocations: 6.688 kB / 2.009 GB, free: 180.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/5.398, allocations: 176.7 kB / 2.009 GB, free: 180.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002279/5.398, allocations: 40.83 kB / 2.009 GB, free: 180.8 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.0003545/5.399, allocations: 120.7 kB / 2.009 GB, free: 180.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004778/5.399, allocations: 139.7 kB / 2.009 GB, free: 180.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003809/5.403, allocations: 1.116 MB / 2.011 GB, free: 180.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/5.403, allocations: 11.52 kB / 2.011 GB, free: 180.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/5.403, allocations: 2.625 kB / 2.011 GB, free: 180.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/5.403, allocations: 3.703 kB / 2.011 GB, free: 180.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00728/5.411, allocations: 2.513 MB / 2.013 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/5.411, allocations: 6.562 kB / 2.013 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/5.412, allocations: 164.9 kB / 2.013 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.57e-05/5.412, allocations: 3.5 kB / 2.013 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/5.412, allocations: 20.55 kB / 2.013 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.068e-06/5.412, allocations: 3.938 kB / 2.013 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/5.412, allocations: 9.891 kB / 2.013 GB, free: 180.2 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003448/5.416, allocations: 1.278 MB / 2.014 GB, free: 179.7 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00359/5.42, allocations: 1.733 MB / 2.016 GB, free: 178.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001247/5.421, allocations: 384.8 kB / 2.017 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004332/5.421, allocations: 10.2 kB / 2.017 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003436/5.425, allocations: 123.5 kB / 2.017 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004642/5.425, allocations: 55.16 kB / 2.017 GB, free: 178.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002755/5.426, allocations: 34 kB / 2.017 GB, free: 178.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.004101/5.43, allocations: 0.9168 MB / 2.018 GB, free: 178.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.009373/5.439, allocations: 0.9773 MB / 2.019 GB, free: 178.4 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.002762/5.442, allocations: 1.043 MB / 2.02 GB, free: 178.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003827/5.446, allocations: 1.355 MB / 2.021 GB, free: 178.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-05/5.446, allocations: 0 / 2.021 GB, free: 178.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/5.447, allocations: 462.1 kB / 2.021 GB, free: 178.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004815/5.452, allocations: 469.3 kB / 2.022 GB, free: 178.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006667/5.459, allocations: 1.919 MB / 2.024 GB, free: 177.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001904/5.461, allocations: 1.414 MB / 2.025 GB, free: 177 MB / 0.948 GB Notification: Performance of SimCode: time 1.533e-06/5.461, allocations: 0 / 2.025 GB, free: 177 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_EquationFitReversible_EnergyPlus.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.EquationFitReversible_EnergyPlus.pipe 2>&1)