Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_6_0_0_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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.149/4.149, allocations: 433 MB / 440.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5551/4.704, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/5.002, allocations: 98.72 MB / 0.6283 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.859/10.86, allocations: 2.184 GB / 2.813 GB, free: 162.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003461/10.86, allocations: 90.14 kB / 2.813 GB, free: 162.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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.4023/11.26, allocations: 89.61 MB / 2.9 GB, free: 84.11 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/11.26, allocations: 8 kB / 2.9 GB, free: 84.11 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02138/11.29, allocations: 1.149 MB / 2.901 GB, free: 82.95 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003194/11.29, allocations: 0.9239 MB / 2.902 GB, free: 81.97 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.189e-05/11.29, allocations: 43.98 kB / 2.902 GB, free: 81.93 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003215/11.29, allocations: 76 kB / 2.902 GB, free: 81.86 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00576/11.29, allocations: 2.124 MB / 2.904 GB, free: 79.73 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003774/11.3, allocations: 1.416 MB / 2.906 GB, free: 78.23 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.093e-05/11.3, allocations: 3.938 kB / 2.906 GB, free: 78.23 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002674/11.3, allocations: 8 kB / 2.906 GB, free: 78.22 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.241e-05/11.3, allocations: 36 kB / 2.906 GB, free: 78.19 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02115/11.32, allocations: 4.811 MB / 2.911 GB, free: 73.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004221/11.32, allocations: 1.498 MB / 2.912 GB, free: 71.79 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/11.33, allocations: 0.5523 MB / 2.913 GB, free: 71.23 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001214/11.33, allocations: 0.4909 MB / 2.913 GB, free: 70.64 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002165/11.33, allocations: 0.862 MB / 2.914 GB, free: 69.75 MB / 0.823 GB Notification: Performance of pre-optimization done (n=137): time 4.659e-06/11.33, allocations: 0 / 2.914 GB, free: 69.75 MB / 0.823 GB Notification: Performance of matching and sorting (n=137): time 0.00801/11.34, allocations: 1.589 MB / 2.915 GB, free: 68.15 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/11.34, allocations: 406.9 kB / 2.916 GB, free: 67.66 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002058/11.34, allocations: 0.8223 MB / 2.917 GB, free: 66.82 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004936/11.34, allocations: 29.7 kB / 2.917 GB, free: 66.79 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/11.34, allocations: 424.8 kB / 2.917 GB, free: 66.36 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005882/11.34, allocations: 429.5 kB / 2.917 GB, free: 65.93 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/11.34, allocations: 0 / 2.917 GB, free: 65.93 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001079/11.34, allocations: 357.8 kB / 2.918 GB, free: 65.58 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001492/11.34, allocations: 498.5 kB / 2.918 GB, free: 65.09 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/11.35, allocations: 0.6847 MB / 2.919 GB, free: 64.34 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004035/11.35, allocations: 0.7205 MB / 2.92 GB, free: 63.62 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.935e-05/11.35, allocations: 0 / 2.92 GB, free: 63.62 MB / 0.823 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01486/11.36, allocations: 1.705 MB / 2.921 GB, free: 61.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/11.36, allocations: 8.188 kB / 2.921 GB, free: 61.89 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.22e-05/11.36, allocations: 4 kB / 2.921 GB, free: 61.89 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003705/11.37, allocations: 173.5 kB / 2.921 GB, free: 61.71 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01044/11.38, allocations: 0.5461 MB / 2.922 GB, free: 61.16 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005994/11.38, allocations: 2.922 MB / 2.925 GB, free: 58 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006354/11.39, allocations: 274.8 kB / 2.925 GB, free: 57.73 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004453/11.39, allocations: 71.92 kB / 2.925 GB, free: 57.66 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTim1.tNext,weaDatInpCon.conTim1.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 4 * 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: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000534/11.39, allocations: 136.6 kB / 2.925 GB, free: 57.52 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004995/11.39, allocations: 130.4 kB / 2.925 GB, free: 57.39 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01181/11.4, allocations: 2.251 MB / 2.928 GB, free: 55.12 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.335e-05/11.4, allocations: 23.98 kB / 2.928 GB, free: 55.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/11.4, allocations: 0 / 2.928 GB, free: 55.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.695e-05/11.4, allocations: 11.97 kB / 2.928 GB, free: 55.09 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003483/11.41, allocations: 1.426 MB / 2.929 GB, free: 53.62 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/11.41, allocations: 0 / 2.929 GB, free: 53.62 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009878/11.42, allocations: 0.5422 MB / 2.93 GB, free: 53.08 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00196/11.42, allocations: 169.5 kB / 2.93 GB, free: 52.91 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005024/11.42, allocations: 47.94 kB / 2.93 GB, free: 52.86 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005486/11.43, allocations: 2.965 MB / 2.933 GB, free: 49.65 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/11.43, allocations: 0 / 2.933 GB, free: 49.65 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008515/11.43, allocations: 1.763 MB / 2.934 GB, free: 47.86 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007919/11.44, allocations: 2.193 MB / 2.937 GB, free: 45.62 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/11.44, allocations: 0.5104 MB / 2.937 GB, free: 45.09 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004978/11.44, allocations: 4 kB / 2.937 GB, free: 45.09 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006283/11.45, allocations: 243.7 kB / 2.937 GB, free: 44.85 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005545/11.45, allocations: 97.16 kB / 2.937 GB, free: 44.76 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003243/11.45, allocations: 79.94 kB / 2.937 GB, free: 44.68 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001389/11.45, allocations: 0.6458 MB / 2.938 GB, free: 44.02 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003864/11.46, allocations: 0.6274 MB / 2.939 GB, free: 43.39 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTim1.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTim1.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTim1.tNext,weaDatInpCon.conTim.tNext,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003007/11.46, allocations: 1.269 MB / 2.94 GB, free: 42.2 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004862/11.47, allocations: 1.618 MB / 2.942 GB, free: 40.54 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/11.47, allocations: 4 kB / 2.942 GB, free: 40.53 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002997/11.47, allocations: 0.9532 MB / 2.942 GB, free: 39.56 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003275/11.47, allocations: 305.6 kB / 2.943 GB, free: 39.26 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/11.49, allocations: 2.527 MB / 2.945 GB, free: 36.69 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002508/11.49, allocations: 1.509 MB / 2.947 GB, free: 35.15 MB / 0.823 GB Notification: Performance of SimCode: time 2.494e-06/11.49, allocations: 0 / 2.947 GB, free: 35.15 MB / 0.823 GB