Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate.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.MixingVolumePrescribedHeatFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumePrescribedHeatFlowRate") [: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.204/2.204, allocations: 253.1 MB / 260.4 MB, free: 7.57 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.001616/0.001616, allocations: 181.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 2.04/2.04, 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.001392/0.001391, allocations: 101.5 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.446e-06/8.616e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1978, allocations: 106.2 MB / 0.888 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.307/5.505, allocations: 2.189 GB / 3.077 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/5.505, allocations: 89.73 kB / 3.077 GB, free: 172.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.809/7.315, allocations: 379.4 MB / 3.448 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.612e-05/7.315, allocations: 13.25 kB / 3.448 GB, free: 141.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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002418/7.317, allocations: 0.887 MB / 3.449 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/7.317, allocations: 12.03 kB / 3.449 GB, free: 140.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002702/7.32, allocations: 274.9 kB / 3.449 GB, free: 140 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001722/7.322, allocations: 491.4 kB / 3.45 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006339/7.323, allocations: 92.88 kB / 3.45 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/7.323, allocations: 27.94 kB / 3.45 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001199/7.324, allocations: 389.9 kB / 3.45 GB, free: 139 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/7.325, allocations: 0.4973 MB / 3.451 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/7.325, allocations: 3.906 kB / 3.451 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.515e-05/7.325, allocations: 4 kB / 3.451 GB, free: 138.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.277e-05/7.325, allocations: 20.98 kB / 3.451 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00576/7.331, allocations: 2.067 MB / 3.453 GB, free: 136.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004091/7.332, allocations: 146.5 kB / 3.453 GB, free: 136.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/7.332, allocations: 84.83 kB / 3.453 GB, free: 136 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/7.332, allocations: 5.016 kB / 3.453 GB, free: 136 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/7.332, allocations: 38.78 kB / 3.453 GB, free: 136 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 4.288e-06/7.332, allocations: 0 / 3.453 GB, free: 136 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.003133/7.335, allocations: 436.3 kB / 3.453 GB, free: 135.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/7.335, allocations: 81.11 kB / 3.453 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006579/7.336, allocations: 353 kB / 3.454 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.979e-05/7.336, allocations: 25.7 kB / 3.454 GB, free: 135.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/7.336, allocations: 267.2 kB / 3.454 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.071e-05/7.336, allocations: 39.45 kB / 3.454 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.011e-05/7.336, allocations: 0 / 3.454 GB, free: 134.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.748e-05/7.336, allocations: 346.8 kB / 3.454 GB, free: 134.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002837/7.337, allocations: 108 kB / 3.454 GB, free: 134.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/7.337, allocations: 188.5 kB / 3.455 GB, free: 134.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004109/7.337, allocations: 141.7 kB / 3.455 GB, free: 134 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/7.337, allocations: 0 / 3.455 GB, free: 134 MB / 0.8698 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.003244/7.341, allocations: 0.5365 MB / 3.455 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/7.341, allocations: 12 kB / 3.455 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/7.341, allocations: 7.938 kB / 3.455 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006016/7.341, allocations: 128.8 kB / 3.455 GB, free: 133.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/7.342, allocations: 87.88 kB / 3.455 GB, free: 133.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003677/7.346, allocations: 1.725 MB / 3.457 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/7.347, allocations: 87.62 kB / 3.457 GB, free: 131.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-05/7.347, allocations: 16.06 kB / 3.457 GB, free: 131.2 MB / 0.8698 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaFlo.Q_flow:VARIABLE(unit = "W" ) "Heat flow from port_a to port_b as output signal" type: Real 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 (26): * Single equations (assignments): 25 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002336/7.347, allocations: 108.9 kB / 3.457 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/7.347, allocations: 39.53 kB / 3.457 GB, free: 131.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000186/7.348, allocations: 43.27 kB / 3.457 GB, free: 131 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/7.348, allocations: 4 kB / 3.457 GB, free: 131 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/7.348, allocations: 3.906 kB / 3.457 GB, free: 131 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/7.348, allocations: 0 / 3.457 GB, free: 131 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003762/7.351, allocations: 0.9034 MB / 3.458 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/7.351, allocations: 0 / 3.458 GB, free: 130.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004587/7.352, allocations: 48.02 kB / 3.458 GB, free: 130 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005357/7.353, allocations: 132.7 kB / 3.459 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.471e-05/7.353, allocations: 3.984 kB / 3.459 GB, free: 129.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003494/7.356, allocations: 1.721 MB / 3.46 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.624e-06/7.356, allocations: 8 kB / 3.46 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003049/7.359, allocations: 0.5535 MB / 3.461 GB, free: 127.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004346/7.36, allocations: 156.6 kB / 3.461 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/7.36, allocations: 0 / 3.461 GB, free: 127.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/7.361, allocations: 71.88 kB / 3.461 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.184e-05/7.361, allocations: 11.98 kB / 3.461 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.166e-05/7.361, allocations: 15.89 kB / 3.461 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0004389/7.362, allocations: 271.2 kB / 3.461 GB, free: 126.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001368/7.363, allocations: 239.5 kB / 3.461 GB, free: 126.7 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 (7): * Single equations (assignments): 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001968/7.365, allocations: 1.152 MB / 3.463 GB, free: 125.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001017/7.366, allocations: 334.3 kB / 3.463 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/7.366, allocations: 0 / 3.463 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004117/7.366, allocations: 198.5 kB / 3.463 GB, free: 125.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001756/7.368, allocations: 185.5 kB / 3.463 GB, free: 125 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/7.373, allocations: 0.734 MB / 3.464 GB, free: 124.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006078/7.374, allocations: 0.9196 MB / 3.465 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.293e-06/7.374, allocations: 0 / 3.465 GB, free: 123.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.03698/7.411, allocations: 14.47 MB / 3.479 GB, free: 108.9 MB / 0.8698 GB