Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction.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.Examples.MixingVolumeHeatConduction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeHeatConduction") [: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.023/2.023, allocations: 253.1 MB / 260.4 MB, free: 7.441 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.001654/0.001654, allocations: 177.3 kB / 319.6 MB, free: 3.352 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.909/1.909, allocations: 205.4 MB / 0.5704 GB, free: 15.1 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.001316/0.001316, allocations: 94.39 kB / 0.6746 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.149e-05/1.166e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2007/0.2008, allocations: 106.2 MB / 0.888 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.673/5.874, allocations: 2.189 GB / 3.077 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/5.875, allocations: 94.52 kB / 3.077 GB, free: 173.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.353/7.228, allocations: 259.3 MB / 3.331 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001203/7.228, allocations: 22.64 kB / 3.331 GB, free: 188.9 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.003475/7.232, allocations: 0.9216 MB / 3.332 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/7.232, allocations: 7.812 kB / 3.332 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002642/7.234, allocations: 176 kB / 3.332 GB, free: 188.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002382/7.237, allocations: 0.5458 MB / 3.332 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.908e-05/7.237, allocations: 19.53 kB / 3.332 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/7.237, allocations: 34.06 kB / 3.332 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001837/7.239, allocations: 456.5 kB / 3.333 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/7.241, allocations: 0.5506 MB / 3.333 GB, free: 188 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.641e-05/7.241, allocations: 3.938 kB / 3.333 GB, free: 188 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001745/7.242, allocations: 3.188 kB / 3.333 GB, free: 188 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.226e-05/7.242, allocations: 20.5 kB / 3.333 GB, free: 188 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007745/7.249, allocations: 2.151 MB / 3.335 GB, free: 187 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008162/7.25, allocations: 202.8 kB / 3.336 GB, free: 187 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003387/7.251, allocations: 105.6 kB / 3.336 GB, free: 187 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.761e-05/7.251, allocations: 14.39 kB / 3.336 GB, free: 187 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.625e-05/7.251, allocations: 38.59 kB / 3.336 GB, free: 187 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 5.16e-06/7.251, allocations: 7.656 kB / 3.336 GB, free: 187 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.001872/7.253, allocations: 309.8 kB / 3.336 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.701e-05/7.253, allocations: 77.45 kB / 3.336 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000939/7.254, allocations: 375.8 kB / 3.337 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001402/7.254, allocations: 25.7 kB / 3.337 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002654/7.254, allocations: 299.7 kB / 3.337 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/7.254, allocations: 70.86 kB / 3.337 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.545e-05/7.254, allocations: 0 / 3.337 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001397/7.255, allocations: 352.8 kB / 3.337 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003712/7.255, allocations: 108.8 kB / 3.337 GB, free: 186.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004052/7.255, allocations: 207 kB / 3.338 GB, free: 186 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/7.256, allocations: 145.6 kB / 3.338 GB, free: 186 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/7.256, allocations: 0 / 3.338 GB, free: 186 MB / 0.8698 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001823/7.258, allocations: 432.1 kB / 3.338 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/7.258, allocations: 3.906 kB / 3.338 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.437e-05/7.258, allocations: 7.531 kB / 3.338 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006324/7.259, allocations: 82.55 kB / 3.338 GB, free: 185.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008915/7.259, allocations: 74.97 kB / 3.338 GB, free: 185.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004226/7.264, allocations: 2.805 MB / 3.341 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/7.265, allocations: 53.75 kB / 3.341 GB, free: 183.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-05/7.265, allocations: 13.72 kB / 3.341 GB, free: 183.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 32 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002412/7.266, allocations: 108.8 kB / 3.341 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/7.266, allocations: 49.62 kB / 3.341 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002054/7.266, allocations: 46.3 kB / 3.341 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/7.266, allocations: 7.5 kB / 3.341 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/7.266, allocations: 3.938 kB / 3.341 GB, free: 183.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001155/7.267, allocations: 0.4893 MB / 3.342 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/7.27, allocations: 0.8096 MB / 3.343 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/7.27, allocations: 4.094 kB / 3.343 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005649/7.27, allocations: 46.42 kB / 3.343 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004853/7.271, allocations: 61.67 kB / 3.343 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.63e-05/7.271, allocations: 7.484 kB / 3.343 GB, free: 182.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002722/7.274, allocations: 1.526 MB / 3.344 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/7.274, allocations: 0 / 3.344 GB, free: 181.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001418/7.275, allocations: 425.6 kB / 3.345 GB, free: 181.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005504/7.276, allocations: 162.5 kB / 3.345 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/7.276, allocations: 9.797 kB / 3.345 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001201/7.277, allocations: 39.33 kB / 3.345 GB, free: 181 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.45e-05/7.277, allocations: 10.08 kB / 3.345 GB, free: 181 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/7.277, allocations: 25.08 kB / 3.345 GB, free: 181 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0006707/7.278, allocations: 279.5 kB / 3.345 GB, free: 181 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00212/7.28, allocations: 285.6 kB / 3.345 GB, free: 180.9 MB / 0.8698 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 (15): * Single equations (assignments): 14 * 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 Backend phase and start with SimCode phase: time 0.002393/7.283, allocations: 1.072 MB / 3.346 GB, free: 180.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001432/7.284, allocations: 458.5 kB / 3.347 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/7.284, allocations: 4.344 kB / 3.347 GB, free: 180.4 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005284/7.285, allocations: 200.3 kB / 3.347 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/7.288, allocations: 247.2 kB / 3.347 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/7.291, allocations: 0.6635 MB / 3.348 GB, free: 180.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009477/7.292, allocations: 0.9629 MB / 3.349 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.363e-06/7.292, allocations: 0 / 3.349 GB, free: 179.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.04624/7.338, allocations: 14.97 MB / 3.363 GB, free: 177.7 MB / 0.8698 GB