Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.107/2.107, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00216/0.002159, allocations: 181.3 kB / 360.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.1 MB / 0.6188 GB, free: 12.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001224/0.001224, allocations: 91.98 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.142e-05/1.145e-05, allocations: 4 kB / 0.8503 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5223/0.5223, allocations: 115.2 MB / 0.9628 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.365/4.888, allocations: 2.102 GB / 3.065 GB, free: 264 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003516/4.888, allocations: 107.4 kB / 3.065 GB, free: 264 MB / 0.9323 GB Notification: Performance of FrontEnd: time 0.2201/5.108, allocations: 58.27 MB / 3.122 GB, free: 236 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001284/5.108, allocations: 32 kB / 3.122 GB, free: 235.9 MB / 0.9323 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.003457/5.112, allocations: 1.407 MB / 3.123 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/5.112, allocations: 8.031 kB / 3.123 GB, free: 234.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002677/5.115, allocations: 313.7 kB / 3.123 GB, free: 234.3 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/5.117, allocations: 0.8283 MB / 3.124 GB, free: 233.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.053e-05/5.117, allocations: 37.67 kB / 3.124 GB, free: 233.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001943/5.117, allocations: 60.75 kB / 3.124 GB, free: 233.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003018/5.12, allocations: 1.305 MB / 3.125 GB, free: 232.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002501/5.123, allocations: 1.127 MB / 3.127 GB, free: 231.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.001e-05/5.123, allocations: 4 kB / 3.127 GB, free: 231.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/5.123, allocations: 0 / 3.127 GB, free: 231.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.01e-05/5.123, allocations: 61.39 kB / 3.127 GB, free: 231.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008559/5.131, allocations: 4.53 MB / 3.131 GB, free: 227.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/5.134, allocations: 0.9079 MB / 3.132 GB, free: 226.8 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008463/5.134, allocations: 390.9 kB / 3.132 GB, free: 226.6 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002825/5.135, allocations: 117.3 kB / 3.132 GB, free: 226.5 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/5.136, allocations: 0.529 MB / 3.133 GB, free: 226.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=94): time 3.346e-06/5.136, allocations: 0 / 3.133 GB, free: 226.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=95): time 0.00409/5.14, allocations: 1.35 MB / 3.134 GB, free: 224.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/5.14, allocations: 303.4 kB / 3.135 GB, free: 224.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001562/5.142, allocations: 0.7881 MB / 3.135 GB, free: 224 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001402/5.142, allocations: 25.7 kB / 3.135 GB, free: 224 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003191/5.142, allocations: 410 kB / 3.136 GB, free: 223.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/5.142, allocations: 304.7 kB / 3.136 GB, free: 223.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.472e-05/5.142, allocations: 0 / 3.136 GB, free: 223.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.001e-05/5.143, allocations: 344.7 kB / 3.136 GB, free: 223 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007802/5.143, allocations: 318.1 kB / 3.137 GB, free: 222.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009138/5.144, allocations: 0.5015 MB / 3.137 GB, free: 222.4 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/5.146, allocations: 439.4 kB / 3.138 GB, free: 222.1 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/5.146, allocations: 4 kB / 3.138 GB, free: 222.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003302/5.149, allocations: 1.046 MB / 3.139 GB, free: 221.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002109/5.149, allocations: 1.135 MB / 3.14 GB, free: 220.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/5.149, allocations: 4 kB / 3.14 GB, free: 220.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/5.15, allocations: 107.7 kB / 3.14 GB, free: 220 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/5.152, allocations: 199.4 kB / 3.14 GB, free: 219.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008454/5.153, allocations: 0.6661 MB / 3.141 GB, free: 219.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/5.154, allocations: 83.58 kB / 3.141 GB, free: 219.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/5.154, allocations: 35.17 kB / 3.141 GB, free: 219 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/5.154, allocations: 4.109 kB / 3.141 GB, free: 219 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002147/5.156, allocations: 0.8003 MB / 3.142 GB, free: 218.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/5.156, allocations: 4.656 kB / 3.142 GB, free: 218.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/5.156, allocations: 8 kB / 3.142 GB, free: 218.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/5.158, allocations: 207.2 kB / 3.142 GB, free: 218.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/5.158, allocations: 15.92 kB / 3.142 GB, free: 218.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/5.159, allocations: 80.7 kB / 3.142 GB, free: 218.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/5.159, allocations: 35.48 kB / 3.142 GB, free: 218.1 MB / 0.9323 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.0002629/5.16, allocations: 128.5 kB / 3.142 GB, free: 218 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/5.16, allocations: 106.7 kB / 3.142 GB, free: 217.9 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004769/5.165, allocations: 1.322 MB / 3.143 GB, free: 216.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/5.165, allocations: 16 kB / 3.143 GB, free: 216.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/5.165, allocations: 3.984 kB / 3.143 GB, free: 216.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/5.165, allocations: 7.891 kB / 3.143 GB, free: 216.9 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005842/5.171, allocations: 2.489 MB / 3.146 GB, free: 214.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/5.171, allocations: 4 kB / 3.146 GB, free: 214.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001502/5.172, allocations: 183 kB / 3.146 GB, free: 214.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001416/5.174, allocations: 191.7 kB / 3.146 GB, free: 214.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.572e-05/5.174, allocations: 15.67 kB / 3.146 GB, free: 214.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002612/5.176, allocations: 1.685 MB / 3.148 GB, free: 212.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/5.176, allocations: 4 kB / 3.148 GB, free: 212.9 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003453/5.18, allocations: 1.401 MB / 3.149 GB, free: 211.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007132/5.181, allocations: 351.3 kB / 3.15 GB, free: 211.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000251/5.181, allocations: 4 kB / 3.15 GB, free: 211.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001435/5.182, allocations: 71.92 kB / 3.15 GB, free: 211.4 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/5.182, allocations: 68.12 kB / 3.15 GB, free: 211.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/5.183, allocations: 35.61 kB / 3.15 GB, free: 211.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001128/5.184, allocations: 0.6251 MB / 3.15 GB, free: 210.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.001995/5.186, allocations: 443.5 kB / 3.151 GB, free: 210.4 MB / 0.9323 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.001246/5.187, allocations: 496.7 kB / 3.151 GB, free: 210.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003163/5.19, allocations: 1.345 MB / 3.153 GB, free: 209.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/5.19, allocations: 0 / 3.153 GB, free: 209.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001357/5.192, allocations: 0.6081 MB / 3.153 GB, free: 208.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002186/5.194, allocations: 264.7 kB / 3.153 GB, free: 208.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005084/5.199, allocations: 1.811 MB / 3.155 GB, free: 206.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001474/5.2, allocations: 1.338 MB / 3.157 GB, free: 205.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.713e-06/5.2, allocations: 0 / 3.157 GB, free: 205.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.0559/5.256, allocations: 22.45 MB / 3.178 GB, free: 182.8 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)