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.MixingVolumeInitialization.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.MixingVolumeInitialization,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.818/3.818, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5668/4.385, allocations: 104.3 MB / 0.5319 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/4.645, allocations: 98.72 MB / 0.6283 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.508/10.15, allocations: 2.217 GB / 2.845 GB, free: 129.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/10.15, allocations: 91.16 kB / 2.845 GB, free: 129.6 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 2.063/12.22, allocations: 459 MB / 3.294 GB, free: 5.367 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.181e-05/12.22, allocations: 19.94 kB / 3.294 GB, free: 5.348 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003828/12.22, allocations: 298.3 kB / 3.294 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004117/12.23, allocations: 0.8396 MB / 3.295 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/12.23, allocations: 24 kB / 3.295 GB, free: 4.148 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005209/12.23, allocations: 36 kB / 3.295 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003546/12.23, allocations: 0.8896 MB / 3.296 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002925/12.23, allocations: 0.9094 MB / 3.297 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.732e-05/12.23, allocations: 0 / 3.297 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001231/12.23, allocations: 3.938 kB / 3.297 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001414/12.23, allocations: 77.94 kB / 3.297 GB, free: 2.215 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4446/12.68, allocations: 3.447 MB / 3.3 GB, free: 142.4 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/12.68, allocations: 0.7462 MB / 3.301 GB, free: 142.3 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008272/12.68, allocations: 360.9 kB / 3.301 GB, free: 142.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003726/12.68, allocations: 202.1 kB / 3.301 GB, free: 142.1 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/12.68, allocations: 40.22 kB / 3.301 GB, free: 142.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=62): time 3.647e-06/12.68, allocations: 0 / 3.301 GB, free: 142.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=62): time 0.003602/12.68, allocations: 0.7468 MB / 3.302 GB, free: 142.1 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.323e-05/12.68, allocations: 120.5 kB / 3.302 GB, free: 141.9 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/12.69, allocations: 0.5531 MB / 3.303 GB, free: 141.8 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003857/12.69, allocations: 29.42 kB / 3.303 GB, free: 141.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004704/12.69, allocations: 312.7 kB / 3.303 GB, free: 141.7 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005417/12.69, allocations: 215.4 kB / 3.303 GB, free: 141.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/12.69, allocations: 0 / 3.303 GB, free: 141.6 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002439/12.69, allocations: 389.4 kB / 3.304 GB, free: 141.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/12.69, allocations: 306.1 kB / 3.304 GB, free: 141.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/12.69, allocations: 445.8 kB / 3.304 GB, free: 141.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01683/12.71, allocations: 1.342 MB / 3.306 GB, free: 141.1 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.131e-05/12.71, allocations: 3.656 kB / 3.306 GB, free: 141.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.01903/12.73, allocations: 1.818 MB / 3.307 GB, free: 141 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002828/12.73, allocations: 0.8797 MB / 3.308 GB, free: 140.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/12.73, allocations: 3.938 kB / 3.308 GB, free: 140.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.564e-05/12.73, allocations: 3.969 kB / 3.308 GB, free: 140.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003346/12.73, allocations: 149.5 kB / 3.308 GB, free: 140.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.457e-05/12.73, allocations: 3.938 kB / 3.308 GB, free: 140.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/12.73, allocations: 83.53 kB / 3.308 GB, free: 140.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000217/12.73, allocations: 30.02 kB / 3.308 GB, free: 140.1 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/12.73, allocations: 3.719 kB / 3.308 GB, free: 140.1 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01404/12.75, allocations: 1.62 MB / 3.31 GB, free: 140.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/12.75, allocations: 3.875 kB / 3.31 GB, free: 140.1 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.102e-05/12.75, allocations: 7.812 kB / 3.31 GB, free: 140.1 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/12.75, allocations: 149.4 kB / 3.31 GB, free: 140.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-05/12.75, allocations: 6.5 kB / 3.31 GB, free: 140.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002689/12.75, allocations: 67.95 kB / 3.31 GB, free: 140.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002882/12.75, allocations: 28.56 kB / 3.31 GB, free: 140.1 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (86): * Single equations (assignments): 86 * 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.0005252/12.76, allocations: 118.8 kB / 3.31 GB, free: 140 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005721/12.76, allocations: 83.91 kB / 3.31 GB, free: 139.9 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003791/12.76, allocations: 0.7647 MB / 3.311 GB, free: 139.9 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/12.76, allocations: 7.219 kB / 3.311 GB, free: 139.9 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/12.76, allocations: 0 / 3.311 GB, free: 139.9 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002709/12.76, allocations: 0.7281 MB / 3.312 GB, free: 139.7 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007941/12.77, allocations: 1.937 MB / 3.314 GB, free: 139.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/12.77, allocations: 6.438 kB / 3.314 GB, free: 139.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002091/12.77, allocations: 138 kB / 3.314 GB, free: 139.3 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.639e-05/12.77, allocations: 5.969 kB / 3.314 GB, free: 139.3 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001642/12.77, allocations: 12.14 kB / 3.314 GB, free: 139.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-05/12.77, allocations: 11.77 kB / 3.314 GB, free: 139.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.24e-05/12.77, allocations: 7.125 kB / 3.314 GB, free: 139.3 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005783/12.78, allocations: 1.525 MB / 3.316 GB, free: 138.8 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005046/12.78, allocations: 2.421 MB / 3.318 GB, free: 137.8 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009068/12.78, allocations: 254.7 kB / 3.318 GB, free: 137.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002626/12.79, allocations: 7.656 kB / 3.318 GB, free: 137.7 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/12.79, allocations: 43.38 kB / 3.318 GB, free: 137.7 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/12.79, allocations: 39.64 kB / 3.318 GB, free: 137.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.213e-05/12.79, allocations: 27.98 kB / 3.318 GB, free: 137.7 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.000908/12.79, allocations: 438.4 kB / 3.319 GB, free: 137.6 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.006991/12.8, allocations: 1.24 MB / 3.32 GB, free: 137.6 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 64 * 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.004505/12.8, allocations: 1.925 MB / 3.322 GB, free: 137.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.002973/12.8, allocations: 1.12 MB / 3.323 GB, free: 137.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/12.8, allocations: 3.312 kB / 3.323 GB, free: 137.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000854/12.8, allocations: 356 kB / 3.323 GB, free: 137.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004467/12.81, allocations: 421.8 kB / 3.324 GB, free: 137.2 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004483/12.81, allocations: 1.495 MB / 3.325 GB, free: 136.8 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/12.81, allocations: 1.194 MB / 3.326 GB, free: 136.1 MB / 0.8386 GB Notification: Performance of SimCode: time 1.913e-06/12.81, allocations: 0 / 3.326 GB, free: 136.1 MB / 0.8386 GB