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.MixingVolumeMFactor.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.MixingVolumeMFactor,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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 4.189/4.189, allocations: 433 MB / 440.3 MB, free: 10.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2794/4.468, allocations: 104.3 MB / 0.5319 GB, free: 2.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5741/5.042, allocations: 98.7 MB / 0.6283 GB, free: 0 / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.562/10.6, allocations: 2.191 GB / 2.819 GB, free: 122.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/10.6, allocations: 85.97 kB / 2.819 GB, free: 122.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: 280 * Number of variables: 280 Notification: Performance of Generate backend data structure: time 3.734/14.34, allocations: 0.7337 GB / 3.553 GB, free: 20.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/14.34, allocations: 8 kB / 3.553 GB, free: 20.26 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005605/14.34, allocations: 0.5014 MB / 3.553 GB, free: 19.76 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0042/14.35, allocations: 1.152 MB / 3.554 GB, free: 18.56 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.468e-05/14.35, allocations: 36 kB / 3.554 GB, free: 18.53 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000402/14.35, allocations: 75.98 kB / 3.554 GB, free: 18.45 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003442/14.35, allocations: 0.9726 MB / 3.555 GB, free: 17.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003605/14.36, allocations: 0.9584 MB / 3.556 GB, free: 16.49 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.84e-05/14.36, allocations: 0 / 3.556 GB, free: 16.49 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002235/14.36, allocations: 4 kB / 3.556 GB, free: 16.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.25e-05/14.36, allocations: 42.11 kB / 3.556 GB, free: 16.44 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01557/14.37, allocations: 4.376 MB / 3.561 GB, free: 11.79 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/14.37, allocations: 448.9 kB / 3.561 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/14.38, allocations: 401.3 kB / 3.561 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008168/14.38, allocations: 296.2 kB / 3.562 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.998e-05/14.38, allocations: 51.06 kB / 3.562 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=71): time 5.741e-06/14.38, allocations: 0 / 3.562 GB, free: 10.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=74): time 0.01116/14.39, allocations: 1.89 MB / 3.564 GB, free: 8.598 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/14.39, allocations: 64.06 kB / 3.564 GB, free: 8.523 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001902/14.39, allocations: 0.6349 MB / 3.564 GB, free: 7.867 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003273/14.39, allocations: 25.7 kB / 3.564 GB, free: 7.836 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004471/14.39, allocations: 470.8 kB / 3.565 GB, free: 7.367 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006061/14.39, allocations: 256.2 kB / 3.565 GB, free: 7.113 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-05/14.39, allocations: 0 / 3.565 GB, free: 7.113 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001332/14.39, allocations: 342 kB / 3.565 GB, free: 6.773 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/14.39, allocations: 281.9 kB / 3.566 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/14.39, allocations: 0.5348 MB / 3.566 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/14.4, allocations: 390.9 kB / 3.566 GB, free: 5.477 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.667e-06/14.4, allocations: 7.938 kB / 3.566 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003493/14.4, allocations: 0.8931 MB / 3.567 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/14.4, allocations: 4 kB / 3.567 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.332e-05/14.4, allocations: 8 kB / 3.567 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.957e-05/14.4, allocations: 16 kB / 3.567 GB, free: 4.539 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/14.4, allocations: 175.7 kB / 3.567 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.848e-05/14.4, allocations: 15.94 kB / 3.567 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003412/14.4, allocations: 72.16 kB / 3.568 GB, free: 4.281 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000226/14.4, allocations: 43.92 kB / 3.568 GB, free: 4.238 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 107 * 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.0004051/14.41, allocations: 128.7 kB / 3.568 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004678/14.41, allocations: 106.7 kB / 3.568 GB, free: 4 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006205/14.41, allocations: 114.3 kB / 3.568 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/14.41, allocations: 8 kB / 3.568 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.371e-05/14.41, allocations: 7.984 kB / 3.568 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002999/14.41, allocations: 0.932 MB / 3.569 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01004/14.42, allocations: 2.275 MB / 3.571 GB, free: 472 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/14.42, allocations: 8 kB / 3.571 GB, free: 464 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002137/14.42, allocations: 143.8 kB / 3.571 GB, free: 320 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008422/14.42, allocations: 97.94 kB / 3.571 GB, free: 216 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00021/14.42, allocations: 15.98 kB / 3.571 GB, free: 200 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005763/14.43, allocations: 2.774 MB / 3.574 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.899e-05/14.43, allocations: 12.06 kB / 3.574 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006038/14.43, allocations: 1.728 MB / 3.576 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00863/14.44, allocations: 2.643 MB / 3.578 GB, free: 8.312 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001609/14.45, allocations: 283.7 kB / 3.579 GB, free: 8.016 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005832/14.45, allocations: 11.98 kB / 3.579 GB, free: 8.004 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003138/14.45, allocations: 55.8 kB / 3.579 GB, free: 7.949 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003305/14.45, allocations: 52.23 kB / 3.579 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002278/14.45, allocations: 43.97 kB / 3.579 GB, free: 7.855 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.001765/14.45, allocations: 491.9 kB / 3.579 GB, free: 7.363 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006756/14.46, allocations: 0.6561 MB / 3.58 GB, free: 6.707 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (vol.dynBal.U,vol.dynBal.mXi[1],volMFactor.dynBal.U,volMFactor.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005735/14.46, allocations: 1.876 MB / 3.582 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00329/14.47, allocations: 0.6979 MB / 3.582 GB, free: 4.051 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.609e-05/14.47, allocations: 0 / 3.582 GB, free: 4.051 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0021/14.47, allocations: 0.5605 MB / 3.583 GB, free: 3.473 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009613/14.48, allocations: 0.6166 MB / 3.584 GB, free: 2.859 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/14.49, allocations: 2.105 MB / 3.586 GB, free: 0.6406 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4404/14.93, allocations: 1.378 MB / 3.587 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of SimCode: time 2.124e-06/14.93, allocations: 0 / 3.587 GB, free: 244.2 MB / 0.8542 GB