Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.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.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y",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.001738/0.001738, allocations: 189.8 kB / 7.806 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.5364/0.5364, allocations: 90.86 MB / 99.09 MB, free: 14.91 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.23/1.23, allocations: 221.4 MB / 342.8 MB, free: 5.129 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.001002/0.001002, allocations: 98 kB / 415.5 MB, free: 6.418 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1732/0.1742, allocations: 78.43 MB / 493.9 MB, free: 7.977 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.545, allocations: 72.3 MB / 0.553 GB, free: 73.42 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6198/1.165, allocations: 376.3 MB / 0.9204 GB, free: 14.46 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/1.165, allocations: 88.27 kB / 0.9205 GB, free: 14.42 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 2.031/3.196, allocations: 0.5459 GB / 1.466 GB, free: 84.1 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/3.196, allocations: 14.3 kB / 1.466 GB, free: 84.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001343/3.197, allocations: 244.3 kB / 1.467 GB, free: 84.01 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004488/3.202, allocations: 1.726 MB / 1.468 GB, free: 83.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.901e-05/3.202, allocations: 33.84 kB / 1.468 GB, free: 83.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002741/3.202, allocations: 60.81 kB / 1.468 GB, free: 83.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001593/3.204, allocations: 0.6953 MB / 1.469 GB, free: 83.7 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/3.205, allocations: 0.8851 MB / 1.47 GB, free: 83.57 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/3.205, allocations: 9.438 kB / 1.47 GB, free: 83.57 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/3.206, allocations: 0 / 1.47 GB, free: 83.57 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.473e-05/3.206, allocations: 43.22 kB / 1.47 GB, free: 83.56 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007822/3.213, allocations: 5.099 MB / 1.475 GB, free: 81.36 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008068/3.214, allocations: 459.9 kB / 1.475 GB, free: 81.33 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/3.215, allocations: 247.1 kB / 1.476 GB, free: 81.32 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004896/3.215, allocations: 0.8338 MB / 1.477 GB, free: 80.38 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/3.215, allocations: 37.88 kB / 1.477 GB, free: 80.34 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=59): time 2.545e-06/3.215, allocations: 0 / 1.477 GB, free: 80.34 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59): time 0.00438/3.22, allocations: 1.036 MB / 1.478 GB, free: 80.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/3.22, allocations: 59.09 kB / 1.478 GB, free: 80.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/3.221, allocations: 0.888 MB / 1.478 GB, free: 80.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.536e-05/3.221, allocations: 28.77 kB / 1.479 GB, free: 79.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/3.221, allocations: 441.2 kB / 1.479 GB, free: 79.79 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/3.222, allocations: 206.2 kB / 1.479 GB, free: 79.66 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/3.222, allocations: 0 / 1.479 GB, free: 79.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.418e-05/3.222, allocations: 338 kB / 1.479 GB, free: 79.36 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/3.222, allocations: 189.2 kB / 1.48 GB, free: 79.36 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004399/3.223, allocations: 419.4 kB / 1.48 GB, free: 79.11 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006407/3.223, allocations: 280.4 kB / 1.48 GB, free: 79.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/3.223, allocations: 0 / 1.48 GB, free: 79.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00432/3.227, allocations: 1.171 MB / 1.481 GB, free: 79 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003528/3.228, allocations: 1.408 MB / 1.483 GB, free: 77.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/3.228, allocations: 6 kB / 1.483 GB, free: 77.54 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004232/3.228, allocations: 111 kB / 1.483 GB, free: 77.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006559/3.229, allocations: 163.9 kB / 1.483 GB, free: 77.53 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/3.23, allocations: 0.7895 MB / 1.484 GB, free: 77.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/3.232, allocations: 125.8 kB / 1.484 GB, free: 76.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/3.232, allocations: 38.27 kB / 1.484 GB, free: 76.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/3.232, allocations: 3.938 kB / 1.484 GB, free: 76.98 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004087/3.236, allocations: 1.025 MB / 1.485 GB, free: 76.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/3.236, allocations: 3.094 kB / 1.485 GB, free: 76.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003583/3.236, allocations: 109.8 kB / 1.485 GB, free: 76.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006596/3.237, allocations: 160.8 kB / 1.485 GB, free: 76.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001226/3.238, allocations: 0.7895 MB / 1.486 GB, free: 76.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/3.24, allocations: 109.1 kB / 1.486 GB, free: 76.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/3.24, allocations: 34.77 kB / 1.486 GB, free: 76.39 MB / 0.6042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi.COP:VARIABLE(min = 0.0 unit = "1" ) "Coefficient of performance" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0003154/3.24, allocations: 130.1 kB / 1.486 GB, free: 76.28 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004149/3.24, allocations: 117.9 kB / 1.486 GB, free: 76.22 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004668/3.245, allocations: 1.16 MB / 1.488 GB, free: 76.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/3.245, allocations: 9.906 kB / 1.488 GB, free: 76.14 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/3.245, allocations: 0 / 1.488 GB, free: 76.14 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003982/3.249, allocations: 1.077 MB / 1.489 GB, free: 75.96 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007588/3.257, allocations: 2.368 MB / 1.491 GB, free: 75.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.939e-06/3.257, allocations: 0 / 1.491 GB, free: 75.55 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005836/3.258, allocations: 131.9 kB / 1.491 GB, free: 75.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003666/3.258, allocations: 101.8 kB / 1.491 GB, free: 75.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.539e-05/3.258, allocations: 15.31 kB / 1.491 GB, free: 75.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003528/3.262, allocations: 2.095 MB / 1.493 GB, free: 74.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/3.262, allocations: 10.53 kB / 1.493 GB, free: 74.25 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005105/3.267, allocations: 1.728 MB / 1.495 GB, free: 73.73 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00576/3.272, allocations: 2.484 MB / 1.497 GB, free: 72.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009769/3.273, allocations: 305.1 kB / 1.498 GB, free: 72.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004526/3.274, allocations: 6.781 kB / 1.498 GB, free: 72.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/3.275, allocations: 72.66 kB / 1.498 GB, free: 72.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/3.275, allocations: 44.23 kB / 1.498 GB, free: 72.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.509e-05/3.275, allocations: 31.39 kB / 1.498 GB, free: 72.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.001418/3.277, allocations: 0.6797 MB / 1.498 GB, free: 72.56 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.004742/3.282, allocations: 1.014 MB / 1.499 GB, free: 72.43 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001455/3.283, allocations: 0.7441 MB / 1.5 GB, free: 72.23 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002729/3.286, allocations: 1.051 MB / 1.501 GB, free: 72.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.9e-06/3.286, allocations: 0 / 1.501 GB, free: 72.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001095/3.287, allocations: 485.7 kB / 1.502 GB, free: 72.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/3.29, allocations: 0.5422 MB / 1.502 GB, free: 72.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/3.293, allocations: 1.749 MB / 1.504 GB, free: 71.58 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008438/3.294, allocations: 1.31 MB / 1.505 GB, free: 70.86 MB / 0.6042 GB Notification: Performance of SimCode: time 1.102e-06/3.294, allocations: 0 / 1.505 GB, free: 70.86 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)