Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_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.789/3.789, allocations: 433 MB / 440.3 MB, free: 4.793 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4998/4.289, allocations: 104.3 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/4.506, allocations: 98.72 MB / 0.6283 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.542/10.05, allocations: 2.215 GB / 2.844 GB, free: 109.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003934/10.05, allocations: 105.8 kB / 2.844 GB, free: 109.6 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.2552/10.3, allocations: 58.27 MB / 2.901 GB, free: 60 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.645e-05/10.3, allocations: 8 kB / 2.901 GB, free: 60 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005231/10.31, allocations: 433.7 kB / 2.901 GB, free: 59.57 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002685/10.31, allocations: 0.7755 MB / 2.902 GB, free: 58.75 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/10.31, allocations: 32 kB / 2.902 GB, free: 58.72 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005195/10.31, allocations: 68 kB / 2.902 GB, free: 58.66 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003801/10.32, allocations: 1.378 MB / 2.903 GB, free: 57.27 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003849/10.32, allocations: 1.16 MB / 2.904 GB, free: 56.03 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.862e-05/10.32, allocations: 0 / 2.904 GB, free: 56.03 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003613/10.32, allocations: 4 kB / 2.904 GB, free: 56.03 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/10.32, allocations: 57.88 kB / 2.904 GB, free: 55.97 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01141/10.33, allocations: 4.602 MB / 2.909 GB, free: 51.13 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/10.34, allocations: 0.9806 MB / 2.91 GB, free: 50.13 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009586/10.34, allocations: 424 kB / 2.91 GB, free: 49.71 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001548/10.34, allocations: 0.5462 MB / 2.911 GB, free: 49.05 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001769/10.34, allocations: 0.5637 MB / 2.911 GB, free: 48.47 MB / 0.823 GB Notification: Performance of pre-optimization done (n=94): time 6.352e-06/10.34, allocations: 0 / 2.911 GB, free: 48.47 MB / 0.823 GB Notification: Performance of matching and sorting (n=95): time 0.00638/10.35, allocations: 1.468 MB / 2.913 GB, free: 46.98 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.906e-05/10.35, allocations: 273.8 kB / 2.913 GB, free: 46.65 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/10.35, allocations: 0.7346 MB / 2.914 GB, free: 45.91 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003147/10.35, allocations: 25.7 kB / 2.914 GB, free: 45.88 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004159/10.35, allocations: 399.9 kB / 2.914 GB, free: 45.48 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006089/10.35, allocations: 303.4 kB / 2.915 GB, free: 45.18 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/10.35, allocations: 4.094 kB / 2.915 GB, free: 45.18 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002664/10.35, allocations: 398.7 kB / 2.915 GB, free: 44.78 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009667/10.35, allocations: 361.9 kB / 2.915 GB, free: 44.42 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/10.35, allocations: 0.5378 MB / 2.916 GB, free: 43.82 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00209/10.35, allocations: 0.5376 MB / 2.916 GB, free: 43.29 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/10.35, allocations: 0 / 2.916 GB, free: 43.29 MB / 0.823 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.004884/10.36, allocations: 1.237 MB / 2.918 GB, free: 42.04 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002484/10.36, allocations: 1.134 MB / 2.919 GB, free: 40.82 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/10.36, allocations: 4 kB / 2.919 GB, free: 40.82 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001174/10.36, allocations: 108.8 kB / 2.919 GB, free: 40.71 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002248/10.36, allocations: 219.8 kB / 2.919 GB, free: 40.49 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001008/10.36, allocations: 0.6615 MB / 2.92 GB, free: 39.8 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002021/10.37, allocations: 95.47 kB / 2.92 GB, free: 39.71 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/10.37, allocations: 39.98 kB / 2.92 GB, free: 39.67 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/10.37, allocations: 4 kB / 2.92 GB, free: 39.67 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003526/10.37, allocations: 0.9934 MB / 2.921 GB, free: 38.68 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/10.37, allocations: 4 kB / 2.921 GB, free: 38.67 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/10.37, allocations: 8 kB / 2.921 GB, free: 38.66 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002114/10.37, allocations: 224.1 kB / 2.921 GB, free: 38.45 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/10.37, allocations: 11.94 kB / 2.921 GB, free: 38.43 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/10.37, allocations: 95.31 kB / 2.921 GB, free: 38.34 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001894/10.37, allocations: 39.98 kB / 2.921 GB, free: 38.3 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.0004272/10.37, allocations: 128.8 kB / 2.921 GB, free: 38.17 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000412/10.37, allocations: 102.8 kB / 2.921 GB, free: 38.07 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006328/10.38, allocations: 1.463 MB / 2.923 GB, free: 36.58 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/10.38, allocations: 15.91 kB / 2.923 GB, free: 36.57 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/10.38, allocations: 0 / 2.923 GB, free: 36.57 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/10.38, allocations: 3.984 kB / 2.923 GB, free: 36.56 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007657/10.39, allocations: 2.606 MB / 2.925 GB, free: 33.89 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/10.39, allocations: 4 kB / 2.925 GB, free: 33.88 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00193/10.39, allocations: 207.9 kB / 2.925 GB, free: 33.68 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001488/10.39, allocations: 188.7 kB / 2.926 GB, free: 33.49 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001753/10.39, allocations: 23.92 kB / 2.926 GB, free: 33.47 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002819/10.4, allocations: 1.677 MB / 2.927 GB, free: 31.68 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/10.4, allocations: 7.938 kB / 2.927 GB, free: 31.67 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004908/10.4, allocations: 1.507 MB / 2.929 GB, free: 30.08 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004843/10.41, allocations: 1.917 MB / 2.931 GB, free: 28.08 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/10.41, allocations: 359.5 kB / 2.931 GB, free: 27.71 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000293/10.41, allocations: 4 kB / 2.931 GB, free: 27.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/10.41, allocations: 91.84 kB / 2.931 GB, free: 27.61 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001999/10.41, allocations: 64.59 kB / 2.931 GB, free: 27.55 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001388/10.41, allocations: 43.97 kB / 2.931 GB, free: 27.51 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001138/10.41, allocations: 0.5733 MB / 2.932 GB, free: 26.94 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004637/10.41, allocations: 0.5387 MB / 2.932 GB, free: 26.4 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.001637/10.42, allocations: 0.5663 MB / 2.933 GB, free: 25.88 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004667/10.42, allocations: 1.627 MB / 2.934 GB, free: 24.21 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/10.42, allocations: 0 / 2.934 GB, free: 24.21 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001736/10.42, allocations: 0.6281 MB / 2.935 GB, free: 23.58 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/10.43, allocations: 199.1 kB / 2.935 GB, free: 23.39 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005774/10.43, allocations: 1.763 MB / 2.937 GB, free: 21.57 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001653/10.43, allocations: 1.314 MB / 2.938 GB, free: 20.23 MB / 0.823 GB Notification: Performance of SimCode: time 1.764e-06/10.43, allocations: 0 / 2.938 GB, free: 20.23 MB / 0.823 GB