Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.MixingVolumes.BaseClasses.Validation.MixingVolumeHeatMoisturePort.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.BaseClasses.Validation.MixingVolumeHeatMoisturePort,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatMoisturePort",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.99/3.99, allocations: 433 MB / 440.3 MB, free: 4.793 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5282/4.518, allocations: 104.3 MB / 0.5319 GB, free: 13.06 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/4.753, allocations: 98.71 MB / 0.6283 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.196/10.95, allocations: 2.437 GB / 3.065 GB, free: 211.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003674/10.95, allocations: 100.2 kB / 3.065 GB, free: 211.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: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 3.57/14.52, allocations: 0.6889 GB / 3.754 GB, free: 131.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/14.52, allocations: 10.28 kB / 3.754 GB, free: 131.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005232/14.53, allocations: 0.5102 MB / 3.755 GB, free: 131.4 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00475/14.53, allocations: 1.383 MB / 3.756 GB, free: 131 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.302e-05/14.53, allocations: 35.22 kB / 3.756 GB, free: 131 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003077/14.53, allocations: 71.23 kB / 3.756 GB, free: 131 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00375/14.53, allocations: 1.252 MB / 3.757 GB, free: 131 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00366/14.54, allocations: 1.208 MB / 3.759 GB, free: 130.9 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.998e-05/14.54, allocations: 0 / 3.759 GB, free: 130.9 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000191/14.54, allocations: 0 / 3.759 GB, free: 130.9 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-05/14.54, allocations: 44.97 kB / 3.759 GB, free: 130.9 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01251/14.55, allocations: 4.941 MB / 3.763 GB, free: 128.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002203/14.55, allocations: 1.018 MB / 3.764 GB, free: 128.7 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/14.55, allocations: 0.5842 MB / 3.765 GB, free: 128.7 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004457/14.55, allocations: 204 kB / 3.765 GB, free: 128.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.764e-05/14.55, allocations: 48.45 kB / 3.765 GB, free: 128.5 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=81): time 3.828e-06/14.55, allocations: 3.781 kB / 3.765 GB, free: 128.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=84): time 0.00894/14.56, allocations: 2.625 MB / 3.768 GB, free: 127.9 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/14.56, allocations: 63.5 kB / 3.768 GB, free: 127.9 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/14.57, allocations: 0.8035 MB / 3.769 GB, free: 127.7 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002826/14.57, allocations: 29.61 kB / 3.769 GB, free: 127.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/14.57, allocations: 409.7 kB / 3.769 GB, free: 127.4 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004632/14.57, allocations: 292.2 kB / 3.769 GB, free: 127.2 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/14.57, allocations: 0 / 3.769 GB, free: 127.2 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.677e-05/14.57, allocations: 338.6 kB / 3.77 GB, free: 126.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009971/14.57, allocations: 445.6 kB / 3.77 GB, free: 126.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001103/14.57, allocations: 0.5932 MB / 3.771 GB, free: 126.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001176/14.57, allocations: 0.5584 MB / 3.771 GB, free: 126.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/14.57, allocations: 0 / 3.771 GB, free: 126.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00293/14.57, allocations: 1.214 MB / 3.772 GB, free: 125.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001969/14.57, allocations: 0.7928 MB / 3.773 GB, free: 124.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/14.57, allocations: 4 kB / 3.773 GB, free: 124.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003626/14.57, allocations: 71.09 kB / 3.773 GB, free: 124.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/14.58, allocations: 180.6 kB / 3.773 GB, free: 124.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0029/14.58, allocations: 2.918 MB / 3.776 GB, free: 121.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00278/14.58, allocations: 104.6 kB / 3.776 GB, free: 121.9 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/14.58, allocations: 32.48 kB / 3.776 GB, free: 121.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/14.58, allocations: 7.25 kB / 3.776 GB, free: 121.9 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002595/14.58, allocations: 1.078 MB / 3.777 GB, free: 121.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/14.58, allocations: 3.906 kB / 3.777 GB, free: 121.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00031/14.58, allocations: 74.41 kB / 3.778 GB, free: 121.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/14.59, allocations: 169.9 kB / 3.778 GB, free: 121.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/14.59, allocations: 1.717 MB / 3.779 GB, free: 119.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002696/14.59, allocations: 107.3 kB / 3.779 GB, free: 119.7 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/14.59, allocations: 27.66 kB / 3.78 GB, free: 119.7 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003527/14.59, allocations: 125.1 kB / 3.78 GB, free: 119.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002676/14.59, allocations: 108.4 kB / 3.78 GB, free: 119.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002904/14.59, allocations: 1.188 MB / 3.781 GB, free: 119 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/14.59, allocations: 15.31 kB / 3.781 GB, free: 119 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/14.59, allocations: 3.906 kB / 3.781 GB, free: 119 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002228/14.6, allocations: 1.242 MB / 3.782 GB, free: 118.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007243/14.6, allocations: 2.729 MB / 3.785 GB, free: 116.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/14.6, allocations: 4 kB / 3.785 GB, free: 116.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003238/14.61, allocations: 231.1 kB / 3.785 GB, free: 116.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004592/14.61, allocations: 74.38 kB / 3.785 GB, free: 116.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001981/14.61, allocations: 11.72 kB / 3.785 GB, free: 116.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003648/14.61, allocations: 2.899 MB / 3.788 GB, free: 113.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.862e-05/14.61, allocations: 13.45 kB / 3.788 GB, free: 113.7 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00627/14.62, allocations: 2.085 MB / 3.79 GB, free: 112.6 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006673/14.63, allocations: 3.281 MB / 3.793 GB, free: 110.6 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001697/14.63, allocations: 342.1 kB / 3.794 GB, free: 110.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000471/14.63, allocations: 10.58 kB / 3.794 GB, free: 110.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003089/14.63, allocations: 99.64 kB / 3.794 GB, free: 110.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/14.63, allocations: 51.7 kB / 3.794 GB, free: 110.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001879/14.63, allocations: 34.08 kB / 3.794 GB, free: 110.3 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.001733/14.63, allocations: 0.6296 MB / 3.794 GB, free: 109.9 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00988/14.64, allocations: 1.041 MB / 3.795 GB, free: 109.5 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (vol[1].dynBal.U,vol[1].dynBal.mXi[1],vol[2].dynBal.U,vol[2].dynBal.mXi[1],vol[3].dynBal.U,vol[3].dynBal.m,vol[3].dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003786/14.65, allocations: 1.533 MB / 3.797 GB, free: 109 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.007184/14.65, allocations: 1.895 MB / 3.799 GB, free: 108.1 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/14.65, allocations: 0 / 3.799 GB, free: 108.1 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002111/14.66, allocations: 0.6568 MB / 3.799 GB, free: 107.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009195/14.67, allocations: 0.71 MB / 3.8 GB, free: 107.5 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01195/14.68, allocations: 2.738 MB / 3.803 GB, free: 106.1 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00325/14.68, allocations: 1.602 MB / 3.804 GB, free: 105 MB / 0.8386 GB Notification: Performance of SimCode: time 1.543e-06/14.68, allocations: 0 / 3.804 GB, free: 105 MB / 0.8386 GB