Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") [: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.232/2.232, allocations: 253.1 MB / 260.4 MB, free: 7.496 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.001715/0.001715, allocations: 185.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 2.257/2.257, allocations: 205.4 MB / 0.5704 GB, free: 15.08 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.001306/0.001306, allocations: 82.31 kB / 0.6746 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.041e-05/1.052e-05, allocations: 8 kB / 0.7843 GB, free: 10.91 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2538, allocations: 106.3 MB / 0.888 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.003/6.257, allocations: 2.201 GB / 3.09 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/6.257, allocations: 85.69 kB / 3.09 GB, free: 195.7 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.853/9.11, allocations: 0.5873 GB / 3.677 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.678e-05/9.11, allocations: 21.58 kB / 3.677 GB, free: 158.2 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002434/9.113, allocations: 1.031 MB / 3.678 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/9.113, allocations: 11.44 kB / 3.678 GB, free: 157.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001236/9.114, allocations: 183.2 kB / 3.678 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/9.116, allocations: 0.5357 MB / 3.679 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006306/9.116, allocations: 91.89 kB / 3.679 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/9.116, allocations: 40.72 kB / 3.679 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001001/9.117, allocations: 327.9 kB / 3.679 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/9.119, allocations: 0.6323 MB / 3.68 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/9.119, allocations: 10.38 kB / 3.68 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.418e-05/9.119, allocations: 3.812 kB / 3.68 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.052e-05/9.119, allocations: 31.34 kB / 3.68 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004923/9.124, allocations: 4.048 MB / 3.684 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000154/9.124, allocations: 109.5 kB / 3.684 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/9.124, allocations: 68.36 kB / 3.684 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000217/9.124, allocations: 101.9 kB / 3.684 GB, free: 154 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/9.124, allocations: 34.44 kB / 3.684 GB, free: 154 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 2.645e-06/9.124, allocations: 0 / 3.684 GB, free: 154 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0006781/9.125, allocations: 164.2 kB / 3.684 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/9.125, allocations: 128.5 kB / 3.684 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007401/9.126, allocations: 460.9 kB / 3.685 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/9.126, allocations: 33.3 kB / 3.685 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/9.126, allocations: 345.7 kB / 3.685 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/9.126, allocations: 41.97 kB / 3.685 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/9.126, allocations: 0 / 3.685 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001081/9.126, allocations: 357.4 kB / 3.685 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/9.126, allocations: 81.83 kB / 3.686 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/9.127, allocations: 313.7 kB / 3.686 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/9.127, allocations: 137.5 kB / 3.686 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/9.127, allocations: 3.375 kB / 3.686 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008914/9.128, allocations: 381.4 kB / 3.686 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/9.128, allocations: 6.531 kB / 3.686 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/9.128, allocations: 7.688 kB / 3.686 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.448e-05/9.128, allocations: 11.69 kB / 3.686 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006405/9.129, allocations: 94.72 kB / 3.686 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/9.129, allocations: 17.55 kB / 3.686 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/9.13, allocations: 101 kB / 3.687 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.06e-05/9.13, allocations: 18.88 kB / 3.687 GB, free: 152.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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.0001235/9.13, allocations: 125 kB / 3.687 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/9.13, allocations: 60 kB / 3.687 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001673/9.131, allocations: 49.94 kB / 3.687 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/9.131, allocations: 3.375 kB / 3.687 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/9.131, allocations: 0 / 3.687 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/9.131, allocations: 0 / 3.687 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/9.132, allocations: 1.033 MB / 3.688 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.491e-06/9.132, allocations: 6.188 kB / 3.688 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/9.132, allocations: 25.75 kB / 3.688 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/9.132, allocations: 3.281 kB / 3.688 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/9.132, allocations: 3.688 kB / 3.688 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/9.133, allocations: 3.531 kB / 3.688 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/9.133, allocations: 3.656 kB / 3.688 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003746/9.133, allocations: 344.5 kB / 3.688 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/9.133, allocations: 142.8 kB / 3.688 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/9.133, allocations: 7.844 kB / 3.688 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004697/9.134, allocations: 25.62 kB / 3.688 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/9.134, allocations: 13.45 kB / 3.688 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/9.134, allocations: 11.38 kB / 3.688 GB, free: 151.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000532/9.134, allocations: 338.8 kB / 3.689 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001332/9.136, allocations: 290.3 kB / 3.689 GB, free: 151.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.003108/9.139, allocations: 1.931 MB / 3.691 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000668/9.14, allocations: 189.5 kB / 3.691 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/9.14, allocations: 0 / 3.691 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001035/9.14, allocations: 44.53 kB / 3.691 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/9.141, allocations: 180.7 kB / 3.691 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001955/9.143, allocations: 0.7082 MB / 3.692 GB, free: 150.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006498/9.144, allocations: 0.9885 MB / 3.693 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of SimCode: time 1.102e-06/9.144, allocations: 0 / 3.693 GB, free: 149.9 MB / 0.8698 GB Notification: Performance of Templates: time 0.04883/9.193, allocations: 16.51 MB / 3.709 GB, free: 149.6 MB / 0.8698 GB