Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger") [: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 8.1.4-maint.8.1.x/package.mo): time 1.37/1.37, allocations: 289.8 MB / 297.1 MB, free: 6.672 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009826/0.0009826, allocations: 169.3 kB / 366.3 MB, free: 1.98 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.109/1.109, allocations: 205.1 MB / 0.6256 GB, free: 5.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008289/0.000829, allocations: 89.81 kB / 0.7396 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.442e-06/6.452e-06, allocations: 0 / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4282, allocations: 116.3 MB / 0.9726 GB, free: 68.61 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.692/1.12, allocations: 449.5 MB / 1.412 GB, free: 40.36 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/1.121, allocations: 108 kB / 1.412 GB, free: 40.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 4.073/5.193, allocations: 1.49 GB / 2.902 GB, free: 88.71 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0003164/5.194, allocations: 89.94 kB / 2.902 GB, free: 88.7 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 0.006625/5.2, allocations: 3.297 MB / 2.905 GB, free: 87.08 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/5.2, allocations: 16.25 kB / 2.905 GB, free: 87.08 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003358/5.204, allocations: 0.8446 MB / 2.906 GB, free: 86.88 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006216/5.21, allocations: 3.409 MB / 2.909 GB, free: 86.27 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001168/5.211, allocations: 374.5 kB / 2.91 GB, free: 86.26 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003161/5.211, allocations: 124.7 kB / 2.91 GB, free: 86.26 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003012/5.214, allocations: 1.837 MB / 2.912 GB, free: 86.25 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/5.217, allocations: 2.039 MB / 2.914 GB, free: 85.96 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.292e-05/5.217, allocations: 2 kB / 2.914 GB, free: 85.96 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001679/5.218, allocations: 2.375 kB / 2.914 GB, free: 85.96 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-05/5.218, allocations: 51.25 kB / 2.914 GB, free: 85.96 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01521/5.233, allocations: 12.68 MB / 2.926 GB, free: 79.73 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/5.234, allocations: 0.9876 MB / 2.927 GB, free: 79.7 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008653/5.235, allocations: 0.7232 MB / 2.928 GB, free: 79.69 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/5.236, allocations: 1.65 MB / 2.929 GB, free: 77.9 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/5.237, allocations: 0.8612 MB / 2.93 GB, free: 77.77 MB / 1.01 GB Notification: Performance of pre-optimization done (n=130): time 3.727e-06/5.237, allocations: 2.219 kB / 2.93 GB, free: 77.77 MB / 1.01 GB Notification: Performance of matching and sorting (n=130): time 0.003888/5.241, allocations: 1.736 MB / 2.932 GB, free: 77.54 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/5.241, allocations: 304.6 kB / 2.932 GB, free: 77.2 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002543/5.244, allocations: 1.92 MB / 2.934 GB, free: 76.97 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001893/5.244, allocations: 29.48 kB / 2.934 GB, free: 76.94 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006332/5.245, allocations: 0.8408 MB / 2.935 GB, free: 76.5 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003319/5.245, allocations: 437.3 kB / 2.935 GB, free: 76.21 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.236e-05/5.245, allocations: 3.406 kB / 2.935 GB, free: 76.21 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/5.245, allocations: 365.7 kB / 2.936 GB, free: 75.91 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008408/5.246, allocations: 0.6084 MB / 2.936 GB, free: 75.91 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/5.247, allocations: 1.045 MB / 2.937 GB, free: 75.43 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002038/5.249, allocations: 0.8974 MB / 2.938 GB, free: 75.41 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/5.249, allocations: 1.312 kB / 2.938 GB, free: 75.41 MB / 1.01 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004177/5.253, allocations: 2.141 MB / 2.94 GB, free: 75.15 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004816/5.254, allocations: 3.046 MB / 2.943 GB, free: 71.98 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/5.254, allocations: 6.5 kB / 2.943 GB, free: 71.98 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000261/5.254, allocations: 98.95 kB / 2.943 GB, free: 71.96 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/5.256, allocations: 450.6 kB / 2.944 GB, free: 71.95 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006472/5.257, allocations: 1.237 MB / 2.945 GB, free: 70.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002853/5.259, allocations: 365.7 kB / 2.945 GB, free: 70.83 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/5.26, allocations: 82.84 kB / 2.945 GB, free: 70.83 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 7.244e-06/5.26, allocations: 3.906 kB / 2.945 GB, free: 70.83 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003563/5.263, allocations: 1.785 MB / 2.947 GB, free: 70.74 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/5.263, allocations: 15.12 kB / 2.947 GB, free: 70.74 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003098/5.264, allocations: 106.5 kB / 2.947 GB, free: 70.73 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/5.265, allocations: 446.6 kB / 2.948 GB, free: 70.71 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002223/5.268, allocations: 3.032 MB / 2.951 GB, free: 68.14 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002794/5.27, allocations: 330.7 kB / 2.951 GB, free: 68.09 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/5.27, allocations: 83.61 kB / 2.951 GB, free: 68.09 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,hex1.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 175 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004504/5.271, allocations: 180.7 kB / 2.951 GB, free: 67.92 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003948/5.271, allocations: 277.5 kB / 2.952 GB, free: 67.78 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004704/5.276, allocations: 2.293 MB / 2.954 GB, free: 67.58 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/5.276, allocations: 18.45 kB / 2.954 GB, free: 67.58 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/5.276, allocations: 0 / 2.954 GB, free: 67.58 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002888/5.279, allocations: 1.774 MB / 2.955 GB, free: 67.26 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007907/5.287, allocations: 5.032 MB / 2.96 GB, free: 66.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/5.287, allocations: 6.469 kB / 2.96 GB, free: 66.41 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001438/5.288, allocations: 342.3 kB / 2.961 GB, free: 66.39 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001668/5.289, allocations: 86.47 kB / 2.961 GB, free: 66.38 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/5.289, allocations: 31.25 kB / 2.961 GB, free: 66.38 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000539/5.289, allocations: 1.198 MB / 2.962 GB, free: 65.33 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/5.289, allocations: 3.844 kB / 2.962 GB, free: 65.33 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004893/5.294, allocations: 3.37 MB / 2.965 GB, free: 64.47 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/5.296, allocations: 0.6694 MB / 2.966 GB, free: 64.21 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007033/5.296, allocations: 12.84 kB / 2.966 GB, free: 64.21 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002639/5.299, allocations: 254.2 kB / 2.966 GB, free: 64.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/5.299, allocations: 94 kB / 2.966 GB, free: 64.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/5.299, allocations: 78.53 kB / 2.966 GB, free: 64.2 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.002793/5.302, allocations: 1.438 MB / 2.968 GB, free: 64.05 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.005836/5.308, allocations: 1.57 MB / 2.969 GB, free: 63.8 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.x[1],hex1.thrWayVal.filter.x[2],hex1.con.I.y,TSen1.T,TSen2.T) * Number of discrete variables: 6 ($whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled) * Number of discrete states: 6 (TCon_in.nextEvent,TCon_in.last,TCon_in.nextEventScaled,TCon_in.b,TCon_in.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (147): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 11 * 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 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002533/5.311, allocations: 1.575 MB / 2.971 GB, free: 63.3 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005058/5.316, allocations: 2.936 MB / 2.974 GB, free: 62.86 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/5.316, allocations: 2.438 kB / 2.974 GB, free: 62.86 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001264/5.317, allocations: 0.8889 MB / 2.975 GB, free: 62.79 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006622/5.324, allocations: 1.112 MB / 2.976 GB, free: 62.76 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/5.335, allocations: 4.122 MB / 2.98 GB, free: 61.35 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002423/5.337, allocations: 2.114 MB / 2.982 GB, free: 60.55 MB / 1.01 GB Notification: Performance of SimCode: time 1.102e-06/5.337, allocations: 2.219 kB / 2.982 GB, free: 60.55 MB / 1.01 GB Notification: Performance of Templates: time 0.09596/5.433, allocations: 66.4 MB / 3.047 GB, free: 27.58 MB / 1.01 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger.pipe 2>&1)