Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular.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.SolarCollectors.Examples.Tubular,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.SolarCollectors.Examples.Tubular") [: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.241/2.241, allocations: 253.1 MB / 260.4 MB, free: 7.562 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.001643/0.001643, allocations: 184.5 kB / 319.6 MB, free: 3.312 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.906/1.906, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001292/0.001291, allocations: 85.77 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.946e-06/9.057e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2208, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.472/6.693, allocations: 2.475 GB / 3.363 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002948/6.693, allocations: 89.02 kB / 3.363 GB, free: 228.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.658/11.35, allocations: 0.9047 GB / 4.267 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.001552/11.35, allocations: 119.6 kB / 4.268 GB, free: 124.7 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 967 * Number of variables: 967 Notification: Performance of Generate backend data structure: time 0.02545/11.38, allocations: 4.31 MB / 4.272 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.75e-05/11.38, allocations: 10.53 kB / 4.272 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02257/11.4, allocations: 1.355 MB / 4.273 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03469/11.44, allocations: 5.444 MB / 4.278 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003956/11.44, allocations: 120.2 kB / 4.279 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002171/11.44, allocations: 221.2 kB / 4.279 GB, free: 122.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02056/11.46, allocations: 4.428 MB / 4.283 GB, free: 122.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02074/11.48, allocations: 4.537 MB / 4.287 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001796/11.48, allocations: 10.88 kB / 4.287 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009816/11.48, allocations: 3.969 kB / 4.287 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002506/11.48, allocations: 179.3 kB / 4.288 GB, free: 121.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05656/11.54, allocations: 19.22 MB / 4.306 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008512/11.55, allocations: 2.99 MB / 4.309 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004547/11.55, allocations: 1.643 MB / 4.311 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003036/11.55, allocations: 1.875 MB / 4.313 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00538/11.56, allocations: 1.762 MB / 4.315 GB, free: 113 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=267): time 6.041e-06/11.56, allocations: 0 / 4.315 GB, free: 113 MB / 0.8698 GB Notification: Performance of matching and sorting (n=267): time 0.0198/11.58, allocations: 3.705 MB / 4.318 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/11.58, allocations: 290.4 kB / 4.318 GB, free: 112.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008055/11.59, allocations: 3.029 MB / 4.321 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0009375/11.59, allocations: 29.64 kB / 4.321 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002445/11.59, allocations: 1.385 MB / 4.323 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.002258/11.59, allocations: 0.8761 MB / 4.324 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004203/11.59, allocations: 2.938 kB / 4.324 GB, free: 110.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002801/11.59, allocations: 420.7 kB / 4.324 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003921/11.6, allocations: 1.326 MB / 4.325 GB, free: 110.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004852/11.6, allocations: 1.996 MB / 4.327 GB, free: 109.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02467/11.63, allocations: 2.878 MB / 4.33 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.079e-05/11.63, allocations: 3.906 kB / 4.33 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=372) (initialization): time 0.04015/11.67, allocations: 4.964 MB / 4.335 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00198/11.67, allocations: 7.283 MB / 4.342 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.555e-05/11.67, allocations: 15.25 kB / 4.342 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/11.67, allocations: 115.5 kB / 4.342 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01121/11.68, allocations: 0.8158 MB / 4.343 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004319/11.69, allocations: 2.103 MB / 4.345 GB, free: 100 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01076/11.7, allocations: 428.3 kB / 4.345 GB, free: 99.88 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001249/11.7, allocations: 146.5 kB / 4.346 GB, free: 99.88 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/11.7, allocations: 5.969 kB / 4.346 GB, free: 99.88 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03826/11.74, allocations: 4.589 MB / 4.35 GB, free: 99.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.434e-05/11.74, allocations: 16.91 kB / 4.35 GB, free: 99.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/11.74, allocations: 111.9 kB / 4.35 GB, free: 99.78 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008401/11.75, allocations: 0.8129 MB / 4.351 GB, free: 99.78 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002872/11.75, allocations: 1.506 MB / 4.352 GB, free: 98.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007996/11.76, allocations: 393.5 kB / 4.353 GB, free: 98.43 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001107/11.76, allocations: 145.2 kB / 4.353 GB, free: 98.43 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (370): * Single equations (assignments): 368 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001217/11.76, allocations: 177.8 kB / 4.353 GB, free: 98.32 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001625/11.76, allocations: 360.8 kB / 4.353 GB, free: 98.13 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02559/11.79, allocations: 4.536 MB / 4.358 GB, free: 97.93 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-05/11.79, allocations: 30.34 kB / 4.358 GB, free: 97.93 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/11.79, allocations: 0 / 4.358 GB, free: 97.93 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01889/11.81, allocations: 3.648 MB / 4.361 GB, free: 97.59 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03533/11.84, allocations: 8.648 MB / 4.37 GB, free: 96.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/11.84, allocations: 3.062 kB / 4.37 GB, free: 96.99 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007464/11.85, allocations: 0.6372 MB / 4.371 GB, free: 96.99 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/11.85, allocations: 99.28 kB / 4.371 GB, free: 96.98 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008295/11.85, allocations: 60.83 kB / 4.371 GB, free: 96.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002993/11.85, allocations: 2.097 MB / 4.373 GB, free: 95.17 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/11.85, allocations: 3.875 kB / 4.373 GB, free: 95.17 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02482/11.88, allocations: 6.033 MB / 4.379 GB, free: 94.58 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004219/11.88, allocations: 1.031 MB / 4.38 GB, free: 94.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001766/11.89, allocations: 11.12 kB / 4.38 GB, free: 94.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007802/11.89, allocations: 292.2 kB / 4.38 GB, free: 94.25 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008769/11.89, allocations: 152.4 kB / 4.38 GB, free: 94.25 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006016/11.9, allocations: 119.1 kB / 4.38 GB, free: 94.25 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.006023/11.9, allocations: 2.349 MB / 4.382 GB, free: 94.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.01313/11.91, allocations: 2.314 MB / 4.385 GB, free: 93.67 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 11 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004252/11.92, allocations: 1.606 MB / 4.386 GB, free: 93.39 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01642/11.94, allocations: 5.479 MB / 4.392 GB, free: 93.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/11.94, allocations: 6.844 kB / 4.392 GB, free: 93.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004956/11.94, allocations: 1.722 MB / 4.393 GB, free: 92.99 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01587/11.96, allocations: 1.67 MB / 4.395 GB, free: 92.96 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03031/11.99, allocations: 7.847 MB / 4.403 GB, free: 91.54 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00953/12, allocations: 3.564 MB / 4.406 GB, free: 90.77 MB / 0.8698 GB Notification: Performance of SimCode: time 1.643e-06/12, allocations: 0 / 4.406 GB, free: 90.77 MB / 0.8698 GB Notification: Performance of Templates: time 0.2913/12.29, allocations: 101.5 MB / 4.505 GB, free: 62 MB / 0.8698 GB