Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.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.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",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.916/3.916, allocations: 433 MB / 440.3 MB, free: 4.848 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6212/4.537, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/4.794, allocations: 98.73 MB / 0.6283 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.013/5.807, allocations: 410.5 MB / 1.029 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005299/5.808, allocations: 90.39 kB / 1.029 GB, free: 10.01 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 4.248/10.06, allocations: 0.9402 GB / 1.97 GB, free: 76.64 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/10.06, allocations: 8 kB / 1.97 GB, free: 76.63 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002406/10.06, allocations: 364.9 kB / 1.97 GB, free: 76.28 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01244/10.07, allocations: 3.029 MB / 1.973 GB, free: 73.26 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002203/10.07, allocations: 72 kB / 1.973 GB, free: 73.19 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001056/10.07, allocations: 144 kB / 1.973 GB, free: 73.05 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0082/10.08, allocations: 2.254 MB / 1.975 GB, free: 70.79 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008943/10.09, allocations: 2.648 MB / 1.978 GB, free: 68.02 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.415e-05/10.09, allocations: 14.66 kB / 1.978 GB, free: 68 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003386/10.09, allocations: 4 kB / 1.978 GB, free: 68 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001381/10.09, allocations: 67.2 kB / 1.978 GB, free: 67.94 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03302/10.12, allocations: 12.85 MB / 1.99 GB, free: 54.51 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005638/10.13, allocations: 1.53 MB / 1.992 GB, free: 52.96 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003662/10.13, allocations: 1.097 MB / 1.993 GB, free: 51.88 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/10.13, allocations: 0.7193 MB / 1.994 GB, free: 51.02 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.578e-05/10.13, allocations: 48.19 kB / 1.994 GB, free: 50.97 MB / 0.823 GB Notification: Performance of pre-optimization done (n=124): time 5.781e-06/10.13, allocations: 0 / 1.994 GB, free: 50.97 MB / 0.823 GB Notification: Performance of matching and sorting (n=124): time 0.007216/10.14, allocations: 1.663 MB / 1.995 GB, free: 49.29 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.667e-05/10.14, allocations: 141.5 kB / 1.996 GB, free: 49.12 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005474/10.15, allocations: 1.742 MB / 1.997 GB, free: 47.34 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006647/10.15, allocations: 29.7 kB / 1.997 GB, free: 47.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00152/10.15, allocations: 0.9407 MB / 1.998 GB, free: 46.35 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00112/10.15, allocations: 422.4 kB / 1.999 GB, free: 45.93 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/10.15, allocations: 3.938 kB / 1.999 GB, free: 45.93 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001822/10.15, allocations: 369.9 kB / 1.999 GB, free: 45.56 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00224/10.15, allocations: 0.6823 MB / 2 GB, free: 44.88 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002736/10.16, allocations: 1.191 MB / 2.001 GB, free: 43.47 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003678/10.16, allocations: 0.9559 MB / 2.002 GB, free: 42.53 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.708e-05/10.16, allocations: 4 kB / 2.002 GB, free: 42.52 MB / 0.823 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.008474/10.17, allocations: 2.211 MB / 2.004 GB, free: 40.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001335/10.17, allocations: 5.661 MB / 2.009 GB, free: 34.15 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.047e-05/10.17, allocations: 19.91 kB / 2.009 GB, free: 34.13 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001729/10.17, allocations: 307 kB / 2.01 GB, free: 33.83 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003337/10.17, allocations: 351.4 kB / 2.01 GB, free: 33.49 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004679/10.18, allocations: 2.959 MB / 2.013 GB, free: 30.39 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003987/10.18, allocations: 274.1 kB / 2.013 GB, free: 30.12 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003075/10.18, allocations: 83.97 kB / 2.013 GB, free: 30.04 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/10.18, allocations: 4 kB / 2.013 GB, free: 30.04 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005416/10.19, allocations: 1.945 MB / 2.015 GB, free: 28.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.923e-05/10.19, allocations: 16 kB / 2.015 GB, free: 28.07 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008781/10.19, allocations: 215.9 kB / 2.015 GB, free: 27.86 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002921/10.19, allocations: 371.4 kB / 2.016 GB, free: 27.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005336/10.2, allocations: 3.678 MB / 2.019 GB, free: 23.59 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003835/10.2, allocations: 238.5 kB / 2.02 GB, free: 23.36 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002806/10.2, allocations: 79.97 kB / 2.02 GB, free: 23.28 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,nor.y,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 180 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0005124/10.2, allocations: 159.1 kB / 2.02 GB, free: 23.12 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006396/10.2, allocations: 197.6 kB / 2.02 GB, free: 22.93 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005656/10.21, allocations: 1.94 MB / 2.022 GB, free: 20.98 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.367e-05/10.21, allocations: 15.98 kB / 2.022 GB, free: 20.96 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/10.21, allocations: 4 kB / 2.022 GB, free: 20.96 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003855/10.21, allocations: 1.537 MB / 2.023 GB, free: 19.41 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0125/10.23, allocations: 4.132 MB / 2.027 GB, free: 15.23 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/10.23, allocations: 4.094 kB / 2.027 GB, free: 15.22 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00216/10.23, allocations: 211.7 kB / 2.028 GB, free: 15.02 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00112/10.23, allocations: 271.2 kB / 2.028 GB, free: 14.75 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000191/10.23, allocations: 15.98 kB / 2.028 GB, free: 14.73 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004012/10.23, allocations: 2.892 MB / 2.031 GB, free: 11.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/10.23, allocations: 4 kB / 2.031 GB, free: 11.7 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006884/10.24, allocations: 2.892 MB / 2.034 GB, free: 8.742 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008981/10.25, allocations: 4.299 MB / 2.038 GB, free: 4.383 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002024/10.25, allocations: 0.5098 MB / 2.038 GB, free: 3.852 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007721/10.25, allocations: 4 kB / 2.038 GB, free: 3.848 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002893/10.26, allocations: 171.5 kB / 2.038 GB, free: 3.684 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002869/10.26, allocations: 89.16 kB / 2.038 GB, free: 3.598 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/10.26, allocations: 39.98 kB / 2.039 GB, free: 3.559 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.003282/10.26, allocations: 1.324 MB / 2.04 GB, free: 2.211 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01011/10.27, allocations: 1.57 MB / 2.041 GB, free: 0.6367 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,nor.y,onOffHea.y) * Number of discrete states: 3 (onOffMid.y,onOffBot.y,onOffHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001607/10.27, allocations: 0.5473 MB / 2.042 GB, free: 136 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.3125/10.58, allocations: 3.121 MB / 2.045 GB, free: 215.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.781e-05/10.58, allocations: 7.344 kB / 2.045 GB, free: 215.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003371/10.59, allocations: 0.9145 MB / 2.046 GB, free: 215.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009648/10.6, allocations: 1.016 MB / 2.047 GB, free: 215.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/10.61, allocations: 4.28 MB / 2.051 GB, free: 214.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004031/10.61, allocations: 2.375 MB / 2.053 GB, free: 214 MB / 0.823 GB Notification: Performance of SimCode: time 1.413e-06/10.61, allocations: 3.938 kB / 2.053 GB, free: 214 MB / 0.823 GB