Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.Overhang.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.HeatTransfer.Windows.BaseClasses.Examples.Overhang,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_Overhang",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.961/3.961, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5391/4.5, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/4.744, allocations: 98.73 MB / 0.6283 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.635/10.38, allocations: 2.19 GB / 2.819 GB, free: 157.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004199/10.38, allocations: 91.25 kB / 2.819 GB, free: 157.3 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: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.3655/10.75, allocations: 83.72 MB / 2.901 GB, free: 84.72 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/10.75, allocations: 8 kB / 2.901 GB, free: 84.71 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1885/10.93, allocations: 16.53 MB / 2.917 GB, free: 68.17 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003466/10.94, allocations: 0.9723 MB / 2.918 GB, free: 67.15 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004385/10.94, allocations: 139.3 kB / 2.918 GB, free: 67 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009514/10.94, allocations: 67.94 kB / 2.918 GB, free: 66.93 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01372/10.95, allocations: 4.221 MB / 2.922 GB, free: 62.7 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008743/10.96, allocations: 2.742 MB / 2.925 GB, free: 59.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.986e-05/10.96, allocations: 0 / 2.925 GB, free: 59.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005107/10.96, allocations: 4 kB / 2.925 GB, free: 59.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/10.96, allocations: 28 kB / 2.925 GB, free: 59.87 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08594/11.05, allocations: 10.93 MB / 2.935 GB, free: 48.86 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00793/11.06, allocations: 2.254 MB / 2.938 GB, free: 46.58 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005122/11.06, allocations: 1.554 MB / 2.939 GB, free: 45.03 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001455/11.06, allocations: 1.026 MB / 2.94 GB, free: 43.78 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005744/11.07, allocations: 2.029 MB / 2.942 GB, free: 41.73 MB / 0.823 GB Notification: Performance of pre-optimization done (n=101): time 5.13e-06/11.07, allocations: 3.938 kB / 2.942 GB, free: 41.73 MB / 0.823 GB Notification: Performance of matching and sorting (n=101): time 0.0142/11.08, allocations: 2.978 MB / 2.945 GB, free: 38.73 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001219/11.08, allocations: 222.6 kB / 2.945 GB, free: 38.47 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/11.09, allocations: 0.5267 MB / 2.946 GB, free: 37.93 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.001104/11.09, allocations: 25.7 kB / 2.946 GB, free: 37.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006283/11.09, allocations: 368.4 kB / 2.946 GB, free: 37.54 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00165/11.09, allocations: 323.1 kB / 2.946 GB, free: 37.21 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008834/11.09, allocations: 4 kB / 2.946 GB, free: 37.21 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002776/11.09, allocations: 386.7 kB / 2.947 GB, free: 36.82 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007221/11.1, allocations: 1.634 MB / 2.948 GB, free: 35.18 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006988/11.1, allocations: 1.748 MB / 2.95 GB, free: 33.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004498/11.11, allocations: 1.209 MB / 2.951 GB, free: 32.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/11.11, allocations: 0 / 2.951 GB, free: 32.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.0125/11.12, allocations: 3.256 MB / 2.954 GB, free: 28.93 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/11.12, allocations: 4.062 kB / 2.954 GB, free: 28.93 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/11.12, allocations: 8 kB / 2.954 GB, free: 28.92 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001094/11.12, allocations: 84.78 kB / 2.955 GB, free: 28.83 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04191/11.16, allocations: 3.796 MB / 2.958 GB, free: 25.03 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002766/11.17, allocations: 1.453 MB / 2.96 GB, free: 23.46 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04439/11.21, allocations: 3.566 MB / 2.963 GB, free: 19.89 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009762/11.21, allocations: 99.77 kB / 2.963 GB, free: 19.79 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0009341/11.21, allocations: 124.8 kB / 2.963 GB, free: 19.66 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006445/11.21, allocations: 82.97 kB / 2.963 GB, free: 19.58 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01688/11.23, allocations: 3.878 MB / 2.967 GB, free: 15.68 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/11.23, allocations: 8 kB / 2.967 GB, free: 15.67 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/11.23, allocations: 4 kB / 2.967 GB, free: 15.67 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.266e-05/11.23, allocations: 3.984 kB / 2.967 GB, free: 15.66 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0198/11.25, allocations: 5.516 MB / 2.973 GB, free: 10.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/11.25, allocations: 3.938 kB / 2.973 GB, free: 10.09 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04611/11.3, allocations: 3.793 MB / 2.976 GB, free: 6.289 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/11.3, allocations: 92.67 kB / 2.976 GB, free: 6.195 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007958/11.3, allocations: 71.83 kB / 2.976 GB, free: 6.125 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002642/11.3, allocations: 1.472 MB / 2.978 GB, free: 4.535 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/11.3, allocations: 0 / 2.978 GB, free: 4.535 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01256/11.31, allocations: 3.172 MB / 2.981 GB, free: 1.34 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.3131/11.63, allocations: 3.585 MB / 2.985 GB, free: 345.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002337/11.63, allocations: 0.6291 MB / 2.985 GB, free: 345.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009212/11.63, allocations: 10.28 kB / 2.985 GB, free: 345.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03944/11.67, allocations: 3.544 MB / 2.989 GB, free: 345.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000335/11.67, allocations: 69.12 kB / 2.989 GB, free: 345.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007401/11.67, allocations: 104.3 kB / 2.989 GB, free: 345.2 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0008882/11.67, allocations: 437.6 kB / 2.989 GB, free: 345.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004803/11.68, allocations: 0.7329 MB / 2.99 GB, free: 345.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTim1.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002979/11.68, allocations: 1.073 MB / 2.991 GB, free: 344.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01111/11.69, allocations: 3.558 MB / 2.994 GB, free: 344.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.794e-06/11.69, allocations: 0 / 2.994 GB, free: 344.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.006093/11.7, allocations: 1.833 MB / 2.996 GB, free: 344.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/11.7, allocations: 163.2 kB / 2.996 GB, free: 344.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/11.71, allocations: 3.196 MB / 3 GB, free: 344.3 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005284/11.72, allocations: 1.555 MB / 3.001 GB, free: 343.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.613e-06/11.72, allocations: 0 / 3.001 GB, free: 343.6 MB / 0.823 GB