Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.HeatExchanger_ResetController") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.128/2.128, allocations: 253.1 MB / 260.4 MB, free: 7.512 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001697/0.001697, allocations: 192.5 kB / 319.6 MB, free: 3.332 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.936/1.936, allocations: 205.4 MB / 0.5704 GB, free: 15.08 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001372/0.001371, allocations: 87.39 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.019e-05/1.069e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2356, allocations: 106.2 MB / 0.8881 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.677/1.913, allocations: 443.9 MB / 1.322 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003647/1.913, allocations: 99.23 kB / 1.322 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 12.6/14.51, allocations: 2.543 GB / 3.865 GB, free: 56.04 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.001598/14.52, allocations: 171.4 kB / 3.865 GB, free: 56 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 957 * Number of variables: 957 Notification: Performance of Generate backend data structure: time 0.02693/14.54, allocations: 5.848 MB / 3.87 GB, free: 53.34 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/14.54, allocations: 8.562 kB / 3.87 GB, free: 53.34 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01264/14.56, allocations: 1.432 MB / 3.872 GB, free: 52.97 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02929/14.58, allocations: 6.597 MB / 3.878 GB, free: 52 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004121/14.59, allocations: 0.5907 MB / 3.879 GB, free: 51.99 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002388/14.59, allocations: 243 kB / 3.879 GB, free: 51.99 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01525/14.61, allocations: 3.45 MB / 3.882 GB, free: 51.97 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01947/14.63, allocations: 3.9 MB / 3.886 GB, free: 51.41 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002194/14.63, allocations: 7.594 kB / 3.886 GB, free: 51.41 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001731/14.63, allocations: 9.141 kB / 3.886 GB, free: 51.41 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000134/14.63, allocations: 96.5 kB / 3.886 GB, free: 51.41 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06558/14.69, allocations: 22.2 MB / 3.908 GB, free: 42.04 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005551/14.7, allocations: 1.711 MB / 3.91 GB, free: 42.01 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004041/14.7, allocations: 1.225 MB / 3.911 GB, free: 42 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002692/14.71, allocations: 1.922 MB / 3.913 GB, free: 39.93 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005098/14.71, allocations: 1.358 MB / 3.914 GB, free: 39.83 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=233): time 7.564e-06/14.71, allocations: 0 / 3.914 GB, free: 39.83 MB / 0.9792 GB Notification: Performance of matching and sorting (n=233): time 0.01443/14.73, allocations: 2.923 MB / 3.917 GB, free: 39.48 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002132/14.73, allocations: 495.7 kB / 3.917 GB, free: 38.91 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01392/14.74, allocations: 3.676 MB / 3.921 GB, free: 38.59 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.001367/14.74, allocations: 32.8 kB / 3.921 GB, free: 38.56 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.003728/14.75, allocations: 1.603 MB / 3.923 GB, free: 37.77 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.00215/14.75, allocations: 0.7626 MB / 3.923 GB, free: 37.25 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005266/14.75, allocations: 1.422 kB / 3.923 GB, free: 37.25 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003438/14.75, allocations: 422 kB / 3.924 GB, free: 36.95 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004188/14.75, allocations: 1.129 MB / 3.925 GB, free: 36.94 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005816/14.76, allocations: 2.085 MB / 3.927 GB, free: 35.88 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008382/14.77, allocations: 1.656 MB / 3.928 GB, free: 35.83 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.57e-05/14.77, allocations: 6.594 kB / 3.928 GB, free: 35.83 MB / 0.9792 GB Notification: Performance of matching and sorting (n=392) (initialization): time 0.01884/14.79, allocations: 3.795 MB / 3.932 GB, free: 35.42 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.002538/14.79, allocations: 8.731 MB / 3.941 GB, free: 26.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001912/14.79, allocations: 27.5 kB / 3.941 GB, free: 26.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001166/14.79, allocations: 38.72 kB / 3.941 GB, free: 26.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01124/14.8, allocations: 0.9931 MB / 3.942 GB, free: 26.25 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004175/14.8, allocations: 5.493 MB / 3.947 GB, free: 20.97 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01147/14.82, allocations: 0.6032 MB / 3.948 GB, free: 20.82 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001635/14.82, allocations: 166.7 kB / 3.948 GB, free: 20.82 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/14.82, allocations: 3.625 kB / 3.948 GB, free: 20.82 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01611/14.83, allocations: 3.19 MB / 3.951 GB, free: 20.64 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001359/14.83, allocations: 24.52 kB / 3.951 GB, free: 20.64 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.116e-05/14.83, allocations: 36.31 kB / 3.951 GB, free: 20.64 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008711/14.84, allocations: 0.8935 MB / 3.952 GB, free: 20.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.865e-05/14.84, allocations: 45.8 kB / 3.952 GB, free: 20.59 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01155/14.85, allocations: 0.5452 MB / 3.952 GB, free: 20.48 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001684/14.86, allocations: 162.2 kB / 3.953 GB, free: 20.48 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$whenCondition3,hex1.trigger,$PRE.tri.pulseStart,tri.pulseStart,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,$PRE.TCon_in.nextEvent,TCon_in.nextEvent,TCon_in.nextEventScaled,hex3.con.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (381): * Single equations (assignments): 365 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002395/14.86, allocations: 234.1 kB / 3.953 GB, free: 20.28 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002811/14.86, allocations: 0.5052 MB / 3.953 GB, free: 20.01 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0201/14.88, allocations: 3.78 MB / 3.957 GB, free: 19.79 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.891e-05/14.88, allocations: 34.62 kB / 3.957 GB, free: 19.79 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.614e-05/14.88, allocations: 2.094 kB / 3.957 GB, free: 19.79 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01207/14.89, allocations: 2.718 MB / 3.96 GB, free: 19.54 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03342/14.93, allocations: 8.02 MB / 3.968 GB, free: 18.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-05/14.93, allocations: 6.094 kB / 3.968 GB, free: 18.91 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007698/14.94, allocations: 0.7296 MB / 3.968 GB, free: 18.88 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.18e-05/14.94, allocations: 18.53 kB / 3.968 GB, free: 18.88 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001019/14.94, allocations: 52.11 kB / 3.968 GB, free: 18.88 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003625/14.94, allocations: 5.382 MB / 3.974 GB, free: 29.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.297e-05/14.94, allocations: 7.594 kB / 3.974 GB, free: 29.6 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01982/14.96, allocations: 5.291 MB / 3.979 GB, free: 28.61 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006109/14.97, allocations: 1.146 MB / 3.98 GB, free: 28.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003396/14.97, allocations: 21.59 kB / 3.98 GB, free: 28.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01068/14.98, allocations: 458.7 kB / 3.98 GB, free: 28.19 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001048/14.98, allocations: 155.8 kB / 3.981 GB, free: 28.18 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006634/14.98, allocations: 118.7 kB / 3.981 GB, free: 28.18 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.009659/14.99, allocations: 2.719 MB / 3.983 GB, free: 28 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0196/15.01, allocations: 2.78 MB / 3.986 GB, free: 27.58 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 15 (hex1.thrWayVal.vol.dynBal.U,hex1.thrWayVal.filter.x[1],hex1.thrWayVal.filter.x[2],hex1.con.I.y,TSen1.T,TSen2.T,hex2.thrWayVal.vol.dynBal.U,hex2.thrWayVal.filter.x[1],hex2.thrWayVal.filter.x[2],hex2.con.I.y,hex3.thrWayVal.vol.dynBal.U,hex3.thrWayVal.filter.x[1],hex3.thrWayVal.filter.x[2],hex3.con.I.y,TSen3.T) * Number of discrete variables: 10 (hex1.trigger,$whenCondition3,$whenCondition2,$whenCondition1,TCon_in.a,TCon_in.b,TCon_in.last,TCon_in.nextEvent,TCon_in.nextEventScaled,tri.pulseStart) * 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 (277): * Single equations (assignments): 253 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 13 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00763/15.02, allocations: 2.671 MB / 3.989 GB, free: 26.4 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.02051/15.04, allocations: 5.144 MB / 3.994 GB, free: 25.89 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.978e-05/15.04, allocations: 6.094 kB / 3.994 GB, free: 25.89 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.005594/15.05, allocations: 1.54 MB / 3.995 GB, free: 25.8 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02384/15.07, allocations: 2.242 MB / 3.997 GB, free: 25.68 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03616/15.11, allocations: 7.735 MB / 4.005 GB, free: 23.54 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01026/15.12, allocations: 3.445 MB / 4.008 GB, free: 22.65 MB / 0.9948 GB Notification: Performance of SimCode: time 2.315e-06/15.12, allocations: 0 / 4.008 GB, free: 22.65 MB / 0.9948 GB Notification: Performance of Templates: time 1.094/16.21, allocations: 121.8 MB / 4.127 GB, free: 149.8 MB / 1.01 GB