Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.301/1.301, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.0008738/0.0008738, allocations: 177.3 kB / 361.1 MB, free: 7.102 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.024/1.024, allocations: 205.1 MB / 0.6195 GB, free: 11.93 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.0007695/0.0007695, allocations: 87.91 kB / 0.7325 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1761/0.1769, allocations: 121.5 MB / 0.8512 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.5986, allocations: 115.3 MB / 0.9638 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.717/3.315, allocations: 2.106 GB / 3.07 GB, free: 51.09 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/3.316, allocations: 100.5 kB / 3.07 GB, free: 51 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.4095/3.725, allocations: 64.19 MB / 3.133 GB, free: 318.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/3.725, allocations: 11.22 kB / 3.133 GB, free: 318.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/3.727, allocations: 306 kB / 3.133 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/3.728, allocations: 0.8312 MB / 3.134 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/3.728, allocations: 38.67 kB / 3.134 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/3.728, allocations: 69.48 kB / 3.134 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001494/3.729, allocations: 1.292 MB / 3.135 GB, free: 318.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/3.731, allocations: 1.128 MB / 3.136 GB, free: 318.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/3.731, allocations: 6.344 kB / 3.136 GB, free: 318.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.313e-05/3.731, allocations: 3.5 kB / 3.136 GB, free: 318.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.315e-05/3.731, allocations: 60.53 kB / 3.136 GB, free: 318.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004445/3.735, allocations: 4.527 MB / 3.141 GB, free: 315.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/3.737, allocations: 0.9066 MB / 3.142 GB, free: 315.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004678/3.737, allocations: 389.2 kB / 3.142 GB, free: 315.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001759/3.737, allocations: 126.7 kB / 3.142 GB, free: 315.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000618/3.738, allocations: 0.5146 MB / 3.142 GB, free: 315.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=94): time 2.234e-06/3.738, allocations: 0 / 3.142 GB, free: 315.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=95): time 0.002275/3.74, allocations: 1.353 MB / 3.144 GB, free: 315.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.535e-05/3.74, allocations: 298.7 kB / 3.144 GB, free: 314.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008586/3.741, allocations: 0.7792 MB / 3.145 GB, free: 314.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.782e-05/3.741, allocations: 29.14 kB / 3.145 GB, free: 314.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/3.741, allocations: 416 kB / 3.145 GB, free: 314.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000159/3.742, allocations: 310 kB / 3.146 GB, free: 314.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.964e-05/3.742, allocations: 0 / 3.146 GB, free: 314.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.345e-05/3.742, allocations: 339.1 kB / 3.146 GB, free: 314 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00043/3.742, allocations: 323 kB / 3.146 GB, free: 314 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005223/3.743, allocations: 0.4942 MB / 3.147 GB, free: 313.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006627/3.743, allocations: 441.7 kB / 3.147 GB, free: 313.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/3.743, allocations: 2.438 kB / 3.147 GB, free: 313.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001836/3.745, allocations: 1.056 MB / 3.148 GB, free: 313.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/3.745, allocations: 1.143 MB / 3.149 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/3.745, allocations: 2.469 kB / 3.149 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006067/3.746, allocations: 104.6 kB / 3.149 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008162/3.747, allocations: 198.5 kB / 3.15 GB, free: 312.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004825/3.747, allocations: 0.6596 MB / 3.15 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006734/3.748, allocations: 80.17 kB / 3.15 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.281e-05/3.748, allocations: 41.89 kB / 3.15 GB, free: 312 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.949e-06/3.748, allocations: 7.875 kB / 3.15 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001224/3.749, allocations: 0.7918 MB / 3.151 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/3.749, allocations: 6.875 kB / 3.151 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.806e-06/3.749, allocations: 8.031 kB / 3.151 GB, free: 312 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007942/3.75, allocations: 214 kB / 3.151 GB, free: 311.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/3.75, allocations: 10.28 kB / 3.151 GB, free: 311.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006133/3.751, allocations: 77.64 kB / 3.151 GB, free: 311.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/3.751, allocations: 35.03 kB / 3.151 GB, free: 311.9 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.0001595/3.751, allocations: 128.4 kB / 3.152 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001472/3.751, allocations: 109.4 kB / 3.152 GB, free: 311.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002605/3.754, allocations: 1.324 MB / 3.153 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.139e-05/3.754, allocations: 15.19 kB / 3.153 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/3.754, allocations: 0 / 3.153 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/3.754, allocations: 8.828 kB / 3.153 GB, free: 311.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/3.757, allocations: 2.498 MB / 3.155 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/3.757, allocations: 0 / 3.155 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007038/3.758, allocations: 189.6 kB / 3.156 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007131/3.759, allocations: 190.5 kB / 3.156 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.337e-05/3.759, allocations: 15.27 kB / 3.156 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001447/3.76, allocations: 1.69 MB / 3.157 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/3.76, allocations: 3.875 kB / 3.157 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001785/3.762, allocations: 1.392 MB / 3.159 GB, free: 308.9 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001825/3.764, allocations: 1.804 MB / 3.161 GB, free: 307.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003965/3.764, allocations: 350.8 kB / 3.161 GB, free: 307.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001552/3.764, allocations: 3.938 kB / 3.161 GB, free: 307.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007426/3.765, allocations: 73.75 kB / 3.161 GB, free: 307.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/3.765, allocations: 65.42 kB / 3.161 GB, free: 307.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.179e-05/3.765, allocations: 43.33 kB / 3.161 GB, free: 307.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005781/3.766, allocations: 0.6154 MB / 3.162 GB, free: 307.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002431/3.768, allocations: 493.9 kB / 3.162 GB, free: 307.1 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.0007994/3.769, allocations: 0.4896 MB / 3.163 GB, free: 306.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001641/3.771, allocations: 1.343 MB / 3.164 GB, free: 306.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/3.771, allocations: 3.219 kB / 3.164 GB, free: 306.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006893/3.771, allocations: 0.5971 MB / 3.165 GB, free: 306.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/3.772, allocations: 269.7 kB / 3.165 GB, free: 306.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002704/3.775, allocations: 1.81 MB / 3.167 GB, free: 305.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007937/3.776, allocations: 1.336 MB / 3.168 GB, free: 304.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.5e-07/3.776, allocations: 0 / 3.168 GB, free: 304.7 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)