Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,fileNamePrefix="Buildings_7_0_0_Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.1/package.mo): time 2.321/2.321, allocations: 248.6 MB / 255.9 MB, free: 7.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002441/0.00244, allocations: 183.7 kB / 315.1 MB, free: 4.277 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.976/1.976, allocations: 205.1 MB / 0.5658 GB, free: 384 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001378/0.001378, allocations: 98.45 kB / 0.67 GB, free: 5.586 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.515/0.5164, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.7545, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.873/6.628, allocations: 2.193 GB / 3.076 GB, free: 175.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/6.628, allocations: 81.58 kB / 3.076 GB, free: 175.3 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 1.992/8.62, allocations: 459.1 MB / 3.525 GB, free: 64.21 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/8.62, allocations: 8 kB / 3.525 GB, free: 64.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003696/8.624, allocations: 338.3 kB / 3.525 GB, free: 63.87 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002641/8.627, allocations: 0.7857 MB / 3.526 GB, free: 63.04 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.633e-05/8.627, allocations: 23.91 kB / 3.526 GB, free: 63.02 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/8.627, allocations: 48 kB / 3.526 GB, free: 62.97 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001826/8.629, allocations: 0.5428 MB / 3.527 GB, free: 62.43 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/8.63, allocations: 0.6709 MB / 3.527 GB, free: 61.73 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.874e-05/8.631, allocations: 0 / 3.527 GB, free: 61.73 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/8.631, allocations: 4 kB / 3.527 GB, free: 61.72 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.441e-05/8.631, allocations: 21.31 kB / 3.527 GB, free: 61.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006504/8.637, allocations: 3.344 MB / 3.53 GB, free: 58.09 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/8.639, allocations: 481.6 kB / 3.531 GB, free: 57.61 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005387/8.639, allocations: 238.5 kB / 3.531 GB, free: 57.38 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007809/8.64, allocations: 0.677 MB / 3.532 GB, free: 56.55 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/8.64, allocations: 39 kB / 3.532 GB, free: 56.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=51): time 3.576e-06/8.64, allocations: 0 / 3.532 GB, free: 56.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=51): time 0.00223/8.642, allocations: 0.5216 MB / 3.532 GB, free: 55.98 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/8.643, allocations: 55.84 kB / 3.532 GB, free: 55.91 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009592/8.644, allocations: 475.5 kB / 3.533 GB, free: 55.44 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001679/8.644, allocations: 25.7 kB / 3.533 GB, free: 55.41 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/8.644, allocations: 288.1 kB / 3.533 GB, free: 55.12 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/8.644, allocations: 177.2 kB / 3.533 GB, free: 54.95 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/8.644, allocations: 0 / 3.533 GB, free: 54.95 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001299/8.644, allocations: 374.8 kB / 3.534 GB, free: 54.57 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/8.645, allocations: 173 kB / 3.534 GB, free: 54.41 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004944/8.645, allocations: 252.4 kB / 3.534 GB, free: 54.13 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000558/8.646, allocations: 221.3 kB / 3.534 GB, free: 53.91 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/8.646, allocations: 0 / 3.534 GB, free: 53.91 MB / 0.8698 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00139/8.647, allocations: 0.527 MB / 3.535 GB, free: 53.38 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.117e-05/8.647, allocations: 8 kB / 3.535 GB, free: 53.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/8.647, allocations: 0 / 3.535 GB, free: 53.38 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.558e-05/8.648, allocations: 4 kB / 3.535 GB, free: 53.37 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/8.649, allocations: 124 kB / 3.535 GB, free: 53.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/8.649, allocations: 4 kB / 3.535 GB, free: 53.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/8.65, allocations: 67.55 kB / 3.535 GB, free: 53.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.078e-05/8.65, allocations: 16 kB / 3.535 GB, free: 53.16 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001932/8.651, allocations: 116.8 kB / 3.535 GB, free: 53.04 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000187/8.651, allocations: 75.06 kB / 3.535 GB, free: 52.97 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/8.652, allocations: 0.5099 MB / 3.536 GB, free: 52.45 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/8.652, allocations: 4 kB / 3.536 GB, free: 52.44 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/8.652, allocations: 0 / 3.536 GB, free: 52.44 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001121/8.653, allocations: 0.7317 MB / 3.536 GB, free: 51.62 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003465/8.657, allocations: 1.362 MB / 3.538 GB, free: 50.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/8.657, allocations: 96 / 3.538 GB, free: 50.21 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001448/8.658, allocations: 151.8 kB / 3.538 GB, free: 50.06 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.306e-05/8.658, allocations: 4 kB / 3.538 GB, free: 50.05 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.328e-05/8.659, allocations: 11.98 kB / 3.538 GB, free: 50.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/8.659, allocations: 4 kB / 3.538 GB, free: 50.04 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.391e-06/8.659, allocations: 11.84 kB / 3.538 GB, free: 50.03 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001936/8.661, allocations: 0.9087 MB / 3.539 GB, free: 49.07 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00276/8.663, allocations: 1.639 MB / 3.54 GB, free: 47.38 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006911/8.664, allocations: 212.1 kB / 3.541 GB, free: 47.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/8.664, allocations: 8 kB / 3.541 GB, free: 47.15 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/8.666, allocations: 55.8 kB / 3.541 GB, free: 47.09 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/8.666, allocations: 28.44 kB / 3.541 GB, free: 47.07 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.08e-05/8.666, allocations: 23.97 kB / 3.541 GB, free: 47.04 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006699/8.667, allocations: 371.2 kB / 3.541 GB, free: 46.69 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002802/8.669, allocations: 495.1 kB / 3.542 GB, free: 46.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.U,volA.dynBal.m,volA.dynBal.mXi[1],volB.dynBal.U,volB.dynBal.m,volB.dynBal.mXi[1],cra.mExc) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00228/8.672, allocations: 1.375 MB / 3.543 GB, free: 44.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001217/8.673, allocations: 443.5 kB / 3.543 GB, free: 44.36 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/8.673, allocations: 0 / 3.543 GB, free: 44.36 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004994/8.674, allocations: 233.5 kB / 3.544 GB, free: 44.13 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003835/8.677, allocations: 425 kB / 3.544 GB, free: 43.73 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004009/8.681, allocations: 1.457 MB / 3.545 GB, free: 42.24 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00106/8.683, allocations: 1.133 MB / 3.546 GB, free: 41.08 MB / 0.8698 GB Notification: Performance of SimCode: time 1.503e-06/8.683, allocations: 0 / 3.546 GB, free: 41.08 MB / 0.8698 GB