Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.354/1.354, allocations: 289.8 MB / 297.1 MB, free: 6.734 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 181.2 kB / 366.3 MB, free: 1.992 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.072/1.072, allocations: 205.1 MB / 0.6256 GB, free: 5.836 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008429/0.0008426, allocations: 87.27 kB / 0.7395 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2087/0.2095, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.6611, allocations: 116.3 MB / 0.9727 GB, free: 68.75 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.252/3.913, allocations: 2.107 GB / 3.08 GB, free: 275.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/3.913, allocations: 108 kB / 3.08 GB, free: 275.8 MB / 0.948 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.135/4.048, allocations: 64.19 MB / 3.142 GB, free: 249.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/4.048, allocations: 8 kB / 3.142 GB, free: 249.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/4.05, allocations: 305.8 kB / 3.143 GB, free: 249.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/4.051, allocations: 0.835 MB / 3.143 GB, free: 248.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/4.051, allocations: 32 kB / 3.144 GB, free: 248.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/4.051, allocations: 67.5 kB / 3.144 GB, free: 248.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001534/4.052, allocations: 1.297 MB / 3.145 GB, free: 247.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/4.054, allocations: 1.126 MB / 3.146 GB, free: 246.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/4.054, allocations: 7.938 kB / 3.146 GB, free: 246.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.522e-05/4.054, allocations: 0 / 3.146 GB, free: 246.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.798e-05/4.054, allocations: 65.33 kB / 3.146 GB, free: 246.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004311/4.058, allocations: 4.535 MB / 3.15 GB, free: 242.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/4.059, allocations: 0.9079 MB / 3.151 GB, free: 242 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004211/4.06, allocations: 396.1 kB / 3.152 GB, free: 241.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001656/4.06, allocations: 117.7 kB / 3.152 GB, free: 241.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005584/4.061, allocations: 0.5197 MB / 3.152 GB, free: 241.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 1.944e-06/4.061, allocations: 3.938 kB / 3.152 GB, free: 241.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.002083/4.063, allocations: 1.345 MB / 3.154 GB, free: 240.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/4.063, allocations: 295.5 kB / 3.154 GB, free: 239.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000762/4.064, allocations: 0.787 MB / 3.155 GB, free: 239.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.902e-05/4.064, allocations: 29.64 kB / 3.155 GB, free: 239.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/4.064, allocations: 411.4 kB / 3.155 GB, free: 238.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/4.064, allocations: 311.8 kB / 3.155 GB, free: 238.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/4.064, allocations: 0 / 3.155 GB, free: 238.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.39e-05/4.064, allocations: 344.8 kB / 3.156 GB, free: 238.2 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003808/4.064, allocations: 320.3 kB / 3.156 GB, free: 238 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004652/4.065, allocations: 0.4997 MB / 3.157 GB, free: 237.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006174/4.066, allocations: 433.5 kB / 3.157 GB, free: 237.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/4.066, allocations: 0 / 3.157 GB, free: 237.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001707/4.067, allocations: 1.058 MB / 3.158 GB, free: 236.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001488/4.067, allocations: 1.138 MB / 3.159 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/4.067, allocations: 4 kB / 3.159 GB, free: 235.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006201/4.068, allocations: 99.62 kB / 3.159 GB, free: 235.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007856/4.069, allocations: 210.3 kB / 3.159 GB, free: 235 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004719/4.069, allocations: 0.654 MB / 3.16 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006809/4.07, allocations: 79.58 kB / 3.16 GB, free: 234.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.749e-05/4.07, allocations: 39.17 kB / 3.16 GB, free: 234.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.541e-06/4.07, allocations: 8.938 kB / 3.16 GB, free: 234.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001125/4.071, allocations: 0.7968 MB / 3.161 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/4.071, allocations: 0 / 3.161 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.244e-06/4.071, allocations: 8 kB / 3.161 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007788/4.072, allocations: 211.1 kB / 3.161 GB, free: 233.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/4.072, allocations: 15.92 kB / 3.161 GB, free: 233.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000591/4.073, allocations: 79.39 kB / 3.161 GB, free: 233.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.049e-05/4.073, allocations: 35.8 kB / 3.161 GB, free: 233.3 MB / 0.948 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.0001514/4.073, allocations: 128.6 kB / 3.161 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/4.073, allocations: 106.7 kB / 3.162 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002423/4.075, allocations: 1.326 MB / 3.163 GB, free: 232.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/4.075, allocations: 15.94 kB / 3.163 GB, free: 232.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/4.075, allocations: 3.984 kB / 3.163 GB, free: 232.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/4.075, allocations: 7.891 kB / 3.163 GB, free: 232.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003096/4.079, allocations: 2.482 MB / 3.165 GB, free: 230.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/4.079, allocations: 4 kB / 3.165 GB, free: 230.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007199/4.079, allocations: 191.6 kB / 3.165 GB, free: 229.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007447/4.08, allocations: 188.2 kB / 3.166 GB, free: 229.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-05/4.08, allocations: 15.73 kB / 3.166 GB, free: 229.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/4.082, allocations: 1.686 MB / 3.167 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/4.082, allocations: 0 / 3.167 GB, free: 228.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001809/4.083, allocations: 1.396 MB / 3.169 GB, free: 226.9 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001874/4.085, allocations: 1.803 MB / 3.17 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004012/4.086, allocations: 358.1 kB / 3.171 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/4.086, allocations: 7.984 kB / 3.171 GB, free: 225 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007627/4.087, allocations: 71.92 kB / 3.171 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/4.087, allocations: 64.19 kB / 3.171 GB, free: 224.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.439e-05/4.087, allocations: 39.48 kB / 3.171 GB, free: 224.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005692/4.087, allocations: 0.6191 MB / 3.172 GB, free: 224.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002605/4.09, allocations: 498.9 kB / 3.172 GB, free: 223.9 MB / 0.948 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.0008175/4.091, allocations: 492.6 kB / 3.172 GB, free: 223.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001627/4.092, allocations: 1.349 MB / 3.174 GB, free: 222.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/4.093, allocations: 0 / 3.174 GB, free: 222.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00071/4.093, allocations: 0.595 MB / 3.174 GB, free: 221.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/4.094, allocations: 270.4 kB / 3.175 GB, free: 221.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002839/4.097, allocations: 1.818 MB / 3.176 GB, free: 219.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008268/4.098, allocations: 1.345 MB / 3.178 GB, free: 218 MB / 0.948 GB Notification: Performance of SimCode: time 3.61e-07/4.098, allocations: 0 / 3.178 GB, free: 218 MB / 0.948 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)