Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.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.MixingVolumeMoistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir") [: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.135/2.135, allocations: 253.1 MB / 260.4 MB, free: 7.43 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.001623/0.001623, allocations: 193.1 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.779/1.779, allocations: 205.4 MB / 0.5704 GB, free: 15.12 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.001375/0.001374, allocations: 83.45 kB / 0.6746 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.818e-06/9.929e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2193, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.687/5.907, allocations: 2.245 GB / 3.133 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/5.907, allocations: 88.45 kB / 3.133 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.86/8.767, allocations: 0.6027 GB / 3.736 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001983/8.767, allocations: 40.28 kB / 3.736 GB, free: 169 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.00557/8.773, allocations: 1.584 MB / 3.738 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/8.773, allocations: 8.656 kB / 3.738 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004229/8.777, allocations: 401.3 kB / 3.738 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005474/8.782, allocations: 1.224 MB / 3.739 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.927e-05/8.783, allocations: 35.78 kB / 3.739 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002975/8.783, allocations: 61.56 kB / 3.739 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00274/8.786, allocations: 0.7088 MB / 3.74 GB, free: 166.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/8.789, allocations: 0.9564 MB / 3.741 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/8.789, allocations: 1.281 kB / 3.741 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/8.789, allocations: 5.906 kB / 3.741 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.387e-05/8.789, allocations: 37.84 kB / 3.741 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01099/8.8, allocations: 5.033 MB / 3.746 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/8.802, allocations: 0.6321 MB / 3.746 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007526/8.803, allocations: 318.8 kB / 3.747 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008468/8.803, allocations: 313.8 kB / 3.747 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.711e-05/8.804, allocations: 43.2 kB / 3.747 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 4.478e-06/8.804, allocations: 0 / 3.747 GB, free: 160.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.003054/8.807, allocations: 0.7478 MB / 3.748 GB, free: 159.3 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/8.807, allocations: 166.9 kB / 3.748 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001236/8.808, allocations: 0.5923 MB / 3.749 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002006/8.808, allocations: 29.7 kB / 3.749 GB, free: 158.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/8.808, allocations: 418.7 kB / 3.749 GB, free: 158 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003611/8.809, allocations: 236.4 kB / 3.749 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/8.809, allocations: 0 / 3.749 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001017/8.809, allocations: 337.9 kB / 3.75 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007015/8.81, allocations: 229.5 kB / 3.75 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008398/8.811, allocations: 459 kB / 3.75 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/8.812, allocations: 362.1 kB / 3.751 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/8.812, allocations: 0 / 3.751 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002409/8.814, allocations: 0.8103 MB / 3.751 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003943/8.815, allocations: 1.664 MB / 3.753 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/8.815, allocations: 4 kB / 3.753 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.716e-05/8.815, allocations: 10.94 kB / 3.753 GB, free: 153.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003254/8.818, allocations: 259.1 kB / 3.753 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/8.82, allocations: 1.359 MB / 3.755 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/8.822, allocations: 102.1 kB / 3.755 GB, free: 152 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001411/8.822, allocations: 28 kB / 3.755 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/8.822, allocations: 4 kB / 3.755 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002019/8.824, allocations: 0.6807 MB / 3.755 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/8.824, allocations: 4 kB / 3.755 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/8.824, allocations: 8 kB / 3.755 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003128/8.827, allocations: 281.2 kB / 3.756 GB, free: 151 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/8.829, allocations: 1.349 MB / 3.757 GB, free: 149.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00199/8.831, allocations: 93.78 kB / 3.757 GB, free: 149.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/8.831, allocations: 35.98 kB / 3.757 GB, free: 149.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003035/8.831, allocations: 123.8 kB / 3.757 GB, free: 149.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/8.832, allocations: 110.6 kB / 3.757 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004076/8.836, allocations: 0.7986 MB / 3.758 GB, free: 148.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-05/8.836, allocations: 15.34 kB / 3.758 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/8.836, allocations: 0 / 3.758 GB, free: 148.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004258/8.84, allocations: 0.7338 MB / 3.759 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009565/8.85, allocations: 1.875 MB / 3.761 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/8.85, allocations: 11.92 kB / 3.761 GB, free: 145.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002515/8.852, allocations: 151.7 kB / 3.761 GB, free: 145.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001151/8.854, allocations: 42.8 kB / 3.761 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002225/8.854, allocations: 15.92 kB / 3.761 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002748/8.857, allocations: 1.31 MB / 3.762 GB, free: 144 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/8.857, allocations: 7.938 kB / 3.762 GB, free: 144 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005735/8.862, allocations: 1.37 MB / 3.763 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001312/8.864, allocations: 255.6 kB / 3.764 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004549/8.864, allocations: 4 kB / 3.764 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002542/8.867, allocations: 74.8 kB / 3.764 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002249/8.867, allocations: 36.52 kB / 3.764 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/8.867, allocations: 31.23 kB / 3.764 GB, free: 142.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001397/8.869, allocations: 464.1 kB / 3.764 GB, free: 141.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004234/8.873, allocations: 0.6583 MB / 3.765 GB, free: 141 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],QSen.y,QLat.y,PI.I.y,PI1.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005023/8.878, allocations: 1.996 MB / 3.767 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.009094/8.887, allocations: 1.165 MB / 3.768 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.677e-05/8.887, allocations: 8.125 kB / 3.768 GB, free: 138.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001832/8.889, allocations: 429.4 kB / 3.768 GB, free: 137.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006246/8.895, allocations: 426.3 kB / 3.769 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006552/8.902, allocations: 1.679 MB / 3.77 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/8.903, allocations: 1.259 MB / 3.772 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.322e-06/8.903, allocations: 0 / 3.772 GB, free: 134.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.07589/8.979, allocations: 29.97 MB / 3.801 GB, free: 104.7 MB / 0.8698 GB