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.MixingVolumeSteadyStateMass.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.MixingVolumeSteadyStateMass,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",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.004/4.004, allocations: 433 MB / 440.3 MB, free: 4.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5149/4.519, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/4.767, allocations: 98.72 MB / 0.6283 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.359/10.13, allocations: 2.189 GB / 2.818 GB, free: 158.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/10.13, allocations: 89.02 kB / 2.818 GB, free: 158.2 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 1.658/11.78, allocations: 358.6 MB / 3.168 GB, free: 136.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/11.78, allocations: 8 kB / 3.168 GB, free: 136.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001735/11.79, allocations: 175 kB / 3.168 GB, free: 135.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/11.79, allocations: 0.5677 MB / 3.169 GB, free: 135.3 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/11.79, allocations: 12 kB / 3.169 GB, free: 135.3 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/11.79, allocations: 28 kB / 3.169 GB, free: 135.3 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001062/11.79, allocations: 361.9 kB / 3.169 GB, free: 134.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009742/11.79, allocations: 376.4 kB / 3.169 GB, free: 134.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/11.79, allocations: 0 / 3.169 GB, free: 134.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.345e-05/11.79, allocations: 0 / 3.169 GB, free: 134.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.181e-05/11.79, allocations: 21 kB / 3.169 GB, free: 134.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004099/11.79, allocations: 1.964 MB / 3.171 GB, free: 132.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004294/11.8, allocations: 186.7 kB / 3.171 GB, free: 132.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003533/11.8, allocations: 165.3 kB / 3.172 GB, free: 132 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003707/11.8, allocations: 194.2 kB / 3.172 GB, free: 131.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/11.8, allocations: 42.56 kB / 3.172 GB, free: 131.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=30): time 2.966e-06/11.8, allocations: 0 / 3.172 GB, free: 131.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=30): time 0.001617/11.8, allocations: 385.7 kB / 3.172 GB, free: 131.4 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/11.8, allocations: 55.41 kB / 3.172 GB, free: 131.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005548/11.8, allocations: 329.2 kB / 3.173 GB, free: 131 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 5.674e-05/11.8, allocations: 25.7 kB / 3.173 GB, free: 131 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/11.8, allocations: 227.9 kB / 3.173 GB, free: 130.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/11.8, allocations: 98.47 kB / 3.173 GB, free: 130.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/11.8, allocations: 4 kB / 3.173 GB, free: 130.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.898e-05/11.8, allocations: 354.8 kB / 3.173 GB, free: 130.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002666/11.8, allocations: 99.97 kB / 3.173 GB, free: 130.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003375/11.8, allocations: 198.3 kB / 3.174 GB, free: 130 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/11.8, allocations: 139.9 kB / 3.174 GB, free: 129.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.738e-06/11.8, allocations: 3.938 kB / 3.174 GB, free: 129.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008601/11.8, allocations: 348.9 kB / 3.174 GB, free: 129.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001244/11.8, allocations: 0.5356 MB / 3.175 GB, free: 128.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/11.8, allocations: 4 kB / 3.175 GB, free: 128.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/11.8, allocations: 3.984 kB / 3.175 GB, free: 128.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006938/11.8, allocations: 71.89 kB / 3.175 GB, free: 128.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/11.8, allocations: 4 kB / 3.175 GB, free: 128.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/11.8, allocations: 59.64 kB / 3.175 GB, free: 128.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.296e-05/11.8, allocations: 16 kB / 3.175 GB, free: 128.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/11.8, allocations: 8 kB / 3.175 GB, free: 128.7 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000988/11.8, allocations: 267.8 kB / 3.175 GB, free: 128.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/11.8, allocations: 0 / 3.175 GB, free: 128.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/11.8, allocations: 4 kB / 3.175 GB, free: 128.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006843/11.8, allocations: 75.89 kB / 3.175 GB, free: 128.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/11.8, allocations: 4.156 kB / 3.175 GB, free: 128.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/11.81, allocations: 51.66 kB / 3.175 GB, free: 128.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.033e-05/11.81, allocations: 16 kB / 3.175 GB, free: 128.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001641/11.81, allocations: 112.9 kB / 3.175 GB, free: 128.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/11.81, allocations: 47.44 kB / 3.175 GB, free: 128.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/11.81, allocations: 363.3 kB / 3.176 GB, free: 127.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/11.81, allocations: 7.906 kB / 3.176 GB, free: 127.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/11.81, allocations: 0 / 3.176 GB, free: 127.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00104/11.81, allocations: 397.2 kB / 3.176 GB, free: 127.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002532/11.81, allocations: 1.024 MB / 3.177 GB, free: 126.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/11.81, allocations: 4 kB / 3.177 GB, free: 126.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006071/11.81, allocations: 55.97 kB / 3.177 GB, free: 126.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003219/11.81, allocations: 56.97 kB / 3.177 GB, free: 126.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.611e-05/11.81, allocations: 4 kB / 3.177 GB, free: 126.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/11.81, allocations: 1.401 MB / 3.179 GB, free: 124.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/11.81, allocations: 0 / 3.179 GB, free: 124.6 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001423/11.81, allocations: 0.7328 MB / 3.179 GB, free: 123.8 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002004/11.82, allocations: 1.331 MB / 3.181 GB, free: 122.4 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004373/11.82, allocations: 168.4 kB / 3.181 GB, free: 122.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/11.82, allocations: 4 kB / 3.181 GB, free: 122.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008725/11.82, allocations: 40.02 kB / 3.181 GB, free: 122.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.244e-05/11.82, allocations: 23.88 kB / 3.181 GB, free: 122.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.194e-05/11.82, allocations: 12 kB / 3.181 GB, free: 122.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0004301/11.82, allocations: 259.2 kB / 3.181 GB, free: 121.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00417/11.82, allocations: 0.6319 MB / 3.182 GB, free: 121.2 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (28): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002079/11.83, allocations: 1.253 MB / 3.183 GB, free: 120 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001184/11.83, allocations: 455 kB / 3.183 GB, free: 119.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/11.83, allocations: 7.938 kB / 3.183 GB, free: 119.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006004/11.83, allocations: 249.7 kB / 3.184 GB, free: 119.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002718/11.83, allocations: 274.6 kB / 3.184 GB, free: 119 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/11.83, allocations: 0.812 MB / 3.185 GB, free: 118.1 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007191/11.83, allocations: 0.9714 MB / 3.186 GB, free: 117.1 MB / 0.823 GB Notification: Performance of SimCode: time 1.392e-06/11.83, allocations: 0 / 3.186 GB, free: 117.1 MB / 0.823 GB