Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.DC.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.DC.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_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 4.131/4.131, allocations: 433 MB / 440.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5785/4.709, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/4.925, allocations: 98.72 MB / 0.6283 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.864/10.79, allocations: 2.214 GB / 2.842 GB, free: 134.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004618/10.79, allocations: 94.31 kB / 2.843 GB, free: 134.8 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.3163/11.11, allocations: 51.08 MB / 2.892 GB, free: 92.14 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/11.11, allocations: 8 kB / 2.892 GB, free: 92.13 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004698/11.11, allocations: 417.1 kB / 2.893 GB, free: 91.72 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002329/11.11, allocations: 0.7361 MB / 2.894 GB, free: 91.07 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.791e-05/11.11, allocations: 35.94 kB / 2.894 GB, free: 91.04 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/11.11, allocations: 56 kB / 2.894 GB, free: 90.98 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004727/11.12, allocations: 1.264 MB / 2.895 GB, free: 90.04 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005554/11.12, allocations: 1.009 MB / 2.896 GB, free: 89.24 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.982e-05/11.12, allocations: 7.938 kB / 2.896 GB, free: 89.23 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003609/11.12, allocations: 4 kB / 2.896 GB, free: 89.23 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001232/11.12, allocations: 45.98 kB / 2.896 GB, free: 89.19 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01675/11.14, allocations: 4.273 MB / 2.9 GB, free: 85.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003292/11.14, allocations: 0.7862 MB / 2.901 GB, free: 84.76 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/11.15, allocations: 326.8 kB / 2.901 GB, free: 84.44 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001437/11.15, allocations: 478.1 kB / 2.902 GB, free: 83.88 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001626/11.15, allocations: 460.4 kB / 2.902 GB, free: 83.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=80): time 6.593e-06/11.15, allocations: 0 / 2.902 GB, free: 83.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=80): time 0.004954/11.15, allocations: 0.7846 MB / 2.903 GB, free: 82.61 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001712/11.15, allocations: 325.1 kB / 2.903 GB, free: 82.21 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002312/11.16, allocations: 0.7228 MB / 2.904 GB, free: 81.49 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003357/11.16, allocations: 25.7 kB / 2.904 GB, free: 81.46 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004799/11.16, allocations: 387.8 kB / 2.904 GB, free: 81.07 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004416/11.16, allocations: 256.1 kB / 2.904 GB, free: 80.82 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/11.16, allocations: 4.062 kB / 2.904 GB, free: 80.81 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002212/11.16, allocations: 390.8 kB / 2.905 GB, free: 80.42 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/11.16, allocations: 257.5 kB / 2.905 GB, free: 80.17 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00133/11.16, allocations: 436 kB / 2.906 GB, free: 79.68 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00248/11.16, allocations: 392.3 kB / 2.906 GB, free: 79.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/11.16, allocations: 3.938 kB / 2.906 GB, free: 79.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004789/11.17, allocations: 0.8966 MB / 2.907 GB, free: 78.39 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002904/11.17, allocations: 0.9592 MB / 2.908 GB, free: 77.36 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.915e-05/11.17, allocations: 4 kB / 2.908 GB, free: 77.35 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003182/11.17, allocations: 28.84 kB / 2.908 GB, free: 77.32 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002818/11.17, allocations: 187.7 kB / 2.908 GB, free: 77.14 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005947/11.17, allocations: 0.5484 MB / 2.908 GB, free: 76.56 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002609/11.18, allocations: 99.34 kB / 2.909 GB, free: 76.46 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002791/11.18, allocations: 35.89 kB / 2.909 GB, free: 76.43 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/11.18, allocations: 4 kB / 2.909 GB, free: 76.43 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004184/11.18, allocations: 0.7662 MB / 2.909 GB, free: 75.66 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/11.18, allocations: 11.94 kB / 2.909 GB, free: 75.65 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.641e-05/11.18, allocations: 8 kB / 2.909 GB, free: 75.64 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002784/11.18, allocations: 192.1 kB / 2.91 GB, free: 75.45 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/11.18, allocations: 15.92 kB / 2.91 GB, free: 75.44 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/11.19, allocations: 83.39 kB / 2.91 GB, free: 75.36 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002268/11.19, allocations: 31.98 kB / 2.91 GB, free: 75.32 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (97): * Single equations (assignments): 93 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004982/11.19, allocations: 126.5 kB / 2.91 GB, free: 75.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000516/11.19, allocations: 102.8 kB / 2.91 GB, free: 75.09 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006582/11.19, allocations: 1.036 MB / 2.911 GB, free: 74.05 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-05/11.19, allocations: 8 kB / 2.911 GB, free: 74.04 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.339e-05/11.19, allocations: 4 kB / 2.911 GB, free: 74.04 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.197e-05/11.19, allocations: 3.984 kB / 2.911 GB, free: 74.03 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008547/11.2, allocations: 2.214 MB / 2.913 GB, free: 71.74 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/11.2, allocations: 4 kB / 2.913 GB, free: 71.74 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003521/11.21, allocations: 175.9 kB / 2.913 GB, free: 71.57 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000207/11.21, allocations: 24.84 kB / 2.913 GB, free: 71.54 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001211/11.21, allocations: 19.89 kB / 2.913 GB, free: 71.52 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009882/11.21, allocations: 1.224 MB / 2.914 GB, free: 70.18 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/11.21, allocations: 8.188 kB / 2.914 GB, free: 70.18 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004177/11.21, allocations: 1.009 MB / 2.915 GB, free: 69.11 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005638/11.22, allocations: 1.427 MB / 2.917 GB, free: 67.62 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001448/11.22, allocations: 331.5 kB / 2.917 GB, free: 67.28 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004485/11.22, allocations: 0 / 2.917 GB, free: 67.28 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002533/11.22, allocations: 71.92 kB / 2.917 GB, free: 67.21 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003406/11.22, allocations: 56.7 kB / 2.917 GB, free: 67.15 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002146/11.22, allocations: 31.98 kB / 2.917 GB, free: 67.12 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001406/11.22, allocations: 0.5655 MB / 2.918 GB, free: 66.56 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004558/11.23, allocations: 0.5916 MB / 2.918 GB, free: 65.96 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * 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 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001855/11.23, allocations: 0.5618 MB / 2.919 GB, free: 65.45 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003275/11.23, allocations: 1.249 MB / 2.92 GB, free: 64.16 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/11.23, allocations: 384 / 2.92 GB, free: 64.16 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/11.23, allocations: 476.6 kB / 2.921 GB, free: 63.69 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002138/11.24, allocations: 190 kB / 2.921 GB, free: 63.51 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006705/11.24, allocations: 1.53 MB / 2.922 GB, free: 61.94 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001843/11.25, allocations: 1.263 MB / 2.924 GB, free: 60.64 MB / 0.823 GB Notification: Performance of SimCode: time 2.114e-06/11.25, allocations: 3.938 kB / 2.924 GB, free: 60.64 MB / 0.823 GB