Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP",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/Complex 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 188 kB / 7.803 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4955/0.4955, allocations: 90.85 MB / 99.07 MB, free: 14.97 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 221.4 MB / 342.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 101.5 kB / 415.5 MB, free: 6.445 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1776/0.1786, allocations: 78.44 MB / 494 MB, free: 8.004 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4358/0.6145, allocations: 72.3 MB / 0.553 GB, free: 73.27 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6988/1.313, allocations: 388.6 MB / 0.9324 GB, free: 2.148 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/1.314, allocations: 83.83 kB / 0.9325 GB, free: 2.109 MB / 0.5886 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.72/6.034, allocations: 1.31 GB / 2.242 GB, free: 63.53 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/6.034, allocations: 9.844 kB / 2.242 GB, free: 63.53 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005342/6.039, allocations: 0.97 MB / 2.243 GB, free: 63.38 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007533/6.047, allocations: 2.6 MB / 2.246 GB, free: 62.87 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009039/6.048, allocations: 287.3 kB / 2.246 GB, free: 62.87 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003115/6.048, allocations: 93.09 kB / 2.246 GB, free: 62.87 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002475/6.051, allocations: 1.255 MB / 2.247 GB, free: 62.86 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002394/6.053, allocations: 1.511 MB / 2.249 GB, free: 62.63 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.249e-05/6.053, allocations: 0 / 2.249 GB, free: 62.63 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/6.053, allocations: 6.938 kB / 2.249 GB, free: 62.63 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.402e-05/6.053, allocations: 62.3 kB / 2.249 GB, free: 62.63 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01392/6.067, allocations: 9.046 MB / 2.258 GB, free: 58.38 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/6.069, allocations: 0.8168 MB / 2.259 GB, free: 58.32 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005036/6.069, allocations: 348.7 kB / 2.259 GB, free: 58.31 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009952/6.07, allocations: 1.566 MB / 2.26 GB, free: 56.53 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/6.071, allocations: 43.12 kB / 2.261 GB, free: 56.49 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=78): time 4.799e-06/6.071, allocations: 1.688 kB / 2.261 GB, free: 56.49 MB / 0.6511 GB Notification: Performance of matching and sorting (n=78): time 0.006737/6.077, allocations: 1.67 MB / 2.262 GB, free: 56.32 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/6.077, allocations: 87.8 kB / 2.262 GB, free: 56.22 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002543/6.08, allocations: 1.535 MB / 2.264 GB, free: 56.02 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002078/6.08, allocations: 29.02 kB / 2.264 GB, free: 55.98 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003941/6.08, allocations: 0.7022 MB / 2.264 GB, free: 55.59 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002946/6.081, allocations: 266.2 kB / 2.265 GB, free: 55.42 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.048e-05/6.081, allocations: 0 / 2.265 GB, free: 55.42 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.983e-05/6.081, allocations: 342.4 kB / 2.265 GB, free: 55.11 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005285/6.081, allocations: 345.1 kB / 2.265 GB, free: 55.11 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007272/6.082, allocations: 0.7497 MB / 2.266 GB, free: 54.64 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/6.084, allocations: 497.4 kB / 2.267 GB, free: 54.63 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/6.084, allocations: 3.5 kB / 2.267 GB, free: 54.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003034/6.087, allocations: 1.373 MB / 2.268 GB, free: 54.47 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/6.087, allocations: 7.344 kB / 2.268 GB, free: 54.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/6.087, allocations: 12.78 kB / 2.268 GB, free: 54.47 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002073/6.089, allocations: 0.7366 MB / 2.269 GB, free: 54.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009353/6.09, allocations: 245.4 kB / 2.269 GB, free: 54.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002554/6.092, allocations: 1.88 MB / 2.271 GB, free: 53.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003005/6.095, allocations: 378.1 kB / 2.271 GB, free: 53.35 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001876/6.095, allocations: 61.67 kB / 2.271 GB, free: 53.35 MB / 0.6511 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.0003509/6.096, allocations: 134.7 kB / 2.271 GB, free: 53.24 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000389/6.096, allocations: 199.5 kB / 2.271 GB, free: 53.13 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005743/6.102, allocations: 1.711 MB / 2.273 GB, free: 53.03 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.697e-05/6.102, allocations: 10.92 kB / 2.273 GB, free: 53.03 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/6.102, allocations: 0 / 2.273 GB, free: 53.03 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/6.102, allocations: 10.81 kB / 2.273 GB, free: 53.02 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007302/6.109, allocations: 3.223 MB / 2.276 GB, free: 52.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/6.109, allocations: 3.219 kB / 2.276 GB, free: 52.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003827/6.11, allocations: 95.89 kB / 2.276 GB, free: 52.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002017/6.112, allocations: 0.7368 MB / 2.277 GB, free: 52.48 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.903e-05/6.112, allocations: 17.69 kB / 2.277 GB, free: 52.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002635/6.115, allocations: 1.895 MB / 2.279 GB, free: 51.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/6.115, allocations: 6.469 kB / 2.279 GB, free: 51.42 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005069/6.12, allocations: 1.906 MB / 2.281 GB, free: 50.64 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005103/6.125, allocations: 2.431 MB / 2.283 GB, free: 49.49 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/6.126, allocations: 461.6 kB / 2.284 GB, free: 49.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007218/6.127, allocations: 3.469 kB / 2.284 GB, free: 49.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002284/6.129, allocations: 189 kB / 2.284 GB, free: 49.28 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001078/6.129, allocations: 58.48 kB / 2.284 GB, free: 49.27 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/6.129, allocations: 41.08 kB / 2.284 GB, free: 49.27 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.002483/6.132, allocations: 1.158 MB / 2.285 GB, free: 49.13 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004652/6.137, allocations: 1.048 MB / 2.286 GB, free: 48.99 MB / 0.6511 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.002838/6.139, allocations: 1.284 MB / 2.287 GB, free: 48.62 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00288/6.142, allocations: 1.038 MB / 2.288 GB, free: 48.61 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/6.142, allocations: 0 / 2.288 GB, free: 48.61 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001607/6.144, allocations: 0.5835 MB / 2.289 GB, free: 48.6 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005128/6.149, allocations: 0.794 MB / 2.29 GB, free: 48.58 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008133/6.157, allocations: 2.586 MB / 2.292 GB, free: 47.78 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001868/6.159, allocations: 1.688 MB / 2.294 GB, free: 47.05 MB / 0.6511 GB Notification: Performance of SimCode: time 1.122e-06/6.159, allocations: 0 / 2.294 GB, free: 47.05 MB / 0.6511 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)