Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") [: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.0.1-maint.8.0.x/package.mo): time 1.488/1.488, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.001038/0.001038, allocations: 177.3 kB / 361.1 MB, free: 7.105 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.396/1.396, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0008958/0.0008961, allocations: 88.08 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.834e-06/7.854e-06, allocations: 0 / 0.8511 GB, free: 2.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7367/0.7368, allocations: 115.3 MB / 0.9637 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.087/1.824, allocations: 453.9 MB / 1.407 GB, free: 113.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003607/1.824, allocations: 94.06 kB / 1.407 GB, free: 113.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.305/6.129, allocations: 1.168 GB / 2.575 GB, free: 107.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004257/6.13, allocations: 50.91 kB / 2.575 GB, free: 107.1 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.006834/6.137, allocations: 2.091 MB / 2.578 GB, free: 105 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/6.137, allocations: 8.031 kB / 2.578 GB, free: 105 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003039/6.14, allocations: 488.3 kB / 2.578 GB, free: 104.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007883/6.148, allocations: 2.314 MB / 2.58 GB, free: 102.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.711e-05/6.148, allocations: 36 kB / 2.58 GB, free: 102.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005023/6.148, allocations: 79.84 kB / 2.58 GB, free: 102.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002225/6.151, allocations: 0.7893 MB / 2.581 GB, free: 101.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/6.153, allocations: 1.097 MB / 2.582 GB, free: 100.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/6.153, allocations: 3.938 kB / 2.582 GB, free: 100.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001535/6.153, allocations: 7.344 kB / 2.582 GB, free: 100.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.834e-05/6.153, allocations: 28 kB / 2.582 GB, free: 100.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01033/6.164, allocations: 6.927 MB / 2.589 GB, free: 92.83 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/6.165, allocations: 0.6049 MB / 2.59 GB, free: 92.22 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004679/6.165, allocations: 329.9 kB / 2.59 GB, free: 91.89 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005377/6.171, allocations: 2.821 MB / 2.593 GB, free: 88.79 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005892/6.171, allocations: 339 kB / 2.593 GB, free: 88.44 MB / 0.948 GB Notification: Performance of pre-optimization done (n=64): time 5.07e-06/6.171, allocations: 0 / 2.593 GB, free: 88.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=64): time 0.003359/6.175, allocations: 0.8645 MB / 2.594 GB, free: 87.57 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.759e-05/6.175, allocations: 162.9 kB / 2.594 GB, free: 87.38 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003917/6.179, allocations: 1.244 MB / 2.595 GB, free: 86.13 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002448/6.179, allocations: 29.7 kB / 2.595 GB, free: 86.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001159/6.18, allocations: 0.5793 MB / 2.596 GB, free: 85.51 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004705/6.181, allocations: 216.8 kB / 2.596 GB, free: 85.29 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.883e-05/6.181, allocations: 0 / 2.596 GB, free: 85.29 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001781/6.181, allocations: 349.6 kB / 2.596 GB, free: 84.95 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006035/6.182, allocations: 274.2 kB / 2.597 GB, free: 84.68 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009774/6.183, allocations: 0.7035 MB / 2.597 GB, free: 83.79 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002486/6.185, allocations: 0.5441 MB / 2.598 GB, free: 83.27 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.773e-05/6.185, allocations: 5.406 kB / 2.598 GB, free: 83.26 MB / 0.948 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003872/6.189, allocations: 1.197 MB / 2.599 GB, free: 82.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001293/6.19, allocations: 4.513 MB / 2.603 GB, free: 77.18 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.665e-05/6.19, allocations: 15.94 kB / 2.603 GB, free: 77.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.902e-05/6.191, allocations: 20 kB / 2.603 GB, free: 77.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/6.192, allocations: 260.5 kB / 2.604 GB, free: 76.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.27e-05/6.192, allocations: 27.91 kB / 2.604 GB, free: 76.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/6.194, allocations: 154.8 kB / 2.604 GB, free: 76.71 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/6.194, allocations: 59.97 kB / 2.604 GB, free: 76.65 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/6.194, allocations: 6.031 kB / 2.604 GB, free: 76.65 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002862/6.197, allocations: 0.9672 MB / 2.605 GB, free: 75.68 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.363e-05/6.197, allocations: 12 kB / 2.605 GB, free: 75.67 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/6.197, allocations: 23.91 kB / 2.605 GB, free: 75.64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001019/6.198, allocations: 256.8 kB / 2.605 GB, free: 75.39 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.367e-05/6.198, allocations: 31.86 kB / 2.605 GB, free: 75.36 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001988/6.2, allocations: 127.2 kB / 2.605 GB, free: 75.24 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/6.2, allocations: 55.98 kB / 2.605 GB, free: 75.18 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 121 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0004111/6.2, allocations: 147.3 kB / 2.605 GB, free: 75.04 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006579/6.201, allocations: 173.8 kB / 2.606 GB, free: 74.86 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003546/6.205, allocations: 1.124 MB / 2.607 GB, free: 73.73 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.18e-05/6.205, allocations: 11.98 kB / 2.607 GB, free: 73.72 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/6.205, allocations: 4 kB / 2.607 GB, free: 73.72 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001872/6.207, allocations: 0.9104 MB / 2.608 GB, free: 72.76 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006367/6.213, allocations: 2.124 MB / 2.61 GB, free: 70.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/6.213, allocations: 6.375 kB / 2.61 GB, free: 70.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008289/6.214, allocations: 139.8 kB / 2.61 GB, free: 70.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002488/6.214, allocations: 36.78 kB / 2.61 GB, free: 70.42 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.741e-05/6.214, allocations: 15.98 kB / 2.61 GB, free: 70.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/6.215, allocations: 1.262 MB / 2.611 GB, free: 69.03 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/6.215, allocations: 0 / 2.611 GB, free: 69.03 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003399/6.219, allocations: 1.443 MB / 2.613 GB, free: 67.55 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001412/6.22, allocations: 346.6 kB / 2.613 GB, free: 67.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006587/6.221, allocations: 4 kB / 2.613 GB, free: 67.19 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0016/6.223, allocations: 79.77 kB / 2.613 GB, free: 67.11 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/6.223, allocations: 52.56 kB / 2.613 GB, free: 67.06 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.593e-05/6.223, allocations: 27.98 kB / 2.613 GB, free: 67.04 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002527/6.225, allocations: 0.9313 MB / 2.614 GB, free: 66.11 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006655/6.232, allocations: 1.009 MB / 2.615 GB, free: 65.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003826/6.236, allocations: 1.222 MB / 2.616 GB, free: 64.06 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003098/6.239, allocations: 1.374 MB / 2.617 GB, free: 62.67 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/6.239, allocations: 3.938 kB / 2.617 GB, free: 62.67 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009478/6.24, allocations: 453 kB / 2.618 GB, free: 62.21 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004535/6.245, allocations: 0.6078 MB / 2.619 GB, free: 61.63 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008567/6.253, allocations: 2.37 MB / 2.621 GB, free: 59.25 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002571/6.256, allocations: 1.566 MB / 2.622 GB, free: 57.65 MB / 0.948 GB Notification: Performance of SimCode: time 2.144e-06/6.256, allocations: 0 / 2.622 GB, free: 57.65 MB / 0.948 GB Notification: Performance of Templates: time 0.08032/6.336, allocations: 37.33 MB / 2.659 GB, free: 20.91 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)