Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.258/1.258, allocations: 249.4 MB / 256.7 MB, free: 7.031 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.001005/0.001005, allocations: 181.2 kB / 316 MB, free: 3.574 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.137/1.137, allocations: 205.2 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008044/0.0008044, allocations: 93.36 kB / 0.671 GB, free: 4.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3371/0.338, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.5143, allocations: 106.3 MB / 0.8847 GB, free: 12.55 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.803/4.318, allocations: 2.225 GB / 3.11 GB, free: 188.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/4.318, allocations: 111.7 kB / 3.11 GB, free: 188 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.1371/4.455, allocations: 64.19 MB / 3.173 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/4.455, allocations: 12 kB / 3.173 GB, free: 123.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/4.457, allocations: 309.8 kB / 3.173 GB, free: 123.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001567/4.459, allocations: 0.8339 MB / 3.174 GB, free: 122.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.135e-05/4.459, allocations: 36 kB / 3.174 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/4.459, allocations: 67.89 kB / 3.174 GB, free: 122.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001961/4.461, allocations: 1.296 MB / 3.175 GB, free: 120.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/4.462, allocations: 1.131 MB / 3.176 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/4.462, allocations: 0 / 3.176 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.539e-05/4.462, allocations: 4 kB / 3.176 GB, free: 119.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.885e-05/4.463, allocations: 61.97 kB / 3.176 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004978/4.468, allocations: 4.538 MB / 3.181 GB, free: 114.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/4.469, allocations: 0.8949 MB / 3.181 GB, free: 113.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004371/4.469, allocations: 395.9 kB / 3.182 GB, free: 113.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001969/4.469, allocations: 129.8 kB / 3.182 GB, free: 113.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006037/4.47, allocations: 0.513 MB / 3.182 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=94): time 2.895e-06/4.47, allocations: 4 kB / 3.183 GB, free: 112.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.002468/4.472, allocations: 1.351 MB / 3.184 GB, free: 111.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.445e-05/4.473, allocations: 299.5 kB / 3.184 GB, free: 111 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/4.474, allocations: 0.782 MB / 3.185 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.887e-05/4.474, allocations: 29.7 kB / 3.185 GB, free: 110.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/4.474, allocations: 403.8 kB / 3.185 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/4.474, allocations: 307.4 kB / 3.186 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.271e-05/4.474, allocations: 112 / 3.186 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.902e-05/4.474, allocations: 353.9 kB / 3.186 GB, free: 109.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004843/4.475, allocations: 318.4 kB / 3.186 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005899/4.475, allocations: 0.5 MB / 3.187 GB, free: 108.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008342/4.476, allocations: 437.6 kB / 3.187 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/4.476, allocations: 0 / 3.187 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.00223/4.479, allocations: 1.052 MB / 3.188 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002232/4.479, allocations: 1.137 MB / 3.189 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/4.479, allocations: 48 / 3.189 GB, free: 105.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008335/4.48, allocations: 112.7 kB / 3.189 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009825/4.481, allocations: 199.7 kB / 3.19 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006131/4.481, allocations: 0.6654 MB / 3.19 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008883/4.482, allocations: 79.5 kB / 3.19 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.594e-05/4.482, allocations: 39.97 kB / 3.19 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-06/4.482, allocations: 4 kB / 3.19 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001255/4.484, allocations: 0.7974 MB / 3.191 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/4.484, allocations: 4 kB / 3.191 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.498e-06/4.484, allocations: 8 kB / 3.191 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008137/4.484, allocations: 207.7 kB / 3.191 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/4.484, allocations: 4.375 kB / 3.191 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007442/4.485, allocations: 79.39 kB / 3.191 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.348e-05/4.485, allocations: 39.98 kB / 3.191 GB, free: 103.3 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.0002008/4.485, allocations: 132.7 kB / 3.192 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/4.486, allocations: 106.7 kB / 3.192 GB, free: 103 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002663/4.488, allocations: 1.331 MB / 3.193 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/4.488, allocations: 8 kB / 3.193 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/4.488, allocations: 7.938 kB / 3.193 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/4.488, allocations: 3.984 kB / 3.193 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003616/4.492, allocations: 2.486 MB / 3.195 GB, free: 99.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/4.492, allocations: 3.984 kB / 3.195 GB, free: 99.11 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007696/4.493, allocations: 187.7 kB / 3.196 GB, free: 98.92 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008039/4.494, allocations: 192.8 kB / 3.196 GB, free: 98.73 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.948e-05/4.494, allocations: 19.89 kB / 3.196 GB, free: 98.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/4.495, allocations: 1.685 MB / 3.197 GB, free: 96.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/4.495, allocations: 7.938 kB / 3.197 GB, free: 96.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00218/4.498, allocations: 1.394 MB / 3.199 GB, free: 95.42 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002499/4.5, allocations: 1.805 MB / 3.201 GB, free: 93.53 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007442/4.501, allocations: 351.4 kB / 3.201 GB, free: 93.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002882/4.501, allocations: 4 kB / 3.201 GB, free: 93.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009547/4.502, allocations: 75.92 kB / 3.201 GB, free: 93.09 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/4.502, allocations: 64.81 kB / 3.201 GB, free: 93.02 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.525e-05/4.502, allocations: 43.97 kB / 3.201 GB, free: 92.98 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001071/4.503, allocations: 0.6163 MB / 3.202 GB, free: 92.37 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003031/4.506, allocations: 487.8 kB / 3.202 GB, free: 91.89 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.001011/4.507, allocations: 0.4908 MB / 3.203 GB, free: 91.48 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00208/4.51, allocations: 1.346 MB / 3.204 GB, free: 90.14 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/4.51, allocations: 0 / 3.204 GB, free: 90.14 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008278/4.51, allocations: 0.6033 MB / 3.205 GB, free: 89.53 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/4.512, allocations: 270.4 kB / 3.205 GB, free: 89.27 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003621/4.515, allocations: 1.815 MB / 3.207 GB, free: 87.39 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/4.517, allocations: 1.335 MB / 3.208 GB, free: 86.04 MB / 0.8698 GB Notification: Performance of SimCode: time 5.51e-07/4.517, allocations: 0 / 3.208 GB, free: 86.04 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine.pipe 2>&1)