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.MixingVolumeHeatPortAir.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.MixingVolumeHeatPortAir,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_MixingVolumes_BaseClasses_Validation_MixingVolumeHeatPortAir",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.113/4.113, allocations: 433 MB / 440.3 MB, free: 4.777 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.563/4.676, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/4.922, allocations: 98.72 MB / 0.6283 GB, free: 9.758 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.53/11.45, allocations: 2.436 GB / 3.064 GB, free: 207.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003155/11.45, allocations: 97.73 kB / 3.065 GB, free: 207.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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 2.126/13.58, allocations: 468.9 MB / 3.522 GB, free: 77.77 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/13.58, allocations: 8 kB / 3.522 GB, free: 77.76 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00784/13.59, allocations: 0.5054 MB / 3.523 GB, free: 77.25 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006199/13.59, allocations: 1.362 MB / 3.524 GB, free: 75.85 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.028e-05/13.59, allocations: 32 kB / 3.524 GB, free: 75.82 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003983/13.59, allocations: 67.91 kB / 3.524 GB, free: 75.75 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00328/13.6, allocations: 1.191 MB / 3.526 GB, free: 74.56 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003053/13.6, allocations: 1.159 MB / 3.527 GB, free: 73.39 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.546e-05/13.6, allocations: 4 kB / 3.527 GB, free: 73.39 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/13.6, allocations: 0 / 3.527 GB, free: 73.39 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-05/13.6, allocations: 41.98 kB / 3.527 GB, free: 73.35 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01006/13.61, allocations: 4.816 MB / 3.531 GB, free: 68.18 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/13.61, allocations: 0.9649 MB / 3.532 GB, free: 67.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/13.61, allocations: 0.5459 MB / 3.533 GB, free: 66.65 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004236/13.61, allocations: 202.8 kB / 3.533 GB, free: 66.41 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/13.61, allocations: 47.22 kB / 3.533 GB, free: 66.36 MB / 0.823 GB Notification: Performance of pre-optimization done (n=78): time 3.637e-06/13.61, allocations: 0 / 3.533 GB, free: 66.36 MB / 0.823 GB Notification: Performance of matching and sorting (n=81): time 0.008598/13.62, allocations: 2.526 MB / 3.536 GB, free: 63.77 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/13.62, allocations: 60.06 kB / 3.536 GB, free: 63.7 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/13.63, allocations: 0.7906 MB / 3.536 GB, free: 62.89 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.00019/13.63, allocations: 29.7 kB / 3.536 GB, free: 62.85 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/13.63, allocations: 395.9 kB / 3.537 GB, free: 62.46 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004412/13.63, allocations: 279.8 kB / 3.537 GB, free: 62.18 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.336e-05/13.63, allocations: 0 / 3.537 GB, free: 62.18 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.338e-05/13.63, allocations: 341.9 kB / 3.537 GB, free: 61.84 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009159/13.63, allocations: 433.3 kB / 3.538 GB, free: 61.42 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/13.63, allocations: 0.595 MB / 3.538 GB, free: 60.76 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001102/13.63, allocations: 0.5392 MB / 3.539 GB, free: 60.22 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/13.63, allocations: 0 / 3.539 GB, free: 60.22 MB / 0.823 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002799/13.63, allocations: 1.181 MB / 3.54 GB, free: 59.03 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000216/13.63, allocations: 1.046 MB / 3.541 GB, free: 57.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/13.63, allocations: 7.906 kB / 3.541 GB, free: 57.89 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003549/13.63, allocations: 76.81 kB / 3.541 GB, free: 57.82 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002117/13.63, allocations: 187.7 kB / 3.541 GB, free: 57.63 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00289/13.64, allocations: 2.916 MB / 3.544 GB, free: 54.56 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/13.64, allocations: 103.7 kB / 3.544 GB, free: 54.46 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/13.64, allocations: 36.06 kB / 3.544 GB, free: 54.42 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/13.64, allocations: 4 kB / 3.544 GB, free: 54.42 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002502/13.64, allocations: 1.048 MB / 3.545 GB, free: 53.36 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/13.64, allocations: 352 / 3.545 GB, free: 53.36 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003038/13.64, allocations: 76.81 kB / 3.545 GB, free: 53.28 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/13.65, allocations: 167.7 kB / 3.546 GB, free: 53.12 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002045/13.65, allocations: 1.724 MB / 3.547 GB, free: 51.28 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002743/13.65, allocations: 103.7 kB / 3.547 GB, free: 51.18 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/13.65, allocations: 36.05 kB / 3.547 GB, free: 51.14 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0003408/13.65, allocations: 120.7 kB / 3.548 GB, free: 51.02 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002859/13.65, allocations: 114.6 kB / 3.548 GB, free: 50.91 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002889/13.65, allocations: 1.136 MB / 3.549 GB, free: 49.75 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-05/13.65, allocations: 8 kB / 3.549 GB, free: 49.75 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/13.65, allocations: 0 / 3.549 GB, free: 49.75 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002309/13.66, allocations: 1.2 MB / 3.55 GB, free: 48.47 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006763/13.66, allocations: 2.625 MB / 3.552 GB, free: 45.77 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/13.66, allocations: 4 kB / 3.552 GB, free: 45.77 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002202/13.67, allocations: 227.7 kB / 3.553 GB, free: 45.55 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003285/13.67, allocations: 68.81 kB / 3.553 GB, free: 45.48 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001359/13.67, allocations: 15.98 kB / 3.553 GB, free: 45.46 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0026/13.67, allocations: 2.904 MB / 3.556 GB, free: 42.39 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/13.67, allocations: 0 / 3.556 GB, free: 42.39 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004591/13.67, allocations: 2.003 MB / 3.558 GB, free: 40.3 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005848/13.68, allocations: 3.136 MB / 3.561 GB, free: 37.07 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/13.68, allocations: 339.7 kB / 3.561 GB, free: 36.71 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003316/13.68, allocations: 8 kB / 3.561 GB, free: 36.71 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002369/13.68, allocations: 99.67 kB / 3.561 GB, free: 36.61 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/13.68, allocations: 44.5 kB / 3.561 GB, free: 36.57 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/13.68, allocations: 31.98 kB / 3.561 GB, free: 36.54 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001188/13.68, allocations: 0.6245 MB / 3.562 GB, free: 35.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00645/13.69, allocations: 1.027 MB / 3.563 GB, free: 34.87 MB / 0.823 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 (76): * Single equations (assignments): 73 * 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.002485/13.69, allocations: 1.536 MB / 3.564 GB, free: 33.29 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00468/13.7, allocations: 1.827 MB / 3.566 GB, free: 31.44 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.819e-06/13.7, allocations: 4 kB / 3.566 GB, free: 31.43 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/13.7, allocations: 0.634 MB / 3.567 GB, free: 30.79 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006762/13.71, allocations: 0.7085 MB / 3.567 GB, free: 30.08 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006946/13.71, allocations: 2.673 MB / 3.57 GB, free: 27.35 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001938/13.72, allocations: 1.57 MB / 3.572 GB, free: 25.75 MB / 0.823 GB Notification: Performance of SimCode: time 1.473e-06/13.72, allocations: 0 / 3.572 GB, free: 25.75 MB / 0.823 GB