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.MixingVolumeTraceSubstance.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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.864/3.864, allocations: 433 MB / 440.3 MB, free: 4.836 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5579/4.422, allocations: 104.3 MB / 0.5319 GB, free: 12.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/4.657, allocations: 98.71 MB / 0.6283 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.478/10.14, allocations: 2.188 GB / 2.816 GB, free: 160.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003354/10.14, allocations: 87.95 kB / 2.816 GB, free: 160.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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 2.837/12.97, allocations: 0.5487 GB / 3.365 GB, free: 178.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.092e-05/12.97, allocations: 11.22 kB / 3.365 GB, free: 178.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003795/12.98, allocations: 335.4 kB / 3.365 GB, free: 178.3 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00606/12.98, allocations: 0.883 MB / 3.366 GB, free: 178 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/12.98, allocations: 29.16 kB / 3.366 GB, free: 178 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004803/12.98, allocations: 52 kB / 3.366 GB, free: 178 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003903/12.99, allocations: 0.6838 MB / 3.367 GB, free: 178 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003911/12.99, allocations: 0.8824 MB / 3.368 GB, free: 177.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.358e-05/12.99, allocations: 0 / 3.368 GB, free: 177.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002209/12.99, allocations: 3.906 kB / 3.368 GB, free: 177.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.682e-05/12.99, allocations: 34.84 kB / 3.368 GB, free: 177.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008269/13, allocations: 3.938 MB / 3.372 GB, free: 175.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009773/13, allocations: 352.8 kB / 3.372 GB, free: 175.7 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004033/13, allocations: 177.9 kB / 3.372 GB, free: 175.7 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002566/13, allocations: 106.6 kB / 3.372 GB, free: 175.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.653e-05/13, allocations: 34.44 kB / 3.372 GB, free: 175.6 MB / 0.823 GB Notification: Performance of pre-optimization done (n=36): time 3.026e-06/13, allocations: 0 / 3.372 GB, free: 175.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=38): time 0.003563/13.01, allocations: 1.06 MB / 3.373 GB, free: 175.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/13.01, allocations: 54.38 kB / 3.373 GB, free: 175.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/13.01, allocations: 0.5495 MB / 3.374 GB, free: 175 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.253e-05/13.01, allocations: 29.64 kB / 3.374 GB, free: 175 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/13.01, allocations: 443.6 kB / 3.374 GB, free: 174.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/13.01, allocations: 142.5 kB / 3.375 GB, free: 174.7 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.6e-05/13.01, allocations: 0 / 3.375 GB, free: 174.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001456/13.01, allocations: 383.1 kB / 3.375 GB, free: 174.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004304/13.01, allocations: 162.7 kB / 3.375 GB, free: 174.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006188/13.01, allocations: 0.4997 MB / 3.376 GB, free: 173.9 MB / 0.823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002691/13.01, allocations: 0.6387 MB / 3.376 GB, free: 173.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/13.01, allocations: 3.875 kB / 3.376 GB, free: 173.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001656/13.01, allocations: 0.6551 MB / 3.377 GB, free: 173.8 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/13.01, allocations: 11.41 kB / 3.377 GB, free: 173.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/13.01, allocations: 9.938 kB / 3.377 GB, free: 173.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.864e-05/13.01, allocations: 17.47 kB / 3.377 GB, free: 173.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001051/13.01, allocations: 154.5 kB / 3.377 GB, free: 173.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.51e-05/13.01, allocations: 32.62 kB / 3.377 GB, free: 173.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/13.02, allocations: 50.47 kB / 3.377 GB, free: 173.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.805e-05/13.02, allocations: 36.59 kB / 3.377 GB, free: 173.7 MB / 0.823 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: volDyn.dynBal.medium.p = volDyn.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.0002172/13.02, allocations: 140 kB / 3.377 GB, free: 173.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/13.02, allocations: 80.69 kB / 3.377 GB, free: 173.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003113/13.02, allocations: 83.97 kB / 3.377 GB, free: 173.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/13.02, allocations: 3.344 kB / 3.377 GB, free: 173.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/13.02, allocations: 4.188 kB / 3.377 GB, free: 173.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008368/13.02, allocations: 0.6229 MB / 3.378 GB, free: 173.1 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003306/13.02, allocations: 1.304 MB / 3.379 GB, free: 172.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/13.02, allocations: 3.844 kB / 3.379 GB, free: 172.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007987/13.02, allocations: 90.77 kB / 3.379 GB, free: 172.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-05/13.02, allocations: 7.906 kB / 3.379 GB, free: 172.7 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.025e-05/13.02, allocations: 10.62 kB / 3.379 GB, free: 172.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.16e-05/13.02, allocations: 11.31 kB / 3.379 GB, free: 172.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/13.02, allocations: 6.125 kB / 3.379 GB, free: 172.7 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001529/13.02, allocations: 0.9695 MB / 3.38 GB, free: 172.1 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002223/13.03, allocations: 1.582 MB / 3.382 GB, free: 171.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006423/13.03, allocations: 203.9 kB / 3.382 GB, free: 171 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001841/13.03, allocations: 19.56 kB / 3.382 GB, free: 171 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009779/13.03, allocations: 21.03 kB / 3.382 GB, free: 171 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/13.03, allocations: 30.12 kB / 3.382 GB, free: 171 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.27e-05/13.03, allocations: 28.66 kB / 3.382 GB, free: 171 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0008244/13.03, allocations: 416.9 kB / 3.383 GB, free: 170.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003023/13.03, allocations: 453.2 kB / 3.383 GB, free: 170.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 39 * 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.002631/13.03, allocations: 1.499 MB / 3.384 GB, free: 170.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001343/13.04, allocations: 431.3 kB / 3.385 GB, free: 170.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/13.04, allocations: 3.812 kB / 3.385 GB, free: 170.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003509/13.04, allocations: 170.2 kB / 3.385 GB, free: 170.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004685/13.04, allocations: 384.8 kB / 3.385 GB, free: 170.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00736/13.05, allocations: 1.395 MB / 3.387 GB, free: 170.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002159/13.05, allocations: 1.206 MB / 3.388 GB, free: 169.4 MB / 0.823 GB Notification: Performance of SimCode: time 1.423e-06/13.05, allocations: 2.75 kB / 3.388 GB, free: 169.4 MB / 0.823 GB