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.MixingVolumeMassFlow.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.MixingVolumeMassFlow,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.38/4.38, allocations: 433 MB / 440.3 MB, free: 24.67 MB / 354.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2761/4.656, allocations: 104.3 MB / 0.5319 GB, free: 4.477 MB / 434.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5566/5.213, allocations: 98.7 MB / 0.6283 GB, free: 0.6172 MB / 0.5027 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.321/10.53, allocations: 2.186 GB / 2.814 GB, free: 224 MB / 0.8152 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/10.53, allocations: 88.89 kB / 2.814 GB, free: 224 MB / 0.8152 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 1.352/11.89, allocations: 253.8 MB / 3.062 GB, free: 300.3 MB / 0.8152 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/11.89, allocations: 10.88 kB / 3.062 GB, free: 300.3 MB / 0.8152 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001959/11.89, allocations: 179.8 kB / 3.062 GB, free: 300.3 MB / 0.8152 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/11.89, allocations: 0.539 MB / 3.063 GB, free: 300.1 MB / 0.8152 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/11.89, allocations: 14.44 kB / 3.063 GB, free: 300.1 MB / 0.8152 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.89e-05/11.89, allocations: 30.81 kB / 3.063 GB, free: 300.1 MB / 0.8152 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001104/11.89, allocations: 376.1 kB / 3.063 GB, free: 300.1 MB / 0.8152 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001167/11.89, allocations: 401.8 kB / 3.064 GB, free: 300 MB / 0.8152 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/11.89, allocations: 7.094 kB / 3.064 GB, free: 300 MB / 0.8152 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.518e-05/11.89, allocations: 0 / 3.064 GB, free: 300 MB / 0.8152 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.388e-05/11.89, allocations: 17.69 kB / 3.064 GB, free: 300 MB / 0.8152 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004151/11.9, allocations: 1.818 MB / 3.065 GB, free: 299.2 MB / 0.8152 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003813/11.9, allocations: 164.3 kB / 3.066 GB, free: 299.2 MB / 0.8152 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/11.9, allocations: 141.4 kB / 3.066 GB, free: 299.2 MB / 0.8152 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002452/11.9, allocations: 99.03 kB / 3.066 GB, free: 299.1 MB / 0.8152 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/11.9, allocations: 43.38 kB / 3.066 GB, free: 299.1 MB / 0.8152 GB Notification: Performance of pre-optimization done (n=25): time 3.186e-06/11.9, allocations: 0 / 3.066 GB, free: 299.1 MB / 0.8152 GB Notification: Performance of matching and sorting (n=26): time 0.002472/11.9, allocations: 0.7439 MB / 3.067 GB, free: 298.7 MB / 0.8152 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/11.9, allocations: 55.25 kB / 3.067 GB, free: 298.7 MB / 0.8152 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005254/11.9, allocations: 330.4 kB / 3.067 GB, free: 298.6 MB / 0.8152 GB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/11.9, allocations: 25.7 kB / 3.067 GB, free: 298.5 MB / 0.8152 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/11.9, allocations: 247.3 kB / 3.067 GB, free: 298.4 MB / 0.8152 GB Notification: Performance of collectInitialBindings (initialization): time 9.985e-05/11.9, allocations: 87.64 kB / 3.067 GB, free: 298.3 MB / 0.8152 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.187e-05/11.9, allocations: 3.969 kB / 3.067 GB, free: 298.3 MB / 0.8152 GB Notification: Performance of setup shared object (initialization): time 9.217e-05/11.9, allocations: 347.8 kB / 3.068 GB, free: 298 MB / 0.8152 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/11.9, allocations: 98.75 kB / 3.068 GB, free: 298 MB / 0.8152 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003521/11.9, allocations: 251.2 kB / 3.068 GB, free: 297.9 MB / 0.8152 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/11.9, allocations: 148.8 kB / 3.068 GB, free: 297.9 MB / 0.8152 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/11.9, allocations: 3.156 kB / 3.068 GB, free: 297.9 MB / 0.8152 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008919/11.9, allocations: 389.7 kB / 3.068 GB, free: 297.8 MB / 0.8152 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/11.9, allocations: 3.906 kB / 3.068 GB, free: 297.8 MB / 0.8152 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/11.9, allocations: 7.125 kB / 3.068 GB, free: 297.8 MB / 0.8152 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.754e-05/11.9, allocations: 7.5 kB / 3.068 GB, free: 297.8 MB / 0.8152 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006178/11.9, allocations: 75.59 kB / 3.069 GB, free: 297.8 MB / 0.8152 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/11.9, allocations: 10.86 kB / 3.069 GB, free: 297.8 MB / 0.8152 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009025/11.91, allocations: 28.61 kB / 3.069 GB, free: 297.8 MB / 0.8152 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.667e-05/11.91, allocations: 18.69 kB / 3.069 GB, free: 297.8 MB / 0.8152 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001381/11.91, allocations: 110.5 kB / 3.069 GB, free: 297.7 MB / 0.8152 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/11.91, allocations: 45.47 kB / 3.069 GB, free: 297.7 MB / 0.8152 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/11.91, allocations: 50.89 kB / 3.069 GB, free: 297.7 MB / 0.8152 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/11.91, allocations: 11.66 kB / 3.069 GB, free: 297.7 MB / 0.8152 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/11.91, allocations: 0 / 3.069 GB, free: 297.7 MB / 0.8152 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000554/11.91, allocations: 319.4 kB / 3.069 GB, free: 297.5 MB / 0.8152 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/11.91, allocations: 0.904 MB / 3.07 GB, free: 297.1 MB / 0.8152 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/11.91, allocations: 10.22 kB / 3.07 GB, free: 297.1 MB / 0.8152 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006354/11.91, allocations: 65.38 kB / 3.07 GB, free: 297.1 MB / 0.8152 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-05/11.91, allocations: 3.875 kB / 3.07 GB, free: 297.1 MB / 0.8152 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/11.91, allocations: 7.031 kB / 3.07 GB, free: 297.1 MB / 0.8152 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/11.91, allocations: 9.531 kB / 3.07 GB, free: 297.1 MB / 0.8152 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/11.91, allocations: 9.375 kB / 3.07 GB, free: 297.1 MB / 0.8152 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001092/11.91, allocations: 0.6773 MB / 3.071 GB, free: 296.7 MB / 0.8152 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001596/11.91, allocations: 1.232 MB / 3.072 GB, free: 296 MB / 0.8152 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003969/11.91, allocations: 156.2 kB / 3.072 GB, free: 295.9 MB / 0.8152 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/11.91, allocations: 3.844 kB / 3.072 GB, free: 295.9 MB / 0.8152 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007472/11.91, allocations: 25.73 kB / 3.072 GB, free: 295.9 MB / 0.8152 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/11.91, allocations: 16.14 kB / 3.072 GB, free: 295.9 MB / 0.8152 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.784e-05/11.91, allocations: 20.58 kB / 3.072 GB, free: 295.9 MB / 0.8152 GB Notification: Performance of sort global known variables: time 0.0004023/11.91, allocations: 252 kB / 3.072 GB, free: 295.8 MB / 0.8152 GB Notification: Performance of remove unused functions: time 0.002235/11.92, allocations: 282.2 kB / 3.073 GB, free: 295.8 MB / 0.8152 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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.001788/11.92, allocations: 1.09 MB / 3.074 GB, free: 295.6 MB / 0.8152 GB Notification: Performance of simCode: created initialization part: time 0.000775/11.92, allocations: 261.8 kB / 3.074 GB, free: 295.6 MB / 0.8152 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/11.92, allocations: 3.969 kB / 3.074 GB, free: 295.6 MB / 0.8152 GB Notification: Performance of simCode: created simulation system equations: time 0.0002512/11.92, allocations: 116.5 kB / 3.074 GB, free: 295.6 MB / 0.8152 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/11.92, allocations: 236.3 kB / 3.074 GB, free: 295.6 MB / 0.8152 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/11.92, allocations: 0.776 MB / 3.075 GB, free: 295.3 MB / 0.8152 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006845/11.92, allocations: 0.9502 MB / 3.076 GB, free: 294.6 MB / 0.8152 GB Notification: Performance of SimCode: time 1.332e-06/11.92, allocations: 0 / 3.076 GB, free: 294.6 MB / 0.8152 GB