Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.397/2.397, allocations: 248.6 MB / 255.9 MB, free: 6.992 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.001723/0.001722, allocations: 187 kB / 315.1 MB, free: 3.57 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.067/2.067, allocations: 205.2 MB / 0.5658 GB, free: 324 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001321/0.00132, allocations: 106.6 kB / 0.67 GB, free: 5.527 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4758/0.4771, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.704, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.107/6.811, allocations: 2.221 GB / 3.104 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004086/6.812, allocations: 99.53 kB / 3.104 GB, free: 148.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.2401/7.052, allocations: 59.73 MB / 3.163 GB, free: 94.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/7.052, allocations: 12 kB / 3.163 GB, free: 94.69 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003039/7.055, allocations: 309.7 kB / 3.163 GB, free: 94.39 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002691/7.058, allocations: 0.8379 MB / 3.164 GB, free: 93.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.841e-05/7.058, allocations: 36 kB / 3.164 GB, free: 93.47 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000262/7.058, allocations: 63.94 kB / 3.164 GB, free: 93.41 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003502/7.062, allocations: 1.304 MB / 3.165 GB, free: 92.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004019/7.066, allocations: 1.127 MB / 3.166 GB, free: 90.88 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.881e-05/7.066, allocations: 0 / 3.166 GB, free: 90.88 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00031/7.066, allocations: 4 kB / 3.166 GB, free: 90.88 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001389/7.066, allocations: 53.98 kB / 3.166 GB, free: 90.83 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01469/7.081, allocations: 4.542 MB / 3.171 GB, free: 86.05 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002211/7.083, allocations: 0.8987 MB / 3.172 GB, free: 85.13 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009043/7.084, allocations: 392 kB / 3.172 GB, free: 84.74 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/7.085, allocations: 121.9 kB / 3.172 GB, free: 84.61 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/7.086, allocations: 0.5208 MB / 3.173 GB, free: 84.06 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=94): time 3.687e-06/7.086, allocations: 0 / 3.173 GB, free: 84.06 MB / 0.8698 GB Notification: Performance of matching and sorting (n=95): time 0.004415/7.09, allocations: 1.359 MB / 3.174 GB, free: 82.68 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.686e-05/7.09, allocations: 299.5 kB / 3.174 GB, free: 82.32 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001749/7.092, allocations: 0.7742 MB / 3.175 GB, free: 81.54 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002629/7.092, allocations: 33.69 kB / 3.175 GB, free: 81.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003657/7.093, allocations: 411.7 kB / 3.176 GB, free: 81.09 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003356/7.093, allocations: 303.4 kB / 3.176 GB, free: 80.79 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.515e-05/7.093, allocations: 0 / 3.176 GB, free: 80.79 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001013/7.093, allocations: 349.9 kB / 3.176 GB, free: 80.45 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008052/7.094, allocations: 321.9 kB / 3.176 GB, free: 80.13 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/7.096, allocations: 0.5 MB / 3.177 GB, free: 79.56 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002138/7.098, allocations: 438 kB / 3.177 GB, free: 79.13 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.25e-05/7.098, allocations: 0 / 3.177 GB, free: 79.13 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004463/7.102, allocations: 1.049 MB / 3.178 GB, free: 78.07 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002914/7.103, allocations: 1.143 MB / 3.179 GB, free: 76.84 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/7.103, allocations: 0 / 3.179 GB, free: 76.84 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/7.104, allocations: 104.8 kB / 3.18 GB, free: 76.73 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002823/7.107, allocations: 203.7 kB / 3.18 GB, free: 76.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/7.109, allocations: 0.6537 MB / 3.18 GB, free: 75.86 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002913/7.112, allocations: 87.48 kB / 3.181 GB, free: 75.77 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005405/7.112, allocations: 39.98 kB / 3.181 GB, free: 75.73 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/7.112, allocations: 4 kB / 3.181 GB, free: 75.73 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004235/7.116, allocations: 0.7974 MB / 3.181 GB, free: 74.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/7.117, allocations: 8 kB / 3.181 GB, free: 74.92 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.828e-05/7.117, allocations: 8 kB / 3.181 GB, free: 74.91 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002617/7.119, allocations: 204.1 kB / 3.182 GB, free: 74.71 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.459e-05/7.119, allocations: 11.98 kB / 3.182 GB, free: 74.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/7.122, allocations: 75.5 kB / 3.182 GB, free: 74.63 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003784/7.122, allocations: 43.92 kB / 3.182 GB, free: 74.59 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.0005465/7.123, allocations: 132.7 kB / 3.182 GB, free: 74.45 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005968/7.123, allocations: 106.7 kB / 3.182 GB, free: 74.34 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00813/7.132, allocations: 1.32 MB / 3.183 GB, free: 73.02 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/7.132, allocations: 11.94 kB / 3.183 GB, free: 73 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.576e-05/7.132, allocations: 3.984 kB / 3.183 GB, free: 73 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.794e-05/7.132, allocations: 11.97 kB / 3.183 GB, free: 72.99 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009961/7.142, allocations: 2.486 MB / 3.186 GB, free: 70.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.759e-05/7.142, allocations: 0 / 3.186 GB, free: 70.44 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002657/7.144, allocations: 187.7 kB / 3.186 GB, free: 70.25 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002293/7.147, allocations: 188.9 kB / 3.186 GB, free: 70.07 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000306/7.147, allocations: 19.98 kB / 3.186 GB, free: 70.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004187/7.151, allocations: 1.681 MB / 3.188 GB, free: 68.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.083e-05/7.151, allocations: 7.938 kB / 3.188 GB, free: 68.24 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0064/7.158, allocations: 1.391 MB / 3.189 GB, free: 66.77 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006444/7.164, allocations: 1.805 MB / 3.191 GB, free: 64.88 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001676/7.166, allocations: 351.4 kB / 3.191 GB, free: 64.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007546/7.167, allocations: 4 kB / 3.191 GB, free: 64.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002865/7.17, allocations: 75.92 kB / 3.191 GB, free: 64.44 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004772/7.17, allocations: 68.8 kB / 3.191 GB, free: 64.37 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002129/7.171, allocations: 39.98 kB / 3.191 GB, free: 64.33 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002177/7.173, allocations: 0.6202 MB / 3.192 GB, free: 63.71 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007715/7.181, allocations: 495.8 kB / 3.192 GB, free: 63.23 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.002304/7.183, allocations: 495.5 kB / 3.193 GB, free: 62.84 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005908/7.189, allocations: 1.338 MB / 3.194 GB, free: 61.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/7.189, allocations: 0 / 3.194 GB, free: 61.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001572/7.191, allocations: 0.6072 MB / 3.195 GB, free: 60.89 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003022/7.194, allocations: 268.5 kB / 3.195 GB, free: 60.63 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006188/7.2, allocations: 1.804 MB / 3.197 GB, free: 58.77 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00178/7.202, allocations: 1.342 MB / 3.198 GB, free: 57.4 MB / 0.8698 GB Notification: Performance of SimCode: time 2.375e-06/7.202, allocations: 0 / 3.198 GB, free: 57.4 MB / 0.8698 GB