Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_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.224/1.224, allocations: 249.4 MB / 256.7 MB, free: 6.984 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.0009901/0.00099, allocations: 173.3 kB / 316 MB, free: 3.555 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.12/1.12, allocations: 205.1 MB / 0.5667 GB, free: 15.62 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.0007965/0.0007965, allocations: 75.47 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.315/0.3158, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.4643, allocations: 106.3 MB / 0.8847 GB, free: 12.54 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.876/4.341, allocations: 2.221 GB / 3.106 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/4.341, allocations: 103 kB / 3.106 GB, free: 164.6 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.1359/4.477, allocations: 59.72 MB / 3.164 GB, free: 104.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/4.477, allocations: 8 kB / 3.164 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/4.479, allocations: 313.7 kB / 3.164 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001598/4.48, allocations: 0.8301 MB / 3.165 GB, free: 103.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.228e-05/4.48, allocations: 40 kB / 3.165 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/4.481, allocations: 63.91 kB / 3.165 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001909/4.483, allocations: 1.296 MB / 3.167 GB, free: 101.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/4.484, allocations: 1.127 MB / 3.168 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.386e-05/4.484, allocations: 7.938 kB / 3.168 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/4.484, allocations: 4 kB / 3.168 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.504e-05/4.485, allocations: 61.92 kB / 3.168 GB, free: 100.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005618/4.49, allocations: 4.534 MB / 3.172 GB, free: 95.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/4.491, allocations: 0.8988 MB / 3.173 GB, free: 94.89 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004623/4.492, allocations: 395.9 kB / 3.173 GB, free: 94.49 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002114/4.492, allocations: 125.8 kB / 3.174 GB, free: 94.35 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006365/4.493, allocations: 0.517 MB / 3.174 GB, free: 93.81 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=94): time 2.975e-06/4.493, allocations: 0 / 3.174 GB, free: 93.81 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.002491/4.495, allocations: 1.351 MB / 3.175 GB, free: 92.44 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/4.495, allocations: 299.5 kB / 3.176 GB, free: 92.08 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009594/4.496, allocations: 0.782 MB / 3.176 GB, free: 91.29 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.657e-05/4.496, allocations: 33.7 kB / 3.176 GB, free: 91.25 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001907/4.497, allocations: 403.8 kB / 3.177 GB, free: 90.85 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/4.497, allocations: 307.4 kB / 3.177 GB, free: 90.55 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.329e-05/4.497, allocations: 0 / 3.177 GB, free: 90.55 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.626e-05/4.497, allocations: 342 kB / 3.177 GB, free: 90.21 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003991/4.497, allocations: 317.9 kB / 3.178 GB, free: 89.89 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004804/4.498, allocations: 0.5039 MB / 3.178 GB, free: 89.32 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006634/4.498, allocations: 438 kB / 3.179 GB, free: 88.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/4.498, allocations: 0 / 3.179 GB, free: 88.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001881/4.5, allocations: 1.057 MB / 3.18 GB, free: 87.83 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002354/4.501, allocations: 1.141 MB / 3.181 GB, free: 86.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/4.501, allocations: 0 / 3.181 GB, free: 86.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006544/4.501, allocations: 108.8 kB / 3.181 GB, free: 86.49 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008278/4.502, allocations: 199.7 kB / 3.181 GB, free: 86.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005491/4.503, allocations: 0.6616 MB / 3.182 GB, free: 85.61 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008274/4.503, allocations: 79.5 kB / 3.182 GB, free: 85.53 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.166e-05/4.504, allocations: 39.97 kB / 3.182 GB, free: 85.49 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/4.504, allocations: 4 kB / 3.182 GB, free: 85.49 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001238/4.505, allocations: 0.7977 MB / 3.183 GB, free: 84.69 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/4.505, allocations: 8.062 kB / 3.183 GB, free: 84.68 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/4.505, allocations: 8 kB / 3.183 GB, free: 84.68 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007942/4.506, allocations: 207.7 kB / 3.183 GB, free: 84.47 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/4.506, allocations: 4 kB / 3.183 GB, free: 84.47 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007187/4.506, allocations: 79.39 kB / 3.183 GB, free: 84.39 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.986e-05/4.507, allocations: 39.98 kB / 3.183 GB, free: 84.35 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.0002099/4.507, allocations: 128.5 kB / 3.183 GB, free: 84.22 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/4.507, allocations: 110.8 kB / 3.183 GB, free: 84.11 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002708/4.51, allocations: 1.335 MB / 3.185 GB, free: 82.77 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/4.51, allocations: 8 kB / 3.185 GB, free: 82.76 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/4.51, allocations: 8 kB / 3.185 GB, free: 82.75 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/4.51, allocations: 3.984 kB / 3.185 GB, free: 82.75 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003682/4.513, allocations: 2.486 MB / 3.187 GB, free: 80.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.441e-06/4.513, allocations: 3.938 kB / 3.187 GB, free: 80.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007433/4.514, allocations: 191.7 kB / 3.187 GB, free: 80.01 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007849/4.515, allocations: 188.8 kB / 3.187 GB, free: 79.82 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.4e-05/4.515, allocations: 23.88 kB / 3.187 GB, free: 79.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/4.517, allocations: 1.681 MB / 3.189 GB, free: 78 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/4.517, allocations: 4 kB / 3.189 GB, free: 78 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002063/4.519, allocations: 1.394 MB / 3.19 GB, free: 76.52 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002158/4.521, allocations: 1.801 MB / 3.192 GB, free: 74.63 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005624/4.521, allocations: 351.4 kB / 3.192 GB, free: 74.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002416/4.522, allocations: 4 kB / 3.192 GB, free: 74.26 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008871/4.523, allocations: 75.86 kB / 3.193 GB, free: 74.19 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/4.523, allocations: 68.81 kB / 3.193 GB, free: 74.12 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-05/4.523, allocations: 43.98 kB / 3.193 GB, free: 74.08 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008116/4.524, allocations: 0.6163 MB / 3.193 GB, free: 73.46 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003019/4.527, allocations: 491.8 kB / 3.194 GB, free: 72.98 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.0009974/4.528, allocations: 492.1 kB / 3.194 GB, free: 72.58 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002002/4.53, allocations: 1.341 MB / 3.196 GB, free: 71.24 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/4.53, allocations: 4 kB / 3.196 GB, free: 71.23 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008145/4.531, allocations: 0.5962 MB / 3.196 GB, free: 70.63 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/4.532, allocations: 270.3 kB / 3.196 GB, free: 70.38 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/4.535, allocations: 1.812 MB / 3.198 GB, free: 68.51 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00111/4.536, allocations: 1.346 MB / 3.199 GB, free: 67.14 MB / 0.8698 GB Notification: Performance of SimCode: time 8.41e-07/4.536, allocations: 0 / 3.199 GB, free: 67.14 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.pipe 2>&1)