Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.CarnotVerifyEtaCarnot,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IBPSA_latest_IBPSA_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/Complex 4.0.0+maint.om/package.mo): time 0.001031/0.001031, 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.472/0.472, allocations: 90.85 MB / 99.07 MB, free: 14.93 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.362/1.362, allocations: 221.4 MB / 342.8 MB, free: 5.211 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.001086/0.001086, allocations: 99.22 kB / 415.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1732/0.1743, allocations: 78.43 MB / 493.9 MB, free: 8.008 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4393/0.6136, allocations: 72.31 MB / 0.553 GB, free: 73.37 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6886/1.302, allocations: 388.7 MB / 0.9326 GB, free: 1.539 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/1.303, allocations: 88.12 kB / 0.9327 GB, free: 1.496 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.709/6.012, allocations: 1.31 GB / 2.243 GB, free: 50.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/6.012, allocations: 8.688 kB / 2.243 GB, free: 50.9 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005578/6.018, allocations: 0.9767 MB / 2.244 GB, free: 50.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009238/6.027, allocations: 2.599 MB / 2.246 GB, free: 50.24 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001209/6.028, allocations: 282.8 kB / 2.246 GB, free: 50.24 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001114/6.029, allocations: 95.94 kB / 2.246 GB, free: 50.24 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004415/6.034, allocations: 1.26 MB / 2.248 GB, free: 50.23 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003804/6.038, allocations: 1.508 MB / 2.249 GB, free: 50 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.47e-05/6.038, allocations: 3.312 kB / 2.249 GB, free: 50 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002145/6.038, allocations: 4.719 kB / 2.249 GB, free: 50 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-05/6.038, allocations: 60.72 kB / 2.249 GB, free: 50 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01707/6.055, allocations: 9.083 MB / 2.258 GB, free: 45.75 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/6.057, allocations: 0.821 MB / 2.259 GB, free: 45.69 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005285/6.057, allocations: 347.4 kB / 2.259 GB, free: 45.68 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00089/6.058, allocations: 1.561 MB / 2.261 GB, free: 43.89 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/6.058, allocations: 45.72 kB / 2.261 GB, free: 43.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 3.156e-06/6.058, allocations: 2.156 kB / 2.261 GB, free: 43.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.007367/6.066, allocations: 1.67 MB / 2.262 GB, free: 43.69 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/6.066, allocations: 87.64 kB / 2.262 GB, free: 43.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003539/6.069, allocations: 1.565 MB / 2.264 GB, free: 43.38 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000293/6.07, allocations: 29.61 kB / 2.264 GB, free: 43.35 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005379/6.07, allocations: 0.7034 MB / 2.265 GB, free: 42.96 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005934/6.071, allocations: 269 kB / 2.265 GB, free: 42.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001711/6.071, allocations: 0 / 2.265 GB, free: 42.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001332/6.071, allocations: 343.7 kB / 2.265 GB, free: 42.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006946/6.072, allocations: 342.4 kB / 2.266 GB, free: 42.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/6.073, allocations: 0.7496 MB / 2.266 GB, free: 42 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/6.075, allocations: 494.5 kB / 2.267 GB, free: 42 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/6.075, allocations: 5.906 kB / 2.267 GB, free: 42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003743/6.079, allocations: 1.381 MB / 2.268 GB, free: 41.83 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/6.079, allocations: 7.219 kB / 2.268 GB, free: 41.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/6.079, allocations: 7 kB / 2.268 GB, free: 41.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002483/6.081, allocations: 0.8525 MB / 2.269 GB, free: 41.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009513/6.082, allocations: 241.7 kB / 2.269 GB, free: 41.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003133/6.085, allocations: 1.895 MB / 2.271 GB, free: 40.76 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003258/6.088, allocations: 374.2 kB / 2.271 GB, free: 40.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002433/6.089, allocations: 67.05 kB / 2.272 GB, free: 40.71 MB / 0.6355 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.0003698/6.089, allocations: 137.4 kB / 2.272 GB, free: 40.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004655/6.09, allocations: 196.4 kB / 2.272 GB, free: 40.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006107/6.096, allocations: 1.711 MB / 2.274 GB, free: 40.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.063e-05/6.096, allocations: 11.02 kB / 2.274 GB, free: 40.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/6.096, allocations: 0 / 2.274 GB, free: 40.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/6.096, allocations: 9.5 kB / 2.274 GB, free: 40.4 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008206/6.104, allocations: 3.236 MB / 2.277 GB, free: 39.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/6.104, allocations: 3.094 kB / 2.277 GB, free: 39.85 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003849/6.104, allocations: 94.72 kB / 2.277 GB, free: 39.85 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002511/6.107, allocations: 0.8632 MB / 2.278 GB, free: 39.82 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.605e-05/6.107, allocations: 13.8 kB / 2.278 GB, free: 39.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002596/6.11, allocations: 1.894 MB / 2.28 GB, free: 38.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/6.11, allocations: 11.56 kB / 2.28 GB, free: 38.76 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004616/6.114, allocations: 1.911 MB / 2.281 GB, free: 37.98 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004755/6.119, allocations: 2.439 MB / 2.284 GB, free: 36.79 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/6.12, allocations: 467 kB / 2.284 GB, free: 36.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003211/6.121, allocations: 16.7 kB / 2.284 GB, free: 36.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/6.122, allocations: 177 kB / 2.284 GB, free: 36.55 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/6.122, allocations: 61.59 kB / 2.284 GB, free: 36.54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.795e-05/6.122, allocations: 40.17 kB / 2.285 GB, free: 36.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.001726/6.124, allocations: 1.178 MB / 2.286 GB, free: 36.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003536/6.128, allocations: 1.054 MB / 2.287 GB, free: 36.26 MB / 0.6355 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.002206/6.13, allocations: 1.266 MB / 2.288 GB, free: 35.79 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002647/6.133, allocations: 1.044 MB / 2.289 GB, free: 35.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/6.133, allocations: 2.688 kB / 2.289 GB, free: 35.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001507/6.134, allocations: 0.5897 MB / 2.29 GB, free: 35.69 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004096/6.138, allocations: 0.796 MB / 2.29 GB, free: 35.64 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006297/6.145, allocations: 2.603 MB / 2.293 GB, free: 34.81 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/6.146, allocations: 1.69 MB / 2.294 GB, free: 34.05 MB / 0.6355 GB Notification: Performance of SimCode: time 7.01e-07/6.146, allocations: 0 / 2.294 GB, free: 34.05 MB / 0.6355 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)