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.TraceSubstanceConservationDynamicBalance.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.TraceSubstanceConservationDynamicBalance,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",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.039/4.039, allocations: 433 MB / 440.3 MB, free: 4.836 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5595/4.598, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/4.827, allocations: 98.73 MB / 0.6283 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.385/10.21, allocations: 2.198 GB / 2.827 GB, free: 150 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/10.21, allocations: 88.89 kB / 2.827 GB, free: 149.9 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 2.761/12.97, allocations: 0.575 GB / 3.402 GB, free: 171.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/12.97, allocations: 7.562 kB / 3.402 GB, free: 171.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002571/12.98, allocations: 220.1 kB / 3.402 GB, free: 171 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002512/12.98, allocations: 0.6606 MB / 3.403 GB, free: 170.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.476e-05/12.98, allocations: 21.66 kB / 3.403 GB, free: 170.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003003/12.98, allocations: 44.44 kB / 3.403 GB, free: 170.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001681/12.98, allocations: 0.5287 MB / 3.403 GB, free: 170.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/12.98, allocations: 0.7526 MB / 3.404 GB, free: 170.6 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.589e-05/12.98, allocations: 7.219 kB / 3.404 GB, free: 170.6 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/12.98, allocations: 0 / 3.404 GB, free: 170.6 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.911e-05/12.98, allocations: 31.12 kB / 3.404 GB, free: 170.6 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006389/12.99, allocations: 3.875 MB / 3.408 GB, free: 168.1 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001227/12.99, allocations: 436.4 kB / 3.408 GB, free: 168 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004719/12.99, allocations: 216.3 kB / 3.408 GB, free: 168 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002433/12.99, allocations: 96.19 kB / 3.409 GB, free: 167.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/12.99, allocations: 40.56 kB / 3.409 GB, free: 167.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=43): time 3.987e-06/12.99, allocations: 0 / 3.409 GB, free: 167.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=45): time 0.003717/13, allocations: 1.109 MB / 3.41 GB, free: 167.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/13, allocations: 55.16 kB / 3.41 GB, free: 167.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007352/13, allocations: 418.4 kB / 3.41 GB, free: 167.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.102e-05/13, allocations: 25.7 kB / 3.41 GB, free: 167.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/13, allocations: 342.9 kB / 3.41 GB, free: 167.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001763/13, allocations: 154.4 kB / 3.411 GB, free: 167 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/13, allocations: 3.625 kB / 3.411 GB, free: 167 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001402/13, allocations: 365.9 kB / 3.411 GB, free: 166.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006364/13, allocations: 166.5 kB / 3.411 GB, free: 166.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006357/13, allocations: 381.7 kB / 3.412 GB, free: 166.5 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: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.00264/13, allocations: 0.6314 MB / 3.412 GB, free: 166.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/13, allocations: 0 / 3.412 GB, free: 166.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001699/13, allocations: 0.5531 MB / 3.413 GB, free: 166.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/13, allocations: 10.16 kB / 3.413 GB, free: 166.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/13, allocations: 3.906 kB / 3.413 GB, free: 166.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.95e-05/13, allocations: 11.16 kB / 3.413 GB, free: 166.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008892/13, allocations: 116.2 kB / 3.413 GB, free: 166.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.914e-05/13, allocations: 23.62 kB / 3.413 GB, free: 166.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/13, allocations: 32.44 kB / 3.413 GB, free: 166.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.219e-05/13, allocations: 29.28 kB / 3.413 GB, free: 166.3 MB / 0.823 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: vol.dynBal.medium.p = vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 70 * 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.0002049/13.01, allocations: 125.2 kB / 3.413 GB, free: 166.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001634/13.01, allocations: 68.78 kB / 3.413 GB, free: 166.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/13.01, allocations: 73.98 kB / 3.413 GB, free: 166.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/13.01, allocations: 3.688 kB / 3.413 GB, free: 166.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/13.01, allocations: 3.906 kB / 3.413 GB, free: 166.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009644/13.01, allocations: 0.6687 MB / 3.414 GB, free: 165.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005061/13.01, allocations: 1.332 MB / 3.415 GB, free: 165.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.887e-05/13.01, allocations: 3.875 kB / 3.415 GB, free: 165.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/13.01, allocations: 98.66 kB / 3.415 GB, free: 165.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.206e-05/13.01, allocations: 7.688 kB / 3.415 GB, free: 165.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.956e-05/13.01, allocations: 11 kB / 3.415 GB, free: 165.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.65e-05/13.01, allocations: 10.44 kB / 3.415 GB, free: 165.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.868e-06/13.01, allocations: 6.25 kB / 3.415 GB, free: 165.3 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003071/13.02, allocations: 1.007 MB / 3.416 GB, free: 164.8 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003101/13.02, allocations: 1.689 MB / 3.418 GB, free: 163.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006012/13.02, allocations: 190.6 kB / 3.418 GB, free: 163.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001481/13.02, allocations: 11.56 kB / 3.418 GB, free: 163.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009334/13.02, allocations: 30.05 kB / 3.418 GB, free: 163.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.813e-05/13.02, allocations: 37.84 kB / 3.418 GB, free: 163.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.376e-05/13.02, allocations: 17.78 kB / 3.418 GB, free: 163.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0006169/13.02, allocations: 323.3 kB / 3.418 GB, free: 163.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005937/13.03, allocations: 0.4987 MB / 3.419 GB, free: 163.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.005216/13.03, allocations: 1.875 MB / 3.421 GB, free: 163.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001989/13.04, allocations: 426.1 kB / 3.421 GB, free: 163.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/13.04, allocations: 0 / 3.421 GB, free: 163.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.000638/13.04, allocations: 198.8 kB / 3.421 GB, free: 163.1 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: 288.7 kB / 3.422 GB, free: 163.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003556/13.04, allocations: 1.254 MB / 3.423 GB, free: 162.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009727/13.05, allocations: 1.105 MB / 3.424 GB, free: 162 MB / 0.823 GB Notification: Performance of SimCode: time 1.503e-06/13.05, allocations: 3.938 kB / 3.424 GB, free: 161.9 MB / 0.823 GB