Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation.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.ConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Interfaces.Examples.ConservationEquation") [: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.134/2.134, allocations: 253.1 MB / 260.4 MB, free: 7.547 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.001654/0.001653, allocations: 181.2 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.787/1.787, allocations: 205.4 MB / 0.5704 GB, free: 15.12 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.001333/0.001333, allocations: 83.39 kB / 0.6746 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.697e-06/8.786e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2305, allocations: 106.3 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9341/1.165, allocations: 381.7 MB / 1.261 GB, free: 4.898 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/1.165, allocations: 81.45 kB / 1.261 GB, free: 4.859 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.177/2.342, allocations: 246.4 MB / 1.501 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.726e-05/2.342, allocations: 16 kB / 1.501 GB, free: 116.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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.002621/2.345, allocations: 0.9167 MB / 1.502 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/2.345, allocations: 12.03 kB / 1.502 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002382/2.347, allocations: 187.1 kB / 1.503 GB, free: 115.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05296/2.4, allocations: 11.47 MB / 1.514 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006224/2.401, allocations: 84.72 kB / 1.514 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/2.401, allocations: 24 kB / 1.514 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009014/2.402, allocations: 309.3 kB / 1.514 GB, free: 103.5 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009485/2.403, allocations: 400.5 kB / 1.515 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/2.403, allocations: 7.938 kB / 1.515 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.274e-05/2.403, allocations: 0 / 1.515 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.008e-05/2.403, allocations: 8 kB / 1.515 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004384/2.407, allocations: 2.227 MB / 1.517 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007298/2.408, allocations: 263 kB / 1.517 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003889/2.409, allocations: 177.8 kB / 1.517 GB, free: 100.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003227/2.409, allocations: 340.6 kB / 1.517 GB, free: 99.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004769/2.409, allocations: 238.7 kB / 1.518 GB, free: 99.55 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 3.256e-06/2.409, allocations: 0 / 1.518 GB, free: 99.55 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.00162/2.411, allocations: 453.9 kB / 1.518 GB, free: 99.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/2.411, allocations: 85.11 kB / 1.518 GB, free: 99 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005874/2.412, allocations: 369.3 kB / 1.519 GB, free: 98.63 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.988e-05/2.412, allocations: 25.7 kB / 1.519 GB, free: 98.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/2.412, allocations: 212.2 kB / 1.519 GB, free: 98.39 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/2.412, allocations: 102.5 kB / 1.519 GB, free: 98.29 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/2.412, allocations: 0 / 1.519 GB, free: 98.29 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001005/2.412, allocations: 358.8 kB / 1.519 GB, free: 97.93 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/2.413, allocations: 131.7 kB / 1.519 GB, free: 97.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/2.413, allocations: 219.8 kB / 1.52 GB, free: 97.54 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006046/2.414, allocations: 167.7 kB / 1.52 GB, free: 97.38 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/2.414, allocations: 0 / 1.52 GB, free: 97.38 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001484/2.415, allocations: 461.7 kB / 1.52 GB, free: 96.92 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/2.415, allocations: 0.6201 MB / 1.521 GB, free: 96.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/2.415, allocations: 3.984 kB / 1.521 GB, free: 96.25 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/2.416, allocations: 52.83 kB / 1.521 GB, free: 96.19 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007028/2.416, allocations: 83.89 kB / 1.521 GB, free: 96.11 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005853/2.417, allocations: 0.6108 MB / 1.522 GB, free: 95.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001049/2.418, allocations: 75.69 kB / 1.522 GB, free: 95.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.855e-05/2.418, allocations: 16.06 kB / 1.522 GB, free: 95.38 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/2.418, allocations: 6.188 kB / 1.522 GB, free: 95.38 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001245/2.419, allocations: 380.3 kB / 1.522 GB, free: 95 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/2.419, allocations: 4 kB / 1.522 GB, free: 95 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002561/2.42, allocations: 48.89 kB / 1.522 GB, free: 94.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006756/2.42, allocations: 84.08 kB / 1.522 GB, free: 94.87 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001662/2.422, allocations: 1.501 MB / 1.524 GB, free: 93.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/2.423, allocations: 75.84 kB / 1.524 GB, free: 93.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.239e-05/2.423, allocations: 19.91 kB / 1.524 GB, free: 93.16 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002363/2.423, allocations: 146.7 kB / 1.524 GB, free: 93 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/2.424, allocations: 59.28 kB / 1.524 GB, free: 92.94 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/2.425, allocations: 0.4913 MB / 1.524 GB, free: 92.44 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/2.425, allocations: 7.984 kB / 1.524 GB, free: 92.43 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/2.425, allocations: 0 / 1.524 GB, free: 92.43 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00119/2.426, allocations: 0.6404 MB / 1.525 GB, free: 91.72 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/2.429, allocations: 1.083 MB / 1.526 GB, free: 90.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/2.429, allocations: 0 / 1.526 GB, free: 90.58 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006649/2.43, allocations: 79.98 kB / 1.526 GB, free: 90.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001718/2.43, allocations: 36.78 kB / 1.526 GB, free: 90.46 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.006e-05/2.43, allocations: 15.98 kB / 1.526 GB, free: 90.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003874/2.431, allocations: 0.5757 MB / 1.527 GB, free: 89.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/2.431, allocations: 3.938 kB / 1.527 GB, free: 89.84 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00181/2.432, allocations: 0.8083 MB / 1.527 GB, free: 88.98 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004236/2.433, allocations: 188.3 kB / 1.528 GB, free: 88.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/2.433, allocations: 4 kB / 1.528 GB, free: 88.78 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/2.434, allocations: 64 kB / 1.528 GB, free: 88.71 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.18e-05/2.434, allocations: 23.88 kB / 1.528 GB, free: 88.69 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.914e-05/2.434, allocations: 23.98 kB / 1.528 GB, free: 88.67 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004485/2.435, allocations: 282.9 kB / 1.528 GB, free: 88.39 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001675/2.436, allocations: 363.3 kB / 1.528 GB, free: 88.04 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (dyn.U) * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * 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: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001034/2.437, allocations: 432 kB / 1.529 GB, free: 87.62 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001808/2.439, allocations: 0.7035 MB / 1.53 GB, free: 86.89 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/2.439, allocations: 0.75 kB / 1.53 GB, free: 86.89 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005266/2.44, allocations: 254 kB / 1.53 GB, free: 86.64 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002246/2.442, allocations: 219.4 kB / 1.53 GB, free: 86.43 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002546/2.445, allocations: 0.7559 MB / 1.531 GB, free: 85.64 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006177/2.445, allocations: 0.9485 MB / 1.532 GB, free: 84.67 MB / 0.8698 GB Notification: Performance of SimCode: time 1.352e-06/2.445, allocations: 0 / 1.532 GB, free: 84.67 MB / 0.8698 GB Notification: Performance of Templates: time 0.03282/2.478, allocations: 12.75 MB / 1.544 GB, free: 72 MB / 0.8698 GB