Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) [: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 loadModel(Buildings): time 3.901/3.901, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5423/4.444, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/4.677, allocations: 98.73 MB / 0.6283 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.731/10.41, allocations: 2.2 GB / 2.828 GB, free: 146.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006406/10.41, allocations: 90.95 kB / 2.828 GB, free: 146.7 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 6.197/16.61, allocations: 1.296 GB / 4.125 GB, free: 92.4 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/16.61, allocations: 8.844 kB / 4.125 GB, free: 92.4 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005964/16.61, allocations: 0.5362 MB / 4.125 GB, free: 92.16 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006585/16.62, allocations: 1.483 MB / 4.126 GB, free: 91.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002169/16.62, allocations: 124 kB / 4.127 GB, free: 91.09 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005033/16.62, allocations: 95.31 kB / 4.127 GB, free: 91.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004592/16.62, allocations: 1.269 MB / 4.128 GB, free: 90.53 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004995/16.63, allocations: 1.48 MB / 4.129 GB, free: 89.71 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.611e-05/16.63, allocations: 2.688 kB / 4.129 GB, free: 89.71 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002593/16.63, allocations: 5.188 kB / 4.129 GB, free: 89.7 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/16.63, allocations: 56.89 kB / 4.129 GB, free: 89.7 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01953/16.65, allocations: 7.664 MB / 4.137 GB, free: 83.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/16.65, allocations: 0.5934 MB / 4.138 GB, free: 82.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/16.65, allocations: 0.5129 MB / 4.138 GB, free: 82.06 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009546/16.65, allocations: 414.8 kB / 4.138 GB, free: 81.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.011e-05/16.65, allocations: 47.56 kB / 4.138 GB, free: 81.54 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=105): time 3.717e-06/16.65, allocations: 0 / 4.138 GB, free: 81.54 MB / 0.8386 GB Notification: Performance of matching and sorting (n=111): time 0.0121/16.67, allocations: 2.862 MB / 4.141 GB, free: 78.62 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/16.67, allocations: 64.41 kB / 4.141 GB, free: 78.55 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/16.67, allocations: 0.893 MB / 4.142 GB, free: 77.65 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.000362/16.67, allocations: 29.7 kB / 4.142 GB, free: 77.62 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003555/16.67, allocations: 0.5738 MB / 4.143 GB, free: 77.04 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004814/16.67, allocations: 386.2 kB / 4.143 GB, free: 76.65 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-05/16.67, allocations: 0 / 4.143 GB, free: 76.65 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001029/16.67, allocations: 353.9 kB / 4.143 GB, free: 76.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/16.67, allocations: 398.5 kB / 4.144 GB, free: 75.91 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/16.67, allocations: 0.7606 MB / 4.145 GB, free: 75.01 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/16.67, allocations: 0.613 MB / 4.145 GB, free: 74.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/16.67, allocations: 4 kB / 4.145 GB, free: 74.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003761/16.68, allocations: 1.349 MB / 4.147 GB, free: 73.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007563/16.68, allocations: 3.1 MB / 4.15 GB, free: 69.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.931e-05/16.68, allocations: 8 kB / 4.15 GB, free: 69.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.499e-05/16.68, allocations: 14.69 kB / 4.15 GB, free: 69.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00274/16.68, allocations: 291.6 kB / 4.15 GB, free: 69.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.618e-05/16.68, allocations: 23.08 kB / 4.15 GB, free: 69.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003641/16.68, allocations: 151.8 kB / 4.15 GB, free: 69.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002743/16.68, allocations: 55.92 kB / 4.15 GB, free: 69.28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/16.68, allocations: 4 kB / 4.15 GB, free: 69.27 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003372/16.69, allocations: 1.144 MB / 4.151 GB, free: 68.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/16.69, allocations: 11.98 kB / 4.151 GB, free: 68.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/16.69, allocations: 19 kB / 4.151 GB, free: 68.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002518/16.69, allocations: 287.6 kB / 4.151 GB, free: 67.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.693e-05/16.69, allocations: 23.92 kB / 4.152 GB, free: 67.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003611/16.69, allocations: 153.3 kB / 4.152 GB, free: 67.66 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003078/16.7, allocations: 51.98 kB / 4.152 GB, free: 67.61 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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.0004778/16.7, allocations: 142.8 kB / 4.152 GB, free: 67.47 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005639/16.7, allocations: 162.1 kB / 4.152 GB, free: 67.31 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/16.7, allocations: 1.177 MB / 4.153 GB, free: 66.13 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/16.7, allocations: 10.53 kB / 4.153 GB, free: 66.12 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/16.7, allocations: 0 / 4.153 GB, free: 66.12 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002574/16.7, allocations: 1.105 MB / 4.154 GB, free: 64.97 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00861/16.71, allocations: 2.689 MB / 4.157 GB, free: 62.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/16.71, allocations: 0 / 4.157 GB, free: 62.24 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003983/16.72, allocations: 274.3 kB / 4.157 GB, free: 61.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.383e-05/16.72, allocations: 4 kB / 4.157 GB, free: 61.97 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000292/16.72, allocations: 19.98 kB / 4.157 GB, free: 61.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.551e-05/16.72, allocations: 6.656 kB / 4.157 GB, free: 61.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.578e-06/16.72, allocations: 11.94 kB / 4.157 GB, free: 61.93 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00666/16.72, allocations: 1.936 MB / 4.159 GB, free: 59.91 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01006/16.73, allocations: 3.08 MB / 4.162 GB, free: 56.74 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002124/16.73, allocations: 339.1 kB / 4.162 GB, free: 56.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001042/16.74, allocations: 12 kB / 4.162 GB, free: 56.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003988/16.74, allocations: 131.9 kB / 4.163 GB, free: 56.26 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003598/16.74, allocations: 68.19 kB / 4.163 GB, free: 56.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001871/16.74, allocations: 43.97 kB / 4.163 GB, free: 56.16 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.001553/16.74, allocations: 0.6679 MB / 4.163 GB, free: 55.49 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.009976/16.75, allocations: 1.719 MB / 4.165 GB, free: 53.77 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 12 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,entFloRat.h_out,entFloRat1.h_out,vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],entFloRat2.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 111 * 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.005827/16.76, allocations: 3.359 MB / 4.168 GB, free: 50.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004775/16.76, allocations: 1.674 MB / 4.17 GB, free: 49.1 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/16.76, allocations: 1.688 kB / 4.17 GB, free: 49.1 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001157/16.76, allocations: 0.4956 MB / 4.17 GB, free: 48.61 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01203/16.78, allocations: 0.8348 MB / 4.171 GB, free: 47.79 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01374/16.79, allocations: 3.021 MB / 4.174 GB, free: 44.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002297/16.79, allocations: 1.658 MB / 4.176 GB, free: 43.06 MB / 0.8386 GB Notification: Performance of SimCode: time 1.593e-06/16.79, allocations: 0 / 4.176 GB, free: 43.06 MB / 0.8386 GB