Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Radiators.Examples.RadiatorEN442_2.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.HeatExchangers.Radiators.Examples.RadiatorEN442_2,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Radiators_Examples_RadiatorEN442_2",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.943/3.943, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5111/4.454, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/4.674, allocations: 98.73 MB / 0.6283 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9492/5.624, allocations: 392.4 MB / 1.011 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003172/5.624, allocations: 91.08 kB / 1.012 GB, free: 11.54 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: 746 * Number of variables: 746 Notification: Performance of Generate backend data structure: time 7.394/13.02, allocations: 1.563 GB / 2.575 GB, free: 106.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/13.02, allocations: 12 kB / 2.575 GB, free: 106.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005389/13.02, allocations: 0.5256 MB / 2.575 GB, free: 106.3 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06538/13.09, allocations: 17.41 MB / 2.592 GB, free: 88.92 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002231/13.09, allocations: 92 kB / 2.593 GB, free: 88.83 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001649/13.09, allocations: 176 kB / 2.593 GB, free: 88.66 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0131/13.1, allocations: 3.603 MB / 2.596 GB, free: 85.05 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01444/13.12, allocations: 3.843 MB / 2.6 GB, free: 81.02 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001173/13.12, allocations: 15.78 kB / 2.6 GB, free: 81.01 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004911/13.12, allocations: 8 kB / 2.6 GB, free: 81 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000167/13.12, allocations: 145.4 kB / 2.6 GB, free: 80.86 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04562/13.16, allocations: 19.5 MB / 2.619 GB, free: 60.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006894/13.17, allocations: 2.605 MB / 2.622 GB, free: 57.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002872/13.17, allocations: 1.342 MB / 2.623 GB, free: 56.36 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000671/13.18, allocations: 0.5478 MB / 2.624 GB, free: 55.71 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.461e-05/13.18, allocations: 56.75 kB / 2.624 GB, free: 55.64 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=182): time 4.669e-06/13.18, allocations: 0 / 2.624 GB, free: 55.64 MB / 0.8542 GB Notification: Performance of matching and sorting (n=182): time 0.01113/13.19, allocations: 3.069 MB / 2.627 GB, free: 52.55 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/13.19, allocations: 73.41 kB / 2.627 GB, free: 52.47 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006711/13.19, allocations: 2.929 MB / 2.63 GB, free: 49.54 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0008478/13.19, allocations: 25.7 kB / 2.63 GB, free: 49.51 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001228/13.2, allocations: 1.207 MB / 2.631 GB, free: 48.29 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001476/13.2, allocations: 0.5966 MB / 2.631 GB, free: 47.68 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000247/13.2, allocations: 0 / 2.631 GB, free: 47.68 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000189/13.2, allocations: 414.8 kB / 2.632 GB, free: 47.27 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003055/13.2, allocations: 1.258 MB / 2.633 GB, free: 46.01 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003593/13.2, allocations: 1.921 MB / 2.635 GB, free: 43.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005736/13.21, allocations: 1.671 MB / 2.636 GB, free: 42.13 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.037e-05/13.21, allocations: 4 kB / 2.636 GB, free: 42.13 MB / 0.8542 GB Notification: Performance of matching and sorting (n=311) (initialization): time 0.01638/13.23, allocations: 4.066 MB / 2.64 GB, free: 38.05 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001712/13.23, allocations: 7.238 MB / 2.648 GB, free: 30.31 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.567e-05/13.23, allocations: 23.98 kB / 2.648 GB, free: 30.29 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00616/13.23, allocations: 1.048 MB / 2.649 GB, free: 29.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004742/13.24, allocations: 0.4915 MB / 2.649 GB, free: 28.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009687/13.25, allocations: 4.95 MB / 2.654 GB, free: 23.65 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007309/13.26, allocations: 361.1 kB / 2.654 GB, free: 23.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001015/13.26, allocations: 127.9 kB / 2.654 GB, free: 23.17 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/13.26, allocations: 4 kB / 2.654 GB, free: 23.17 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01107/13.27, allocations: 3.484 MB / 2.658 GB, free: 19.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.573e-05/13.27, allocations: 17 kB / 2.658 GB, free: 19.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007347/13.28, allocations: 1.123 MB / 2.659 GB, free: 18.53 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004145/13.28, allocations: 479.3 kB / 2.659 GB, free: 18.06 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007867/13.29, allocations: 3.587 MB / 2.663 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006178/13.29, allocations: 305.7 kB / 2.663 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001022/13.3, allocations: 116 kB / 2.663 GB, free: 13.98 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 242 * 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: 3 * 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: 0 * Non-linear torn systems: 3 {5 6,5 40,5 6} Notification: Performance of prepare postOptimizeDAE: time 0.0009596/13.3, allocations: 162 kB / 2.663 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001783/13.3, allocations: 324.1 kB / 2.664 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/13.31, allocations: 3.172 MB / 2.667 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.301e-05/13.31, allocations: 24 kB / 2.667 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.452e-05/13.31, allocations: 0 / 2.667 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01271/13.32, allocations: 2.563 MB / 2.669 GB, free: 7.68 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02076/13.34, allocations: 6.501 MB / 2.676 GB, free: 1.129 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/13.34, allocations: 0 / 2.676 GB, free: 1.129 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002864/13.35, allocations: 275.6 kB / 2.676 GB, free: 0.8594 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3855/13.73, allocations: 0.979 MB / 2.677 GB, free: 242.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005715/13.73, allocations: 16.91 kB / 2.677 GB, free: 242.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01027/13.74, allocations: 9.723 MB / 2.686 GB, free: 235 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/13.74, allocations: 0 / 2.686 GB, free: 235 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01267/13.76, allocations: 4.587 MB / 2.691 GB, free: 234.8 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01751/13.77, allocations: 6.627 MB / 2.697 GB, free: 234.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003578/13.78, allocations: 0.7752 MB / 2.698 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00149/13.78, allocations: 10.09 kB / 2.698 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00497/13.78, allocations: 184.3 kB / 2.698 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006904/13.78, allocations: 99.5 kB / 2.698 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002676/13.79, allocations: 56.23 kB / 2.698 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.005913/13.79, allocations: 2.236 MB / 2.701 GB, free: 233.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01731/13.81, allocations: 2.319 MB / 2.703 GB, free: 233.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (rad1.vol[1].dynBal.U,rad1.vol[2].dynBal.U,rad1.vol[3].dynBal.U,rad1.vol[4].dynBal.U,rad1.vol[5].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 6 * 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: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {5 45} Notification: Performance of Backend phase and start with SimCode phase: time 0.002431/13.81, allocations: 0.6714 MB / 2.704 GB, free: 233.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01667/13.83, allocations: 4.853 MB / 2.708 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/13.83, allocations: 192 / 2.708 GB, free: 233.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004809/13.83, allocations: 1.776 MB / 2.71 GB, free: 232.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01543/13.85, allocations: 1.641 MB / 2.712 GB, free: 232.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02261/13.87, allocations: 6.542 MB / 2.718 GB, free: 231.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007502/13.88, allocations: 3.304 MB / 2.721 GB, free: 230.8 MB / 0.8542 GB Notification: Performance of SimCode: time 1.683e-06/13.88, allocations: 3.312 kB / 2.721 GB, free: 230.8 MB / 0.8542 GB