Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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 10.0.0-master/package.mo): time 2.147/2.147, allocations: 390.4 MB / 397.7 MB, free: 10.69 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 181.2 kB / 490.8 MB, free: 13.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 221.3 MB / 0.7863 GB, free: 2.562 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009906/0.0009905, allocations: 92.98 kB / 0.9264 GB, free: 39.93 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.383/0.384, allocations: 149.1 MB / 1.072 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.912/1.296, allocations: 143 MB / 1.212 GB, free: 63.38 MB / 0.7761 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.222/2.518, allocations: 437.3 MB / 1.639 GB, free: 98.01 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/2.518, allocations: 86.67 kB / 1.639 GB, free: 97.96 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 4.85/7.368, allocations: 1.31 GB / 2.949 GB, free: 157.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/7.368, allocations: 8.562 kB / 2.949 GB, free: 157.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005238/7.374, allocations: 0.9734 MB / 2.95 GB, free: 157.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007736/7.381, allocations: 2.6 MB / 2.952 GB, free: 157.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001014/7.382, allocations: 283.2 kB / 2.952 GB, free: 157.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006822/7.383, allocations: 95.28 kB / 2.953 GB, free: 157.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003226/7.386, allocations: 1.257 MB / 2.954 GB, free: 157.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002583/7.389, allocations: 1.51 MB / 2.955 GB, free: 156.9 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.712e-05/7.389, allocations: 5.578 kB / 2.955 GB, free: 156.9 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/7.389, allocations: 2.906 kB / 2.955 GB, free: 156.9 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.22e-05/7.389, allocations: 65.17 kB / 2.955 GB, free: 156.9 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01422/7.403, allocations: 9.055 MB / 2.964 GB, free: 152.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/7.405, allocations: 0.8196 MB / 2.965 GB, free: 152.6 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004618/7.406, allocations: 344.4 kB / 2.965 GB, free: 152.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000835/7.406, allocations: 1.571 MB / 2.967 GB, free: 150.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/7.406, allocations: 44.31 kB / 2.967 GB, free: 150.8 MB / 1.167 GB Notification: Performance of pre-optimization done (n=78): time 4.398e-06/7.406, allocations: 0 / 2.967 GB, free: 150.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=78): time 0.00717/7.414, allocations: 1.679 MB / 2.969 GB, free: 150.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/7.414, allocations: 88.52 kB / 2.969 GB, free: 150.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002896/7.417, allocations: 1.563 MB / 2.97 GB, free: 150.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.000273/7.417, allocations: 31.7 kB / 2.97 GB, free: 150.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003864/7.417, allocations: 0.7038 MB / 2.971 GB, free: 149.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/7.418, allocations: 261.9 kB / 2.971 GB, free: 149.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-05/7.418, allocations: 0 / 2.971 GB, free: 149.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001045/7.418, allocations: 346.2 kB / 2.971 GB, free: 149.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005739/7.418, allocations: 338.5 kB / 2.972 GB, free: 149.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008386/7.419, allocations: 0.7509 MB / 2.972 GB, free: 148.9 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/7.421, allocations: 498.2 kB / 2.973 GB, free: 148.9 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.727e-06/7.421, allocations: 6.25 kB / 2.973 GB, free: 148.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003318/7.424, allocations: 1.38 MB / 2.974 GB, free: 148.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/7.424, allocations: 3.844 kB / 2.974 GB, free: 148.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/7.424, allocations: 14.94 kB / 2.974 GB, free: 148.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002576/7.427, allocations: 0.8454 MB / 2.975 GB, free: 148.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009645/7.428, allocations: 241.6 kB / 2.975 GB, free: 148.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002786/7.431, allocations: 1.895 MB / 2.977 GB, free: 147.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003155/7.434, allocations: 381.3 kB / 2.978 GB, free: 147.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002053/7.434, allocations: 64.95 kB / 2.978 GB, free: 147.6 MB / 1.167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi_TEva.QCon_flow:VARIABLE(unit = "W" ) "Actual heating heat flow rate added to fluid 1" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi_y.QCon_flow:VARIABLE(unit = "W" ) "Actual heating heat flow rate added to fluid 1" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 19,2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003269/7.434, allocations: 132 kB / 2.978 GB, free: 147.5 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004148/7.435, allocations: 203.6 kB / 2.978 GB, free: 147.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005861/7.441, allocations: 1.705 MB / 2.98 GB, free: 147.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.362e-05/7.441, allocations: 11.55 kB / 2.98 GB, free: 147.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/7.441, allocations: 3.906 kB / 2.98 GB, free: 147.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/7.441, allocations: 7.797 kB / 2.98 GB, free: 147.3 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006932/7.448, allocations: 3.238 MB / 2.983 GB, free: 146.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/7.448, allocations: 5.812 kB / 2.983 GB, free: 146.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003808/7.448, allocations: 94.22 kB / 2.983 GB, free: 146.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002405/7.45, allocations: 0.8622 MB / 2.984 GB, free: 146.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.711e-05/7.451, allocations: 18.39 kB / 2.984 GB, free: 146.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002618/7.453, allocations: 1.9 MB / 2.986 GB, free: 145.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/7.453, allocations: 6.375 kB / 2.986 GB, free: 145.7 MB / 1.167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004679/7.458, allocations: 1.917 MB / 2.988 GB, free: 144.9 MB / 1.167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004936/7.463, allocations: 2.431 MB / 2.99 GB, free: 143.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001316/7.464, allocations: 475 kB / 2.99 GB, free: 143.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004052/7.465, allocations: 3.469 kB / 2.99 GB, free: 143.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001831/7.466, allocations: 184 kB / 2.991 GB, free: 143.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.282e-05/7.467, allocations: 62.14 kB / 2.991 GB, free: 143.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/7.467, allocations: 46.48 kB / 2.991 GB, free: 143.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 0.001738/7.468, allocations: 1.176 MB / 2.992 GB, free: 143.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003784/7.472, allocations: 1.048 MB / 2.993 GB, free: 143.3 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 21,2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002205/7.474, allocations: 1.281 MB / 2.994 GB, free: 142.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002714/7.477, allocations: 1.039 MB / 2.995 GB, free: 142.9 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/7.477, allocations: 0 / 2.995 GB, free: 142.9 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001591/7.479, allocations: 0.5955 MB / 2.996 GB, free: 142.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004884/7.484, allocations: 0.7912 MB / 2.996 GB, free: 142.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006594/7.49, allocations: 2.604 MB / 2.999 GB, free: 142 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/7.492, allocations: 1.68 MB / 3.001 GB, free: 141.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.593e-06/7.492, allocations: 6.531 kB / 3.001 GB, free: 141.3 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)