Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_7_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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.323/2.323, allocations: 248.6 MB / 255.9 MB, free: 7.113 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001691/0.001691, allocations: 185.2 kB / 315.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.108/2.108, allocations: 205.1 MB / 0.5658 GB, free: 368 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001366/0.001366, allocations: 98.77 kB / 0.67 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4949/0.4963, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.7375, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.276/7.014, allocations: 2.225 GB / 3.108 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003938/7.014, allocations: 109.2 kB / 3.108 GB, free: 141.8 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 277 * Number of variables: 277 Notification: Performance of Generate backend data structure: time 0.3068/7.321, allocations: 64.2 MB / 3.171 GB, free: 83.24 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/7.321, allocations: 8 kB / 3.171 GB, free: 83.23 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004549/7.326, allocations: 305.8 kB / 3.171 GB, free: 82.93 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00375/7.329, allocations: 0.8417 MB / 3.172 GB, free: 82.05 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000127/7.33, allocations: 35.98 kB / 3.172 GB, free: 82.01 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005724/7.33, allocations: 67.91 kB / 3.172 GB, free: 81.95 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00556/7.336, allocations: 1.288 MB / 3.174 GB, free: 80.65 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00531/7.341, allocations: 1.13 MB / 3.175 GB, free: 79.44 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-05/7.341, allocations: 8 kB / 3.175 GB, free: 79.43 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003005/7.342, allocations: 0 / 3.175 GB, free: 79.43 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001331/7.342, allocations: 61.97 kB / 3.175 GB, free: 79.37 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0159/7.358, allocations: 4.531 MB / 3.179 GB, free: 74.6 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003439/7.361, allocations: 0.9026 MB / 3.18 GB, free: 73.68 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001476/7.363, allocations: 395.9 kB / 3.181 GB, free: 73.29 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004485/7.363, allocations: 117.9 kB / 3.181 GB, free: 73.16 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001733/7.365, allocations: 0.5325 MB / 3.181 GB, free: 72.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=94): time 7.014e-06/7.365, allocations: 0 / 3.181 GB, free: 72.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.006442/7.372, allocations: 1.347 MB / 3.182 GB, free: 71.24 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/7.372, allocations: 299.5 kB / 3.183 GB, free: 70.88 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002499/7.374, allocations: 0.7821 MB / 3.184 GB, free: 70.09 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003709/7.375, allocations: 25.81 kB / 3.184 GB, free: 70.05 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005343/7.375, allocations: 415.6 kB / 3.184 GB, free: 69.64 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005525/7.376, allocations: 311.4 kB / 3.184 GB, free: 69.33 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/7.376, allocations: 0 / 3.184 GB, free: 69.33 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001285/7.376, allocations: 337.9 kB / 3.185 GB, free: 69 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/7.377, allocations: 318.4 kB / 3.185 GB, free: 68.68 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/7.379, allocations: 0.504 MB / 3.185 GB, free: 68.11 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00207/7.381, allocations: 433.6 kB / 3.186 GB, free: 67.69 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.506e-05/7.381, allocations: 4 kB / 3.186 GB, free: 67.68 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005743/7.387, allocations: 1.053 MB / 3.187 GB, free: 66.62 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003469/7.387, allocations: 1.133 MB / 3.188 GB, free: 65.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.178e-05/7.387, allocations: 7.938 kB / 3.188 GB, free: 65.39 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001687/7.389, allocations: 112.7 kB / 3.188 GB, free: 65.28 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002629/7.392, allocations: 195.7 kB / 3.188 GB, free: 65.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001419/7.393, allocations: 0.6655 MB / 3.189 GB, free: 64.39 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002575/7.396, allocations: 83.5 kB / 3.189 GB, free: 64.31 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003831/7.396, allocations: 35.97 kB / 3.189 GB, free: 64.28 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/7.396, allocations: 4 kB / 3.189 GB, free: 64.27 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003818/7.4, allocations: 0.8017 MB / 3.19 GB, free: 63.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.768e-05/7.4, allocations: 4 kB / 3.19 GB, free: 63.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/7.4, allocations: 4 kB / 3.19 GB, free: 63.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002627/7.403, allocations: 207.7 kB / 3.19 GB, free: 63.26 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.688e-05/7.403, allocations: 8 kB / 3.19 GB, free: 63.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002148/7.405, allocations: 79.42 kB / 3.19 GB, free: 63.17 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003534/7.406, allocations: 39.98 kB / 3.19 GB, free: 63.13 MB / 0.8698 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.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * 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.0005448/7.406, allocations: 124.7 kB / 3.19 GB, free: 63 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005918/7.407, allocations: 106.7 kB / 3.19 GB, free: 62.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007835/7.415, allocations: 1.327 MB / 3.192 GB, free: 61.56 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.533e-05/7.415, allocations: 16 kB / 3.192 GB, free: 61.55 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/7.415, allocations: 0 / 3.192 GB, free: 61.55 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.834e-05/7.415, allocations: 7.922 kB / 3.192 GB, free: 61.54 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01065/7.425, allocations: 2.494 MB / 3.194 GB, free: 58.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/7.426, allocations: 4 kB / 3.194 GB, free: 58.98 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002447/7.428, allocations: 187.7 kB / 3.194 GB, free: 58.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002209/7.43, allocations: 188.8 kB / 3.194 GB, free: 58.61 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003202/7.431, allocations: 19.98 kB / 3.194 GB, free: 58.59 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004093/7.435, allocations: 1.685 MB / 3.196 GB, free: 56.78 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/7.435, allocations: 7.938 kB / 3.196 GB, free: 56.77 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00589/7.441, allocations: 1.394 MB / 3.197 GB, free: 55.29 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006431/7.447, allocations: 1.801 MB / 3.199 GB, free: 53.41 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001552/7.449, allocations: 351.4 kB / 3.2 GB, free: 53.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006757/7.45, allocations: 4 kB / 3.2 GB, free: 53.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002695/7.452, allocations: 71.92 kB / 3.2 GB, free: 52.97 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004613/7.453, allocations: 68.81 kB / 3.2 GB, free: 52.91 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002201/7.453, allocations: 39.97 kB / 3.2 GB, free: 52.87 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002138/7.455, allocations: 0.6202 MB / 3.2 GB, free: 52.25 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007857/7.463, allocations: 491.8 kB / 3.201 GB, free: 51.77 MB / 0.8698 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * 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.002329/7.466, allocations: 496.6 kB / 3.201 GB, free: 51.38 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005742/7.471, allocations: 1.341 MB / 3.203 GB, free: 50.04 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.376e-05/7.471, allocations: 0 / 3.203 GB, free: 50.04 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002397/7.474, allocations: 0.6002 MB / 3.203 GB, free: 49.44 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003883/7.478, allocations: 278 kB / 3.203 GB, free: 49.17 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009467/7.487, allocations: 1.808 MB / 3.205 GB, free: 47.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002653/7.49, allocations: 1.337 MB / 3.207 GB, free: 45.94 MB / 0.8698 GB Notification: Performance of SimCode: time 1.482e-06/7.49, allocations: 0 / 3.207 GB, free: 45.94 MB / 0.8698 GB