Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Technologies.Chillers.Examples.CompressionChiller,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Chillers_Examples_CompressionChiller",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Technologies.Chillers.Examples.CompressionChiller,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Chillers_Examples_CompressionChiller",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/BuildingSystems 2.0.0-master/package.mo): time 0.7246/0.7246, allocations: 141.8 MB / 149.1 MB, free: 2.051 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 184.5 kB / 182 MB, free: 1.582 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.224/1.224, allocations: 221.4 MB / 436 MB, free: 6.355 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009186/0.0009185, allocations: 104.5 kB / 0.507 GB, free: 3.035 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001711/0.00171, allocations: 283.3 kB / 0.5885 GB, free: 47.97 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1424/0.1441, allocations: 89.62 MB / 0.676 GB, free: 6.266 MB / 458.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.4592, allocations: 82.77 MB / 0.7568 GB, free: 25.46 MB / 458.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5719/1.031, allocations: 383.1 MB / 1.131 GB, free: 3.355 MB / 0.6825 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/1.031, allocations: 93.11 kB / 1.131 GB, free: 3.309 MB / 0.6825 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 1.803/2.834, allocations: 0.5791 GB / 1.71 GB, free: 93.46 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/2.835, allocations: 8.156 kB / 1.71 GB, free: 93.46 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002246/2.837, allocations: 0.4946 MB / 1.711 GB, free: 93.37 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003018/2.84, allocations: 1.628 MB / 1.712 GB, free: 93.06 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.018e-05/2.84, allocations: 63.42 kB / 1.712 GB, free: 93.02 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/2.84, allocations: 68.94 kB / 1.712 GB, free: 93.02 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001195/2.841, allocations: 0.6966 MB / 1.713 GB, free: 93.02 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/2.843, allocations: 0.8737 MB / 1.714 GB, free: 92.89 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.124e-05/2.843, allocations: 1.125 kB / 1.714 GB, free: 92.89 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.99e-05/2.843, allocations: 10.73 kB / 1.714 GB, free: 92.89 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.233e-05/2.843, allocations: 35.56 kB / 1.714 GB, free: 92.89 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006498/2.849, allocations: 5.229 MB / 1.719 GB, free: 90.4 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000837/2.85, allocations: 0.5397 MB / 1.72 GB, free: 90.38 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003501/2.85, allocations: 286.5 kB / 1.72 GB, free: 90.37 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009247/2.851, allocations: 1.596 MB / 1.721 GB, free: 88.58 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/2.851, allocations: 44.89 kB / 1.721 GB, free: 88.54 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=62): time 2.735e-06/2.851, allocations: 0 / 1.721 GB, free: 88.54 MB / 0.6982 GB Notification: Performance of matching and sorting (n=62): time 0.00191/2.853, allocations: 0.7576 MB / 1.722 GB, free: 88.44 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/2.853, allocations: 58.94 kB / 1.722 GB, free: 88.38 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/2.855, allocations: 1.104 MB / 1.723 GB, free: 88.23 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 8.234e-05/2.855, allocations: 29.52 kB / 1.723 GB, free: 88.2 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.00025/2.855, allocations: 457.9 kB / 1.724 GB, free: 88 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.000187/2.855, allocations: 215.3 kB / 1.724 GB, free: 87.89 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/2.855, allocations: 0 / 1.724 GB, free: 87.89 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 5.639e-05/2.855, allocations: 340.7 kB / 1.724 GB, free: 87.58 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/2.856, allocations: 231.5 kB / 1.725 GB, free: 87.58 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000409/2.856, allocations: 423.5 kB / 1.725 GB, free: 87.39 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/2.857, allocations: 450.4 kB / 1.725 GB, free: 87.38 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/2.857, allocations: 5.75 kB / 1.725 GB, free: 87.38 MB / 0.6982 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002014/2.859, allocations: 0.9248 MB / 1.726 GB, free: 87.27 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002137/2.86, allocations: 1.342 MB / 1.728 GB, free: 85.91 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/2.86, allocations: 0 / 1.728 GB, free: 85.91 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/2.86, allocations: 10.34 kB / 1.728 GB, free: 85.91 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/2.861, allocations: 260.1 kB / 1.728 GB, free: 85.91 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/2.861, allocations: 10.75 kB / 1.728 GB, free: 85.91 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00144/2.862, allocations: 180.8 kB / 1.728 GB, free: 85.89 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-05/2.862, allocations: 42.06 kB / 1.728 GB, free: 85.89 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/2.862, allocations: 3.625 kB / 1.728 GB, free: 85.89 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001795/2.864, allocations: 0.77 MB / 1.729 GB, free: 85.87 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/2.864, allocations: 9.625 kB / 1.729 GB, free: 85.87 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.899e-06/2.864, allocations: 7.844 kB / 1.729 GB, free: 85.87 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/2.865, allocations: 255.1 kB / 1.729 GB, free: 85.87 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/2.865, allocations: 10.16 kB / 1.729 GB, free: 85.87 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/2.867, allocations: 162.5 kB / 1.729 GB, free: 85.85 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.765e-05/2.867, allocations: 39.77 kB / 1.729 GB, free: 85.85 MB / 0.6982 GB Warning: Assuming fixed start value for the following 2 variables: chiller.volEva.dynBal.U:VARIABLE(start = chiller.volEva.dynBal.fluidVolume * chiller.volEva.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$chiller$volEva$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$chiller$volEva$dynBal.Medium.setState_pTX(chiller.volEva.dynBal.p_start, chiller.volEva.dynBal.T_start, {})) + (-273.15 + chiller.volEva.dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real chiller.volCon.dynBal.U:VARIABLE(start = chiller.volCon.dynBal.fluidVolume * chiller.volCon.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$chiller$volCon$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$chiller$volCon$dynBal.Medium.setState_pTX(chiller.volCon.dynBal.p_start, chiller.volCon.dynBal.T_start, {})) + (-273.15 + chiller.volCon.dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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.0002843/2.867, allocations: 182 kB / 1.729 GB, free: 85.73 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/2.867, allocations: 129.8 kB / 1.73 GB, free: 85.67 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002452/2.87, allocations: 1.192 MB / 1.731 GB, free: 85.61 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/2.87, allocations: 11.2 kB / 1.731 GB, free: 85.61 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/2.87, allocations: 3.172 kB / 1.731 GB, free: 85.61 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001489/2.871, allocations: 0.8661 MB / 1.732 GB, free: 85.43 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00443/2.876, allocations: 2.584 MB / 1.734 GB, free: 84.81 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/2.876, allocations: 2.969 kB / 1.734 GB, free: 84.81 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009871/2.877, allocations: 206.2 kB / 1.734 GB, free: 84.81 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.688e-06/2.877, allocations: 9.625 kB / 1.734 GB, free: 84.81 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-05/2.877, allocations: 24.66 kB / 1.734 GB, free: 84.81 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/2.877, allocations: 9.891 kB / 1.734 GB, free: 84.81 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/2.877, allocations: 6.75 kB / 1.734 GB, free: 84.81 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002419/2.879, allocations: 1.693 MB / 1.736 GB, free: 84.23 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002917/2.882, allocations: 2.55 MB / 1.739 GB, free: 83.29 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006359/2.883, allocations: 350.8 kB / 1.739 GB, free: 83.12 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/2.883, allocations: 14.98 kB / 1.739 GB, free: 83.12 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/2.884, allocations: 117.9 kB / 1.739 GB, free: 83.12 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/2.884, allocations: 62.88 kB / 1.739 GB, free: 83.11 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-05/2.884, allocations: 39.86 kB / 1.739 GB, free: 83.11 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0009743/2.885, allocations: 0.8372 MB / 1.74 GB, free: 83 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.003632/2.889, allocations: 1.06 MB / 1.741 GB, free: 82.89 MB / 0.6982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (senTemConIn.T,senTemConOut.T,chiller.volCon.dynBal.U,chiller.volEva.dynBal.U,senTemEvaIn.T,senTemEvaOut.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 Backend phase and start with SimCode phase: time 0.001567/2.89, allocations: 0.9681 MB / 1.742 GB, free: 82.69 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001535/2.892, allocations: 1.084 MB / 1.743 GB, free: 82.67 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/2.892, allocations: 6.125 kB / 1.743 GB, free: 82.67 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.000459/2.892, allocations: 381.8 kB / 1.743 GB, free: 82.67 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/2.895, allocations: 0.5218 MB / 1.744 GB, free: 82.66 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/2.899, allocations: 2.262 MB / 1.746 GB, free: 82.05 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001057/2.9, allocations: 1.431 MB / 1.747 GB, free: 81.32 MB / 0.6982 GB Notification: Performance of SimCode: time 1.463e-06/2.9, allocations: 0 / 1.747 GB, free: 81.32 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.pipe ; mkfifo BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.pipe >> ../files/BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Technologies_Chillers_Examples_CompressionChiller_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Technologies_Chillers_Examples_CompressionChiller.fmu > BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChiller.pipe 2>&1)