Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") [: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.167/2.167, allocations: 253.1 MB / 260.4 MB, free: 7.551 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.001635/0.001635, allocations: 188.9 kB / 319.6 MB, free: 3.293 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.779/1.779, allocations: 205.4 MB / 0.5704 GB, free: 15.03 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.001302/0.001302, allocations: 83.94 kB / 0.6746 GB, free: 4.395 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.287e-06/9.508e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1959, allocations: 106.3 MB / 0.888 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.425/1.621, allocations: 402.6 MB / 1.281 GB, free: 260 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004079/1.622, allocations: 91.45 kB / 1.281 GB, free: 260 MB / 0.8698 GB Notification: Performance of FrontEnd: time 12.88/14.5, allocations: 2.663 GB / 3.945 GB, free: 50.95 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001131/14.5, allocations: 165.8 kB / 3.945 GB, free: 50.91 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01982/14.52, allocations: 5.939 MB / 3.951 GB, free: 47.86 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/14.52, allocations: 9.844 kB / 3.951 GB, free: 47.86 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004818/14.52, allocations: 0.7775 MB / 3.951 GB, free: 47.49 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2293/14.75, allocations: 58.05 MB / 4.008 GB, free: 43.6 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003015/14.75, allocations: 128.3 kB / 4.008 GB, free: 43.6 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00166/14.75, allocations: 253.5 kB / 4.008 GB, free: 43.6 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01088/14.77, allocations: 2.544 MB / 4.011 GB, free: 43.57 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0142/14.78, allocations: 3.584 MB / 4.014 GB, free: 42.77 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001956/14.78, allocations: 17.72 kB / 4.014 GB, free: 42.76 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000714/14.78, allocations: 8.188 kB / 4.015 GB, free: 42.76 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001783/14.78, allocations: 127.5 kB / 4.015 GB, free: 42.75 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0474/14.83, allocations: 25.98 MB / 4.04 GB, free: 23.31 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003579/14.83, allocations: 1.09 MB / 4.041 GB, free: 22.88 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003335/14.84, allocations: 1.099 MB / 4.042 GB, free: 22.46 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003665/14.84, allocations: 3.943 MB / 4.046 GB, free: 17.99 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.666e-05/14.84, allocations: 58.19 kB / 4.046 GB, free: 17.93 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=225): time 5.49e-06/14.84, allocations: 1.094 kB / 4.046 GB, free: 17.93 MB / 0.9948 GB Notification: Performance of matching and sorting (n=225): time 0.01464/14.85, allocations: 2.972 MB / 4.049 GB, free: 16.86 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.249e-05/14.85, allocations: 74 kB / 4.049 GB, free: 16.8 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01099/14.87, allocations: 3.28 MB / 4.052 GB, free: 15.54 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007609/14.87, allocations: 32.11 kB / 4.052 GB, free: 15.5 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002611/14.87, allocations: 1.705 MB / 4.054 GB, free: 14.33 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002088/14.87, allocations: 0.7565 MB / 4.055 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/14.87, allocations: 4 kB / 4.055 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002832/14.87, allocations: 410.2 kB / 4.055 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002435/14.87, allocations: 0.7403 MB / 4.056 GB, free: 13.07 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003306/14.88, allocations: 1.71 MB / 4.057 GB, free: 11.5 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007186/14.88, allocations: 1.419 MB / 4.059 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.669e-05/14.88, allocations: 6.438 kB / 4.059 GB, free: 11.01 MB / 0.9948 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.01629/14.9, allocations: 3.549 MB / 4.062 GB, free: 9.066 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002432/14.9, allocations: 10.29 MB / 4.072 GB, free: 14.03 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001173/14.9, allocations: 20 kB / 4.072 GB, free: 14.01 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001625/14.91, allocations: 373.9 kB / 4.073 GB, free: 13.67 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004109/14.91, allocations: 0.5152 MB / 4.073 GB, free: 13.22 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003924/14.91, allocations: 2.842 MB / 4.076 GB, free: 10.36 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009117/14.92, allocations: 0.5016 MB / 4.076 GB, free: 9.953 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008038/14.92, allocations: 135.3 kB / 4.077 GB, free: 9.832 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/14.92, allocations: 8 kB / 4.077 GB, free: 9.824 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01359/14.94, allocations: 2.829 MB / 4.079 GB, free: 7.434 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.178e-05/14.94, allocations: 25.78 kB / 4.079 GB, free: 7.41 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002135/14.94, allocations: 388.5 kB / 4.08 GB, free: 7.09 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004214/14.94, allocations: 0.513 MB / 4.08 GB, free: 6.641 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01494/14.96, allocations: 7.311 MB / 4.087 GB, free: 15.27 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008677/14.97, allocations: 473.3 kB / 4.088 GB, free: 14.91 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006949/14.97, allocations: 129.2 kB / 4.088 GB, free: 14.79 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (291): * Single equations (assignments): 287 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 14,1 11,1 14,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0009261/14.97, allocations: 184.9 kB / 4.088 GB, free: 14.6 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002212/14.97, allocations: 0.4985 MB / 4.089 GB, free: 14.1 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02502/15, allocations: 4.155 MB / 4.093 GB, free: 10.65 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002178/15, allocations: 38.89 kB / 4.093 GB, free: 10.62 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-05/15, allocations: 0 / 4.093 GB, free: 10.62 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01815/15.01, allocations: 2.743 MB / 4.095 GB, free: 8.246 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03096/15.05, allocations: 8.126 MB / 4.103 GB, free: 0.6836 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-05/15.05, allocations: 4 kB / 4.103 GB, free: 0.6797 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003437/15.05, allocations: 396.1 kB / 4.104 GB, free: 300 kB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000883/15.05, allocations: 219.9 kB / 4.104 GB, free: 72 kB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002815/15.05, allocations: 39.91 kB / 4.104 GB, free: 32 kB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5678/15.62, allocations: 2.521 MB / 4.106 GB, free: 144.3 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/15.62, allocations: 14.91 kB / 4.106 GB, free: 144.3 MB / 1.026 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01559/15.63, allocations: 4.839 MB / 4.111 GB, free: 143.9 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004493/15.64, allocations: 0.9521 MB / 4.112 GB, free: 143.8 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002003/15.64, allocations: 11.09 kB / 4.112 GB, free: 143.8 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00757/15.65, allocations: 397.1 kB / 4.113 GB, free: 143.8 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005498/15.65, allocations: 134.9 kB / 4.113 GB, free: 143.8 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004089/15.65, allocations: 111.6 kB / 4.113 GB, free: 143.8 MB / 1.026 GB Notification: Performance of sort global known variables: time 0.006779/15.66, allocations: 2.433 MB / 4.115 GB, free: 143.6 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.02005/15.68, allocations: 3.411 MB / 4.118 GB, free: 143.4 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.008455/15.68, allocations: 3.435 MB / 4.122 GB, free: 142.2 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.01202/15.7, allocations: 4.252 MB / 4.126 GB, free: 141.7 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/15.7, allocations: 3.844 kB / 4.126 GB, free: 141.7 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.003598/15.7, allocations: 1.248 MB / 4.127 GB, free: 141.7 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02411/15.72, allocations: 2.525 MB / 4.13 GB, free: 141.7 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02519/15.75, allocations: 7.298 MB / 4.137 GB, free: 139.9 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007162/15.76, allocations: 3.454 MB / 4.14 GB, free: 139.1 MB / 1.026 GB Notification: Performance of SimCode: time 1.553e-06/15.76, allocations: 0 / 4.14 GB, free: 139.1 MB / 1.026 GB Notification: Performance of Templates: time 0.3237/16.08, allocations: 122.5 MB / 4.26 GB, free: 131.9 MB / 1.026 GB