Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",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.034/4.034, allocations: 433 MB / 440.3 MB, free: 4.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6124/4.646, allocations: 104.3 MB / 0.5319 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/4.88, allocations: 98.74 MB / 0.6283 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.005/5.885, allocations: 393.5 MB / 1.013 GB, free: 10.92 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004802/5.885, allocations: 95.52 kB / 1.013 GB, free: 10.88 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 13.51/19.4, allocations: 2.645 GB / 3.658 GB, free: 36.34 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/19.4, allocations: 9.75 kB / 3.658 GB, free: 36.34 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005355/19.4, allocations: 0.7756 MB / 3.659 GB, free: 35.96 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2636/19.67, allocations: 57.53 MB / 3.715 GB, free: 27.57 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003546/19.67, allocations: 130 kB / 3.715 GB, free: 27.57 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001782/19.67, allocations: 254.2 kB / 3.715 GB, free: 27.57 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01268/19.68, allocations: 2.535 MB / 3.718 GB, free: 26.53 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01602/19.7, allocations: 3.553 MB / 3.721 GB, free: 23.29 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002317/19.7, allocations: 20.58 kB / 3.721 GB, free: 23.27 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001061/19.7, allocations: 8 kB / 3.721 GB, free: 23.26 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001518/19.7, allocations: 123.5 kB / 3.721 GB, free: 23.14 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04975/19.75, allocations: 26.09 MB / 3.747 GB, free: 12.01 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003534/19.75, allocations: 1.101 MB / 3.748 GB, free: 10.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003507/19.76, allocations: 1.079 MB / 3.749 GB, free: 9.824 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005105/19.76, allocations: 3.78 MB / 3.753 GB, free: 5.219 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001147/19.76, allocations: 60.56 kB / 3.753 GB, free: 5.148 MB / 0.948 GB Notification: Performance of pre-optimization done (n=222): time 5.881e-06/19.76, allocations: 0 / 3.753 GB, free: 5.148 MB / 0.948 GB Notification: Performance of matching and sorting (n=222): time 0.01598/19.78, allocations: 2.951 MB / 3.756 GB, free: 2.172 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.569e-05/19.78, allocations: 77.41 kB / 3.756 GB, free: 2.086 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01234/19.79, allocations: 3.299 MB / 3.759 GB, free: 14.81 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0007426/19.79, allocations: 29.7 kB / 3.759 GB, free: 14.78 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.003859/19.79, allocations: 1.724 MB / 3.761 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.002277/19.8, allocations: 0.7506 MB / 3.761 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002588/19.8, allocations: 0 / 3.761 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0003496/19.8, allocations: 407.4 kB / 3.762 GB, free: 11.87 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002841/19.8, allocations: 0.7317 MB / 3.762 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004016/19.8, allocations: 1.711 MB / 3.764 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009229/19.81, allocations: 1.411 MB / 3.765 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.461e-05/19.81, allocations: 7.906 kB / 3.765 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.0172/19.83, allocations: 3.548 MB / 3.769 GB, free: 3.992 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.5938/20.43, allocations: 10.33 MB / 3.779 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.903e-05/20.43, allocations: 26.05 kB / 3.779 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/20.43, allocations: 373.3 kB / 3.779 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003949/20.43, allocations: 0.5165 MB / 3.78 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003333/20.43, allocations: 2.843 MB / 3.783 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01033/20.44, allocations: 0.5043 MB / 3.783 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009635/20.45, allocations: 134.6 kB / 3.783 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/20.45, allocations: 3.719 kB / 3.783 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01284/20.46, allocations: 2.823 MB / 3.786 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-05/20.46, allocations: 28.03 kB / 3.786 GB, free: 109.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002372/20.46, allocations: 394.4 kB / 3.786 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004229/20.47, allocations: 0.5112 MB / 3.787 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01342/20.48, allocations: 7.309 MB / 3.794 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01047/20.49, allocations: 475 kB / 3.795 GB, free: 104.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008575/20.49, allocations: 123.6 kB / 3.795 GB, free: 104.7 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (291): * Single equations (assignments): 287 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 14,1 11,1 14,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0008943/20.49, allocations: 179.8 kB / 3.795 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001988/20.49, allocations: 0.499 MB / 3.795 GB, free: 104.6 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01799/20.51, allocations: 4.107 MB / 3.799 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001745/20.51, allocations: 35.45 kB / 3.799 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/20.51, allocations: 0 / 3.799 GB, free: 104.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01111/20.52, allocations: 2.713 MB / 3.802 GB, free: 104.2 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02824/20.55, allocations: 7.981 MB / 3.81 GB, free: 102.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.34e-05/20.55, allocations: 3.969 kB / 3.81 GB, free: 102.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003435/20.55, allocations: 379.5 kB / 3.81 GB, free: 102.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008639/20.56, allocations: 225.7 kB / 3.81 GB, free: 102.7 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003963/20.56, allocations: 43.88 kB / 3.81 GB, free: 102.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002276/20.56, allocations: 2.521 MB / 3.813 GB, free: 100.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/20.56, allocations: 7.031 kB / 3.813 GB, free: 100.7 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01911/20.58, allocations: 4.701 MB / 3.817 GB, free: 100 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0236/20.6, allocations: 6.777 MB / 3.824 GB, free: 98.98 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004495/20.61, allocations: 0.9215 MB / 3.825 GB, free: 98.61 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002271/20.61, allocations: 5.812 kB / 3.825 GB, free: 98.61 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007534/20.62, allocations: 389.5 kB / 3.825 GB, free: 98.59 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006519/20.62, allocations: 142.8 kB / 3.826 GB, free: 98.59 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003216/20.62, allocations: 80.11 kB / 3.826 GB, free: 98.59 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.007589/20.62, allocations: 2.444 MB / 3.828 GB, free: 98.41 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.02562/20.65, allocations: 4.768 MB / 3.833 GB, free: 98.22 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (223): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 33 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.008371/20.66, allocations: 3.43 MB / 3.836 GB, free: 97.04 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.01177/20.67, allocations: 4.233 MB / 3.84 GB, free: 96.54 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/20.67, allocations: 3.906 kB / 3.84 GB, free: 96.54 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003429/20.67, allocations: 1.227 MB / 3.841 GB, free: 96.53 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02494/20.7, allocations: 2.532 MB / 3.844 GB, free: 96.5 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03283/20.73, allocations: 7.293 MB / 3.851 GB, free: 94.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007628/20.74, allocations: 3.47 MB / 3.854 GB, free: 93.89 MB / 0.9636 GB Notification: Performance of SimCode: time 1.773e-06/20.74, allocations: 5.344 kB / 3.854 GB, free: 93.89 MB / 0.9636 GB