Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox.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.Actuators.Dampers.Examples.MixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBox") [: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.352/2.352, allocations: 253.1 MB / 260.4 MB, free: 7.555 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.001587/0.001588, allocations: 173.2 kB / 319.6 MB, free: 3.324 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.884/1.884, allocations: 205.4 MB / 0.5704 GB, free: 15.06 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.001529/0.001528, allocations: 90.39 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.287e-05/1.297e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2362, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.725/5.962, allocations: 2.202 GB / 3.09 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/5.962, allocations: 92.62 kB / 3.09 GB, free: 158.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.873/8.835, allocations: 0.5856 GB / 3.675 GB, free: 185.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001411/8.835, allocations: 28.42 kB / 3.675 GB, free: 185.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: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.004696/8.84, allocations: 1.357 MB / 3.677 GB, free: 185 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/8.84, allocations: 11.03 kB / 3.677 GB, free: 185 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006155/8.846, allocations: 388.3 kB / 3.677 GB, free: 184.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004245/8.851, allocations: 1.102 MB / 3.678 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/8.851, allocations: 14.72 kB / 3.678 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001972/8.851, allocations: 40.72 kB / 3.678 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001584/8.852, allocations: 0.5313 MB / 3.679 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/8.854, allocations: 0.5828 MB / 3.679 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/8.854, allocations: 0 / 3.679 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.453e-05/8.854, allocations: 0 / 3.679 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/8.854, allocations: 14.88 kB / 3.679 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007842/8.862, allocations: 2.652 MB / 3.682 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/8.863, allocations: 0.4956 MB / 3.682 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007007/8.864, allocations: 306 kB / 3.683 GB, free: 183.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000565/8.865, allocations: 289.4 kB / 3.683 GB, free: 183.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/8.865, allocations: 41.97 kB / 3.683 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=43): time 3.606e-06/8.865, allocations: 2.5 kB / 3.683 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43): time 0.002809/8.868, allocations: 0.6923 MB / 3.684 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.661e-05/8.868, allocations: 132.4 kB / 3.684 GB, free: 183.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002496/8.87, allocations: 0.9732 MB / 3.685 GB, free: 183.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002671/8.87, allocations: 29.58 kB / 3.685 GB, free: 183 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/8.871, allocations: 282.9 kB / 3.685 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001873/8.871, allocations: 137.6 kB / 3.685 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.749e-05/8.871, allocations: 0 / 3.685 GB, free: 182.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.942e-05/8.871, allocations: 325 kB / 3.685 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006384/8.872, allocations: 245 kB / 3.686 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008772/8.873, allocations: 478.4 kB / 3.686 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008821/8.873, allocations: 308 kB / 3.686 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/8.873, allocations: 0 / 3.686 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00232/8.876, allocations: 0.6974 MB / 3.687 GB, free: 182.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.844e-05/8.876, allocations: 93.78 kB / 3.687 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.641e-05/8.876, allocations: 0 / 3.687 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/8.876, allocations: 6.781 kB / 3.687 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/8.877, allocations: 130 kB / 3.687 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/8.877, allocations: 1.781 kB / 3.687 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002764/8.88, allocations: 127.6 kB / 3.687 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001747/8.88, allocations: 32.22 kB / 3.687 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/8.88, allocations: 3.656 kB / 3.687 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001721/8.882, allocations: 0.5507 MB / 3.688 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/8.882, allocations: 10.73 kB / 3.688 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/8.882, allocations: 0 / 3.688 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/8.883, allocations: 131 kB / 3.688 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/8.883, allocations: 3.969 kB / 3.688 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/8.886, allocations: 132.4 kB / 3.688 GB, free: 182.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/8.886, allocations: 32.66 kB / 3.688 GB, free: 182.1 MB / 0.8698 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 (47): * Single equations (assignments): 45 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0002584/8.887, allocations: 117.4 kB / 3.688 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003732/8.887, allocations: 97.78 kB / 3.689 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/8.89, allocations: 0.7424 MB / 3.689 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/8.89, allocations: 10.2 kB / 3.689 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/8.89, allocations: 3.938 kB / 3.689 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/8.89, allocations: 0 / 3.689 GB, free: 181.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00492/8.895, allocations: 1.822 MB / 3.691 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/8.895, allocations: 5.531 kB / 3.691 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001215/8.896, allocations: 116.4 kB / 3.691 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.459e-05/8.896, allocations: 7.469 kB / 3.691 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.989e-05/8.896, allocations: 11.33 kB / 3.691 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.057e-06/8.896, allocations: 7.188 kB / 3.691 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/8.896, allocations: 3.625 kB / 3.691 GB, free: 181.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002794/8.899, allocations: 1.231 MB / 3.692 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009554/8.9, allocations: 292.3 kB / 3.693 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003161/8.9, allocations: 13.53 kB / 3.693 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002124/8.902, allocations: 80.23 kB / 3.693 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001887/8.903, allocations: 39.05 kB / 3.693 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.69e-05/8.903, allocations: 25.59 kB / 3.693 GB, free: 180.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001782/8.904, allocations: 0.7484 MB / 3.694 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002794/8.907, allocations: 0.5541 MB / 3.694 GB, free: 180.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (mixBox.filter.x[1],mixBox.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.003228/8.911, allocations: 1.875 MB / 3.696 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00259/8.913, allocations: 0.9455 MB / 3.697 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/8.913, allocations: 0 / 3.697 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007969/8.914, allocations: 285.2 kB / 3.697 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004181/8.918, allocations: 405.3 kB / 3.697 GB, free: 180.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004851/8.923, allocations: 1.324 MB / 3.699 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/8.925, allocations: 1.186 MB / 3.7 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of SimCode: time 1.402e-06/8.925, allocations: 0 / 3.7 GB, free: 179.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.09619/9.021, allocations: 33.92 MB / 3.733 GB, free: 172.7 MB / 0.8698 GB