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.SideFins.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.SideFins,fileNamePrefix="Buildings_6_0_0_Buildings_HeatTransfer_Windows_BaseClasses_Examples_SideFins",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.865/3.865, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6126/4.477, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/4.763, allocations: 98.72 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.725/10.49, allocations: 2.189 GB / 2.818 GB, free: 157.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003637/10.49, allocations: 90.92 kB / 2.818 GB, free: 157.5 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.3833/10.87, allocations: 76.84 MB / 2.893 GB, free: 91.86 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/10.87, allocations: 8 kB / 2.893 GB, free: 91.85 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02818/10.9, allocations: 1.657 MB / 2.894 GB, free: 90.21 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003643/10.9, allocations: 0.7575 MB / 2.895 GB, free: 89.42 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/10.9, allocations: 36 kB / 2.895 GB, free: 89.38 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008109/10.91, allocations: 64 kB / 2.895 GB, free: 89.32 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009512/10.91, allocations: 2.003 MB / 2.897 GB, free: 87.31 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007845/10.92, allocations: 1.447 MB / 2.899 GB, free: 85.81 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.532e-05/10.92, allocations: 0 / 2.899 GB, free: 85.81 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004114/10.92, allocations: 4 kB / 2.899 GB, free: 85.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.206e-05/10.92, allocations: 24 kB / 2.899 GB, free: 85.78 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02382/10.95, allocations: 4.141 MB / 2.903 GB, free: 81.56 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007662/10.95, allocations: 1.804 MB / 2.904 GB, free: 79.75 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002968/10.96, allocations: 0.7144 MB / 2.905 GB, free: 79.03 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001872/10.96, allocations: 1.033 MB / 2.906 GB, free: 77.78 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003982/10.96, allocations: 0.9796 MB / 2.907 GB, free: 76.78 MB / 0.823 GB Notification: Performance of pre-optimization done (n=120): time 8.857e-06/10.96, allocations: 0 / 2.907 GB, free: 76.78 MB / 0.823 GB Notification: Performance of matching and sorting (n=120): time 0.01055/10.97, allocations: 1.67 MB / 2.909 GB, free: 75.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.812e-05/10.97, allocations: 222.5 kB / 2.909 GB, free: 74.83 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/10.98, allocations: 0.5346 MB / 2.909 GB, free: 74.29 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002833/10.98, allocations: 25.7 kB / 2.909 GB, free: 74.26 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003069/10.98, allocations: 348.7 kB / 2.91 GB, free: 73.91 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005003/10.98, allocations: 382.2 kB / 2.91 GB, free: 73.53 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001719/10.98, allocations: 0 / 2.91 GB, free: 73.53 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001516/10.98, allocations: 386.8 kB / 2.911 GB, free: 73.14 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/10.98, allocations: 0.639 MB / 2.911 GB, free: 72.5 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00192/10.98, allocations: 0.774 MB / 2.912 GB, free: 71.69 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002824/10.98, allocations: 0.7367 MB / 2.913 GB, free: 70.95 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/10.98, allocations: 0 / 2.913 GB, free: 70.95 MB / 0.823 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00732/10.99, allocations: 1.733 MB / 2.914 GB, free: 69.21 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/10.99, allocations: 10.97 kB / 2.914 GB, free: 69.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/10.99, allocations: 0 / 2.914 GB, free: 69.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/10.99, allocations: 92.77 kB / 2.914 GB, free: 69.11 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005494/11, allocations: 0.4915 MB / 2.915 GB, free: 68.62 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002897/11, allocations: 1.465 MB / 2.916 GB, free: 67.03 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004688/11.01, allocations: 338.9 kB / 2.917 GB, free: 66.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004453/11.01, allocations: 59.88 kB / 2.917 GB, free: 66.64 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (127): * Single equations (assignments): 124 * 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.000488/11.01, allocations: 120.8 kB / 2.917 GB, free: 66.52 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003599/11.01, allocations: 94.86 kB / 2.917 GB, free: 66.42 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009718/11.02, allocations: 2.176 MB / 2.919 GB, free: 64.23 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.097e-05/11.02, allocations: 16 kB / 2.919 GB, free: 64.22 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/11.02, allocations: 0 / 2.919 GB, free: 64.22 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.804e-05/11.02, allocations: 11.88 kB / 2.919 GB, free: 64.21 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/11.03, allocations: 3.572 MB / 2.923 GB, free: 60.58 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/11.03, allocations: 4 kB / 2.923 GB, free: 60.58 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00547/11.03, allocations: 0.4915 MB / 2.923 GB, free: 60.09 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009853/11.03, allocations: 88.77 kB / 2.923 GB, free: 60 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004946/11.04, allocations: 35.86 kB / 2.923 GB, free: 59.96 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002734/11.04, allocations: 1.48 MB / 2.925 GB, free: 58.36 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/11.04, allocations: 4 kB / 2.925 GB, free: 58.36 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007135/11.05, allocations: 1.849 MB / 2.926 GB, free: 56.49 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01122/11.06, allocations: 2.275 MB / 2.929 GB, free: 54.19 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002125/11.06, allocations: 431.3 kB / 2.929 GB, free: 53.75 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008062/11.06, allocations: 15.94 kB / 2.929 GB, free: 53.73 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007185/11.07, allocations: 307.7 kB / 2.929 GB, free: 53.43 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005048/11.07, allocations: 73.11 kB / 2.929 GB, free: 53.36 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005381/11.07, allocations: 55.94 kB / 2.929 GB, free: 53.31 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001313/11.07, allocations: 447.1 kB / 2.93 GB, free: 52.88 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005504/11.07, allocations: 0.538 MB / 2.93 GB, free: 52.34 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 (130): * Single equations (assignments): 127 * 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.004119/11.08, allocations: 1.077 MB / 2.931 GB, free: 51.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.007829/11.09, allocations: 1.697 MB / 2.933 GB, free: 49.58 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/11.09, allocations: 4.094 kB / 2.933 GB, free: 49.58 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004565/11.09, allocations: 0.9552 MB / 2.934 GB, free: 48.62 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003007/11.09, allocations: 162.7 kB / 2.934 GB, free: 48.46 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0148/11.11, allocations: 2.094 MB / 2.936 GB, free: 46.33 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004044/11.11, allocations: 1.336 MB / 2.938 GB, free: 44.96 MB / 0.823 GB Notification: Performance of SimCode: time 3.136e-06/11.11, allocations: 0 / 2.938 GB, free: 44.96 MB / 0.823 GB