Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.OneRoom.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.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Airflow.Multizone.Examples.OneRoom") [: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.133/2.133, allocations: 253.1 MB / 260.4 MB, free: 7.492 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.001771/0.001771, allocations: 188.7 kB / 319.6 MB, free: 3.316 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.91/1.91, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001345/0.001345, allocations: 96.95 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.092e-05/1.112e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2259, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.74/5.966, allocations: 2.195 GB / 3.083 GB, free: 167 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000395/5.967, allocations: 82.33 kB / 3.083 GB, free: 167 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.656/9.622, allocations: 0.7792 GB / 3.862 GB, free: 45.24 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002048/9.623, allocations: 28 kB / 3.862 GB, free: 45.21 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.01242/9.635, allocations: 1.602 MB / 3.864 GB, free: 43.56 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/9.635, allocations: 8.031 kB / 3.864 GB, free: 43.55 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009265/9.644, allocations: 459.4 kB / 3.865 GB, free: 43.11 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00524/9.65, allocations: 0.9103 MB / 3.865 GB, free: 42.15 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/9.65, allocations: 32 kB / 3.865 GB, free: 42.12 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006229/9.651, allocations: 60 kB / 3.865 GB, free: 42.06 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005097/9.656, allocations: 0.941 MB / 3.866 GB, free: 41.12 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005802/9.662, allocations: 1.083 MB / 3.867 GB, free: 40 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.718e-05/9.662, allocations: 7.844 kB / 3.867 GB, free: 39.99 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002942/9.662, allocations: 0 / 3.867 GB, free: 39.99 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001061/9.662, allocations: 49.98 kB / 3.868 GB, free: 39.94 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01264/9.675, allocations: 5.077 MB / 3.872 GB, free: 34.5 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/9.676, allocations: 0.524 MB / 3.873 GB, free: 33.98 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001609/9.678, allocations: 0.6048 MB / 3.874 GB, free: 33.37 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007365/9.679, allocations: 0.6733 MB / 3.874 GB, free: 32.54 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/9.679, allocations: 51.16 kB / 3.874 GB, free: 32.48 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=82): time 4.418e-06/9.679, allocations: 0 / 3.874 GB, free: 32.48 MB / 0.8855 GB Notification: Performance of matching and sorting (n=83): time 0.009314/9.688, allocations: 2.225 MB / 3.876 GB, free: 30.2 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/9.688, allocations: 60.19 kB / 3.877 GB, free: 30.13 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/9.689, allocations: 495.7 kB / 3.877 GB, free: 29.64 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001686/9.689, allocations: 25.7 kB / 3.877 GB, free: 29.61 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/9.69, allocations: 360 kB / 3.877 GB, free: 29.25 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003491/9.69, allocations: 287.7 kB / 3.878 GB, free: 28.96 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-05/9.69, allocations: 0 / 3.878 GB, free: 28.96 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001443/9.69, allocations: 390.7 kB / 3.878 GB, free: 28.57 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008436/9.691, allocations: 353.5 kB / 3.878 GB, free: 28.23 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009015/9.692, allocations: 471.8 kB / 3.879 GB, free: 27.72 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/9.693, allocations: 456.3 kB / 3.879 GB, free: 27.28 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/9.693, allocations: 0 / 3.879 GB, free: 27.28 MB / 0.8855 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002976/9.696, allocations: 1.01 MB / 3.88 GB, free: 26.26 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/9.697, allocations: 8 kB / 3.88 GB, free: 26.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/9.697, allocations: 3.938 kB / 3.88 GB, free: 26.25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000296/9.697, allocations: 61.08 kB / 3.88 GB, free: 26.18 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/9.699, allocations: 159.8 kB / 3.88 GB, free: 26.03 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001405/9.7, allocations: 0.6225 MB / 3.881 GB, free: 25.38 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002359/9.702, allocations: 75.83 kB / 3.881 GB, free: 25.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/9.703, allocations: 32.05 kB / 3.881 GB, free: 25.27 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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: 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.000292/9.703, allocations: 116.5 kB / 3.881 GB, free: 25.16 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/9.703, allocations: 86.97 kB / 3.881 GB, free: 25.07 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003044/9.706, allocations: 0.9841 MB / 3.882 GB, free: 24.07 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/9.706, allocations: 11.94 kB / 3.882 GB, free: 24.06 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/9.706, allocations: 7.906 kB / 3.882 GB, free: 24.05 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001994/9.708, allocations: 0.9715 MB / 3.883 GB, free: 23.04 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005535/9.714, allocations: 2.112 MB / 3.885 GB, free: 20.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/9.714, allocations: 128 / 3.885 GB, free: 20.88 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00212/9.716, allocations: 203.8 kB / 3.886 GB, free: 20.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.497e-05/9.716, allocations: 7.984 kB / 3.886 GB, free: 20.68 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/9.716, allocations: 15.98 kB / 3.886 GB, free: 20.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/9.716, allocations: 0 / 3.886 GB, free: 20.66 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/9.716, allocations: 4 kB / 3.886 GB, free: 20.66 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003613/9.72, allocations: 1.565 MB / 3.887 GB, free: 19.07 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/9.721, allocations: 268 kB / 3.887 GB, free: 18.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002752/9.721, allocations: 4 kB / 3.887 GB, free: 18.79 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001835/9.723, allocations: 79.77 kB / 3.887 GB, free: 18.71 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/9.723, allocations: 40.66 kB / 3.887 GB, free: 18.67 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/9.723, allocations: 31.97 kB / 3.887 GB, free: 18.64 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0007346/9.724, allocations: 387.2 kB / 3.888 GB, free: 18.27 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002149/9.726, allocations: 451.9 kB / 3.888 GB, free: 17.82 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.U,volEas.dynBal.m,volEas.dynBal.mXi[1],oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.U,volOut.dynBal.m,volOut.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 83 * 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.003557/9.73, allocations: 2.241 MB / 3.89 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002371/9.732, allocations: 0.8645 MB / 3.891 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/9.732, allocations: 4.125 kB / 3.891 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009919/9.733, allocations: 454.8 kB / 3.892 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004814/9.738, allocations: 0.4943 MB / 3.892 GB, free: 13.67 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00589/9.744, allocations: 1.918 MB / 3.894 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/9.746, allocations: 1.256 MB / 3.895 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of SimCode: time 1.573e-06/9.746, allocations: 0 / 3.895 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of Templates: time 0.5695/10.32, allocations: 30.89 MB / 3.926 GB, free: 138.3 MB / 0.9011 GB