Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.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: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple") [: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.351/1.351, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009461/0.0009461, allocations: 183.4 kB / 361.1 MB, free: 7.094 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.005/1.005, allocations: 205.1 MB / 0.6195 GB, free: 10.38 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.0007564/0.0007564, allocations: 86.02 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.859e-06/4.88e-06, allocations: 0 / 0.8511 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3953, allocations: 115.3 MB / 0.9637 GB, free: 77.95 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.672/3.067, allocations: 2.105 GB / 3.068 GB, free: 30.23 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/3.068, allocations: 96.97 kB / 3.068 GB, free: 30.14 MB / 0.948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd: time 0.4198/3.487, allocations: 69.12 MB / 3.136 GB, free: 323.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.278e-05/3.487, allocations: 40.5 kB / 3.136 GB, free: 323.6 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: 372 * Number of variables: 372 Notification: Performance of Generate backend data structure: time 0.00258/3.49, allocations: 1.611 MB / 3.138 GB, free: 322.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/3.49, allocations: 9.219 kB / 3.138 GB, free: 322.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005452/3.496, allocations: 0.8892 MB / 3.138 GB, free: 322.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001384/3.497, allocations: 0.8931 MB / 3.139 GB, free: 322 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.897e-05/3.497, allocations: 48.34 kB / 3.139 GB, free: 322 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001698/3.497, allocations: 80.59 kB / 3.139 GB, free: 322 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002585/3.5, allocations: 1.855 MB / 3.141 GB, free: 321.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002088/3.502, allocations: 1.521 MB / 3.143 GB, free: 320.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/3.502, allocations: 7.281 kB / 3.143 GB, free: 320.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000132/3.502, allocations: 0.7969 kB / 3.143 GB, free: 320.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.172e-05/3.502, allocations: 72.09 kB / 3.143 GB, free: 320.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008759/3.511, allocations: 6.073 MB / 3.149 GB, free: 317.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/3.513, allocations: 1.187 MB / 3.15 GB, free: 316.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008708/3.513, allocations: 0.5716 MB / 3.15 GB, free: 316.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005816/3.514, allocations: 493.9 kB / 3.151 GB, free: 315.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009548/3.515, allocations: 0.7384 MB / 3.152 GB, free: 315.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=128): time 3.637e-06/3.515, allocations: 1.188 kB / 3.152 GB, free: 315.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=128): time 0.002358/3.517, allocations: 1.222 MB / 3.153 GB, free: 315.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/3.518, allocations: 355.9 kB / 3.153 GB, free: 314.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000779/3.518, allocations: 0.6744 MB / 3.154 GB, free: 314.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.244e-05/3.518, allocations: 27.08 kB / 3.154 GB, free: 314.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/3.519, allocations: 490.9 kB / 3.154 GB, free: 314 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/3.519, allocations: 409.4 kB / 3.155 GB, free: 313.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.603e-05/3.519, allocations: 0 / 3.155 GB, free: 313.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.452e-05/3.519, allocations: 350.5 kB / 3.155 GB, free: 313.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006439/3.52, allocations: 440.4 kB / 3.155 GB, free: 313.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007886/3.52, allocations: 0.6259 MB / 3.156 GB, free: 312.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/3.522, allocations: 0.5743 MB / 3.157 GB, free: 312.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/3.522, allocations: 0 / 3.157 GB, free: 312.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.002208/3.524, allocations: 1.325 MB / 3.158 GB, free: 312 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001512/3.524, allocations: 1.059 MB / 3.159 GB, free: 310.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/3.524, allocations: 6.156 kB / 3.159 GB, free: 310.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001555/3.524, allocations: 29.27 kB / 3.159 GB, free: 310.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001766/3.526, allocations: 329.9 kB / 3.159 GB, free: 310.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002444/3.526, allocations: 0.5462 MB / 3.16 GB, free: 310.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/3.528, allocations: 157 kB / 3.16 GB, free: 310.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/3.528, allocations: 62.47 kB / 3.16 GB, free: 310.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-06/3.528, allocations: 6.656 kB / 3.16 GB, free: 310.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002021/3.53, allocations: 1.165 MB / 3.161 GB, free: 309.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/3.53, allocations: 3.188 kB / 3.161 GB, free: 309.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/3.53, allocations: 8.531 kB / 3.161 GB, free: 309.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/3.531, allocations: 340.3 kB / 3.162 GB, free: 309.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.944e-06/3.531, allocations: 11.84 kB / 3.162 GB, free: 309.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/3.533, allocations: 155.7 kB / 3.162 GB, free: 309.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/3.533, allocations: 56.83 kB / 3.162 GB, free: 309.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (147): * Single equations (assignments): 146 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002746/3.533, allocations: 129.1 kB / 3.162 GB, free: 309.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/3.533, allocations: 107.4 kB / 3.162 GB, free: 309.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003404/3.537, allocations: 1.658 MB / 3.164 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/3.537, allocations: 13.59 kB / 3.164 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/3.537, allocations: 2.406 kB / 3.164 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/3.537, allocations: 7.359 kB / 3.164 GB, free: 309 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004393/3.541, allocations: 3.284 MB / 3.167 GB, free: 307.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/3.541, allocations: 1.188 kB / 3.167 GB, free: 307.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/3.543, allocations: 313.4 kB / 3.167 GB, free: 307.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001058/3.543, allocations: 32.81 kB / 3.167 GB, free: 307.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-05/3.543, allocations: 23.5 kB / 3.167 GB, free: 307.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006081/3.544, allocations: 1.222 MB / 3.168 GB, free: 306.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/3.544, allocations: 2.375 kB / 3.168 GB, free: 306.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002098/3.546, allocations: 1.485 MB / 3.17 GB, free: 305.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005239/3.546, allocations: 412.8 kB / 3.17 GB, free: 305.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/3.547, allocations: 4.875 kB / 3.17 GB, free: 305.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/3.548, allocations: 120.2 kB / 3.17 GB, free: 305.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/3.548, allocations: 74.11 kB / 3.17 GB, free: 305.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/3.548, allocations: 59.61 kB / 3.17 GB, free: 305.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0005901/3.549, allocations: 0.539 MB / 3.171 GB, free: 304.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001744/3.551, allocations: 0.6742 MB / 3.172 GB, free: 304.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (142): * Single equations (assignments): 139 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009399/3.552, allocations: 0.5006 MB / 3.172 GB, free: 304.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002642/3.554, allocations: 1.846 MB / 3.174 GB, free: 303.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/3.554, allocations: 1.375 kB / 3.174 GB, free: 303.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008959/3.555, allocations: 0.7482 MB / 3.175 GB, free: 303.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/3.556, allocations: 254.7 kB / 3.175 GB, free: 303.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003628/3.56, allocations: 2.002 MB / 3.177 GB, free: 302.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001224/3.561, allocations: 1.436 MB / 3.178 GB, free: 301.7 MB / 0.948 GB Notification: Performance of SimCode: time 4.11e-07/3.561, allocations: 0 / 3.178 GB, free: 301.7 MB / 0.948 GB Notification: Performance of Templates: time 0.03615/3.597, allocations: 29.44 MB / 3.207 GB, free: 278.1 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)