Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.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.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine",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.973/3.973, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5437/4.517, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/4.738, allocations: 98.72 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.477/10.21, allocations: 2.219 GB / 2.848 GB, free: 128.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003679/10.21, allocations: 110.8 kB / 2.848 GB, free: 128.8 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: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.2982/10.51, allocations: 62.72 MB / 2.909 GB, free: 75.86 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/10.51, allocations: 11.98 kB / 2.909 GB, free: 75.84 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007631/10.52, allocations: 437.7 kB / 2.91 GB, free: 75.41 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003526/10.52, allocations: 0.7678 MB / 2.91 GB, free: 74.61 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/10.52, allocations: 32 kB / 2.91 GB, free: 74.57 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005664/10.53, allocations: 60 kB / 2.91 GB, free: 74.52 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005801/10.53, allocations: 1.382 MB / 2.912 GB, free: 73.13 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004747/10.54, allocations: 1.16 MB / 2.913 GB, free: 71.89 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.863e-05/10.54, allocations: 0 / 2.913 GB, free: 71.89 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002712/10.54, allocations: 8 kB / 2.913 GB, free: 71.88 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/10.54, allocations: 57.89 kB / 2.913 GB, free: 71.82 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0164/10.55, allocations: 4.62 MB / 2.917 GB, free: 66.97 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004177/10.56, allocations: 0.9845 MB / 2.918 GB, free: 65.96 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/10.56, allocations: 419.9 kB / 2.919 GB, free: 65.55 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001633/10.56, allocations: 0.5501 MB / 2.919 GB, free: 64.89 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002297/10.56, allocations: 0.5637 MB / 2.92 GB, free: 64.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=94): time 7.704e-06/10.56, allocations: 0 / 2.92 GB, free: 64.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=95): time 0.008444/10.57, allocations: 1.461 MB / 2.921 GB, free: 62.82 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/10.57, allocations: 273.8 kB / 2.922 GB, free: 62.5 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003842/10.58, allocations: 0.7385 MB / 2.922 GB, free: 61.75 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003753/10.58, allocations: 29.8 kB / 2.922 GB, free: 61.71 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004281/10.58, allocations: 399.9 kB / 2.923 GB, free: 61.32 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004795/10.58, allocations: 307.4 kB / 2.923 GB, free: 61.01 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.783e-05/10.58, allocations: 0 / 2.923 GB, free: 61.01 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001964/10.58, allocations: 394.8 kB / 2.923 GB, free: 60.62 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/10.58, allocations: 365.8 kB / 2.924 GB, free: 60.26 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/10.58, allocations: 0.5346 MB / 2.924 GB, free: 59.66 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002355/10.58, allocations: 0.5337 MB / 2.925 GB, free: 59.13 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/10.58, allocations: 3.938 kB / 2.925 GB, free: 59.12 MB / 0.823 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.005042/10.59, allocations: 1.233 MB / 2.926 GB, free: 57.88 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000266/10.59, allocations: 1.142 MB / 2.927 GB, free: 56.65 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/10.59, allocations: 4 kB / 2.927 GB, free: 56.65 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001792/10.59, allocations: 100.8 kB / 2.927 GB, free: 56.55 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003645/10.59, allocations: 223.7 kB / 2.927 GB, free: 56.33 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/10.59, allocations: 0.6576 MB / 2.928 GB, free: 55.64 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003038/10.6, allocations: 91.47 kB / 2.928 GB, free: 55.55 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004011/10.6, allocations: 43.98 kB / 2.928 GB, free: 55.51 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/10.6, allocations: 4 kB / 2.928 GB, free: 55.51 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005848/10.6, allocations: 0.9898 MB / 2.929 GB, free: 54.52 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.148e-05/10.6, allocations: 8.031 kB / 2.929 GB, free: 54.51 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/10.6, allocations: 8 kB / 2.929 GB, free: 54.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004086/10.61, allocations: 219.7 kB / 2.929 GB, free: 54.29 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.237e-05/10.61, allocations: 11.98 kB / 2.929 GB, free: 54.28 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/10.61, allocations: 91.42 kB / 2.929 GB, free: 54.19 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000178/10.61, allocations: 43.92 kB / 2.929 GB, free: 54.14 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 3 * 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 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003957/10.61, allocations: 124.8 kB / 2.93 GB, free: 54.02 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003561/10.61, allocations: 106.8 kB / 2.93 GB, free: 53.91 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006251/10.62, allocations: 1.463 MB / 2.931 GB, free: 52.43 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-05/10.62, allocations: 15.91 kB / 2.931 GB, free: 52.41 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/10.62, allocations: 0 / 2.931 GB, free: 52.41 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.432e-05/10.62, allocations: 7.969 kB / 2.931 GB, free: 52.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/10.63, allocations: 2.606 MB / 2.934 GB, free: 49.72 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/10.63, allocations: 0 / 2.934 GB, free: 49.72 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002901/10.63, allocations: 203.9 kB / 2.934 GB, free: 49.52 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001532/10.63, allocations: 188.7 kB / 2.934 GB, free: 49.34 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002687/10.63, allocations: 23.92 kB / 2.934 GB, free: 49.31 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002814/10.64, allocations: 1.681 MB / 2.936 GB, free: 47.52 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/10.64, allocations: 7.938 kB / 2.936 GB, free: 47.51 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004923/10.64, allocations: 1.499 MB / 2.937 GB, free: 45.93 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005163/10.65, allocations: 1.925 MB / 2.939 GB, free: 43.92 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/10.65, allocations: 359.5 kB / 2.939 GB, free: 43.55 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002893/10.65, allocations: 4 kB / 2.939 GB, free: 43.55 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00191/10.65, allocations: 87.81 kB / 2.94 GB, free: 43.46 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003088/10.65, allocations: 64.69 kB / 2.94 GB, free: 43.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002621/10.65, allocations: 35.98 kB / 2.94 GB, free: 43.36 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001903/10.65, allocations: 0.585 MB / 2.94 GB, free: 42.79 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.009115/10.66, allocations: 0.5504 MB / 2.941 GB, free: 42.23 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (101): * Single equations (assignments): 98 * 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 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002733/10.66, allocations: 0.5636 MB / 2.941 GB, free: 41.72 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.007018/10.67, allocations: 1.622 MB / 2.943 GB, free: 40.06 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/10.67, allocations: 3.953 kB / 2.943 GB, free: 40.05 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00168/10.67, allocations: 0.6287 MB / 2.943 GB, free: 39.42 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/10.67, allocations: 200.3 kB / 2.944 GB, free: 39.23 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006081/10.68, allocations: 1.759 MB / 2.945 GB, free: 37.41 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001876/10.68, allocations: 1.31 MB / 2.947 GB, free: 36.07 MB / 0.823 GB Notification: Performance of SimCode: time 2.134e-06/10.68, allocations: 0 / 2.947 GB, free: 36.07 MB / 0.823 GB