Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass.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.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.CenterOfGlass") [: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.139/2.139, allocations: 253.1 MB / 260.4 MB, free: 7.559 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.001572/0.001572, allocations: 193.2 kB / 319.6 MB, free: 3.305 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.794/1.794, allocations: 205.4 MB / 0.5704 GB, free: 14.96 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.001346/0.001346, allocations: 90.03 kB / 0.6746 GB, free: 4.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.145e-05/1.161e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2229, allocations: 106.2 MB / 0.8881 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6996/0.9226, allocations: 147.7 MB / 1.032 GB, free: 6.691 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003783/0.923, allocations: 87.81 kB / 1.032 GB, free: 6.645 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.1562/1.079, allocations: 33.08 MB / 1.065 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001167/1.079, allocations: 24 kB / 1.065 GB, free: 11.46 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.004737/1.084, allocations: 1.373 MB / 1.066 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/1.084, allocations: 8.031 kB / 1.066 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06586/1.15, allocations: 3.833 MB / 1.07 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005362/1.156, allocations: 1.471 MB / 1.071 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.907e-05/1.156, allocations: 28 kB / 1.071 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007547/1.156, allocations: 44 kB / 1.071 GB, free: 5.07 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00524/1.162, allocations: 1.861 MB / 1.073 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005/1.167, allocations: 1.863 MB / 1.075 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/1.167, allocations: 4 kB / 1.075 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002524/1.167, allocations: 0 / 1.075 GB, free: 2.523 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.185e-05/1.167, allocations: 19.94 kB / 1.075 GB, free: 2.504 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02233/1.19, allocations: 8.151 MB / 1.083 GB, free: 11.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004648/1.194, allocations: 1.741 MB / 1.085 GB, free: 10.34 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00369/1.198, allocations: 1.502 MB / 1.086 GB, free: 9.355 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002219/1.198, allocations: 51.3 kB / 1.086 GB, free: 9.316 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/1.198, allocations: 50.09 kB / 1.086 GB, free: 9.266 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.637e-06/1.198, allocations: 0 / 1.086 GB, free: 9.266 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.02364/1.222, allocations: 5.465 MB / 1.092 GB, free: 5.215 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/1.222, allocations: 56.75 kB / 1.092 GB, free: 5.148 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002863/1.225, allocations: 1.052 MB / 1.093 GB, free: 4.348 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006268/1.226, allocations: 25.7 kB / 1.093 GB, free: 4.316 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004931/1.226, allocations: 331.7 kB / 1.093 GB, free: 4.031 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005127/1.227, allocations: 227.5 kB / 1.093 GB, free: 3.832 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003648/1.227, allocations: 0 / 1.093 GB, free: 3.832 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000158/1.227, allocations: 340.6 kB / 1.094 GB, free: 3.504 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005686/1.233, allocations: 2.167 MB / 1.096 GB, free: 1.352 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006114/1.239, allocations: 2.336 MB / 1.098 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02426/1.263, allocations: 4.093 MB / 1.102 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/1.263, allocations: 0 / 1.102 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.036/1.299, allocations: 7.987 MB / 1.11 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.877e-05/1.3, allocations: 91.62 kB / 1.11 GB, free: 2.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03574/1.335, allocations: 7.029 MB / 1.117 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06251/1.398, allocations: 5.003 MB / 1.122 GB, free: 6.727 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0121/1.41, allocations: 0.6944 MB / 1.122 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01968/1.43, allocations: 5.222 MB / 1.127 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01664/1.446, allocations: 0.8423 MB / 1.128 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006725/1.447, allocations: 63.86 kB / 1.128 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/1.447, allocations: 4 kB / 1.128 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03643/1.484, allocations: 7.185 MB / 1.135 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03426/1.518, allocations: 6.63 MB / 1.142 GB, free: 2.035 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006672/1.525, allocations: 0.9962 MB / 1.143 GB, free: 1.031 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01603/1.541, allocations: 0.9168 MB / 1.144 GB, free: 116 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02085/1.562, allocations: 6.722 MB / 1.15 GB, free: 9.277 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01682/1.579, allocations: 0.8384 MB / 1.151 GB, free: 8.438 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006997/1.579, allocations: 63.92 kB / 1.151 GB, free: 8.375 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * 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 {11 43} Notification: Performance of prepare postOptimizeDAE: time 0.0006434/1.58, allocations: 105 kB / 1.151 GB, free: 8.266 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005387/1.581, allocations: 102.7 kB / 1.151 GB, free: 8.164 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02101/1.602, allocations: 5.047 MB / 1.156 GB, free: 3.102 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.74e-05/1.602, allocations: 8 kB / 1.156 GB, free: 3.094 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/1.602, allocations: 3.906 kB / 1.156 GB, free: 3.09 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.209e-05/1.602, allocations: 3.984 kB / 1.156 GB, free: 3.086 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02242/1.624, allocations: 7.023 MB / 1.163 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.1022/1.726, allocations: 7.644 MB / 1.17 GB, free: 4.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006203/1.733, allocations: 363.5 kB / 1.171 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0976/1.83, allocations: 6.757 MB / 1.177 GB, free: 13.06 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004034/1.831, allocations: 27.95 kB / 1.177 GB, free: 13.03 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01468/1.845, allocations: 4.32 MB / 1.182 GB, free: 8.676 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/1.845, allocations: 3.984 kB / 1.182 GB, free: 8.672 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1033/1.949, allocations: 7.86 MB / 1.189 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002734/1.952, allocations: 0.5501 MB / 1.19 GB, free: 204 kB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007486/1.952, allocations: 4 kB / 1.19 GB, free: 200 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01459/1.967, allocations: 0.5149 MB / 1.19 GB, free: 15.68 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003544/1.967, allocations: 40.59 kB / 1.19 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004342/1.968, allocations: 47.95 kB / 1.19 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.002745/1.971, allocations: 0.801 MB / 1.191 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.005607/1.976, allocations: 0.7564 MB / 1.192 GB, free: 14.02 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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 {11 51} Notification: Performance of Backend phase and start with SimCode phase: time 0.00121/1.977, allocations: 330.6 kB / 1.192 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.02644/2.004, allocations: 6.051 MB / 1.198 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/2.004, allocations: 8 kB / 1.198 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.007667/2.012, allocations: 1.547 MB / 1.2 GB, free: 6.07 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/2.014, allocations: 208.5 kB / 1.2 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/2.03, allocations: 2.925 MB / 1.203 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004265/2.034, allocations: 1.459 MB / 1.204 GB, free: 1.41 MB / 0.8073 GB Notification: Performance of SimCode: time 1.573e-06/2.034, allocations: 0 / 1.204 GB, free: 1.41 MB / 0.8073 GB Notification: Performance of Templates: time 0.4984/2.532, allocations: 84.38 MB / 1.287 GB, free: 381.2 MB / 0.8542 GB