Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.06/2.06, allocations: 284.9 MB / 292.2 MB, free: 1.402 MB / 227.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001574/0.001574, allocations: 185 kB / 360.4 MB, free: 15.59 MB / 291.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.1 MB / 0.6188 GB, free: 6.645 MB / 467.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001233/0.001233, allocations: 101.4 kB / 0.7318 GB, free: 46.99 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 1.359e-05/1.37e-05, allocations: 4 kB / 0.8502 GB, free: 13.68 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5505/0.5505, allocations: 115.2 MB / 0.9628 GB, free: 86.29 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.507/5.057, allocations: 2.105 GB / 3.067 GB, free: 279.1 MB / 0.9405 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/5.058, allocations: 94.89 kB / 3.067 GB, free: 279.1 MB / 0.9405 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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);. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.2641/5.322, allocations: 69.13 MB / 3.135 GB, free: 265.7 MB / 0.9405 GB Notification: Performance of Transformations before backend: time 0.0001133/5.322, allocations: 35.31 kB / 3.135 GB, free: 265.7 MB / 0.9405 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.004159/5.326, allocations: 1.607 MB / 3.137 GB, free: 264.6 MB / 0.9405 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/5.326, allocations: 8.312 kB / 3.137 GB, free: 264.6 MB / 0.9405 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01013/5.336, allocations: 0.8939 MB / 3.137 GB, free: 264.2 MB / 0.9405 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/5.339, allocations: 0.8869 MB / 3.138 GB, free: 263.7 MB / 0.9405 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.906e-05/5.339, allocations: 54.55 kB / 3.138 GB, free: 263.7 MB / 0.9405 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002947/5.339, allocations: 85.78 kB / 3.138 GB, free: 263.7 MB / 0.9405 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004817/5.344, allocations: 1.852 MB / 3.14 GB, free: 263.4 MB / 0.9405 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003725/5.348, allocations: 1.52 MB / 3.142 GB, free: 262.9 MB / 0.9405 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.269e-05/5.348, allocations: 3.906 kB / 3.142 GB, free: 262.9 MB / 0.9405 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002389/5.348, allocations: 0 / 3.142 GB, free: 262.9 MB / 0.9405 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.418e-05/5.348, allocations: 67.5 kB / 3.142 GB, free: 262.9 MB / 0.9405 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01554/5.364, allocations: 6.08 MB / 3.148 GB, free: 259.4 MB / 0.9405 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003162/5.367, allocations: 1.186 MB / 3.149 GB, free: 259.3 MB / 0.9405 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001622/5.368, allocations: 0.5763 MB / 3.149 GB, free: 259.2 MB / 0.9405 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009759/5.369, allocations: 493.4 kB / 3.15 GB, free: 258.7 MB / 0.9405 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001687/5.371, allocations: 0.7334 MB / 3.151 GB, free: 258.5 MB / 0.9405 GB Notification: Performance of pre-optimization done (n=128): time 3.837e-06/5.371, allocations: 0 / 3.151 GB, free: 258.5 MB / 0.9405 GB Notification: Performance of matching and sorting (n=128): time 0.004103/5.375, allocations: 1.227 MB / 3.152 GB, free: 258.2 MB / 0.9405 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/5.375, allocations: 360 kB / 3.152 GB, free: 257.8 MB / 0.9405 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001407/5.377, allocations: 0.6711 MB / 3.153 GB, free: 257.6 MB / 0.9405 GB Notification: Performance of collectPreVariables (initialization): time 0.0001675/5.377, allocations: 25.7 kB / 3.153 GB, free: 257.6 MB / 0.9405 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003993/5.377, allocations: 484.7 kB / 3.153 GB, free: 257.2 MB / 0.9405 GB Notification: Performance of collectInitialBindings (initialization): time 0.000414/5.378, allocations: 410.6 kB / 3.154 GB, free: 256.9 MB / 0.9405 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/5.378, allocations: 0 / 3.154 GB, free: 256.9 MB / 0.9405 GB Notification: Performance of setup shared object (initialization): time 9.648e-05/5.378, allocations: 352.2 kB / 3.154 GB, free: 256.6 MB / 0.9405 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001235/5.379, allocations: 440.4 kB / 3.154 GB, free: 256.6 MB / 0.9405 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/5.381, allocations: 0.6398 MB / 3.155 GB, free: 256.4 MB / 0.9405 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0019/5.383, allocations: 0.5607 MB / 3.156 GB, free: 256.3 MB / 0.9405 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/5.383, allocations: 3.031 kB / 3.156 GB, free: 256.3 MB / 0.9405 GB Notification: Performance of matching and sorting (n=148) (initialization): time 0.004056/5.387, allocations: 1.315 MB / 3.157 GB, free: 256 MB / 0.9405 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001993/5.387, allocations: 1.054 MB / 3.158 GB, free: 254.9 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/5.387, allocations: 6.719 kB / 3.158 GB, free: 254.9 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002304/5.387, allocations: 37.56 kB / 3.158 GB, free: 254.9 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003412/5.391, allocations: 325.7 kB / 3.158 GB, free: 254.8 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003665/5.391, allocations: 0.5482 MB / 3.159 GB, free: 254.3 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/5.394, allocations: 164.3 kB / 3.159 GB, free: 254.2 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001933/5.394, allocations: 55.95 kB / 3.159 GB, free: 254.2 MB / 0.9405 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/5.394, allocations: 3.625 kB / 3.159 GB, free: 254.2 MB / 0.9405 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003777/5.398, allocations: 1.168 MB / 3.16 GB, free: 254 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/5.398, allocations: 2.719 kB / 3.16 GB, free: 254 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/5.398, allocations: 13 kB / 3.16 GB, free: 254 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003427/5.401, allocations: 333.7 kB / 3.161 GB, free: 253.9 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/5.401, allocations: 16.23 kB / 3.161 GB, free: 253.9 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/5.404, allocations: 150.2 kB / 3.161 GB, free: 253.8 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/5.404, allocations: 55.8 kB / 3.161 GB, free: 253.8 MB / 0.9405 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.0004157/5.405, allocations: 136.1 kB / 3.161 GB, free: 253.7 MB / 0.9405 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000323/5.405, allocations: 111.7 kB / 3.161 GB, free: 253.6 MB / 0.9405 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00621/5.411, allocations: 1.645 MB / 3.163 GB, free: 253.2 MB / 0.9405 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/5.411, allocations: 14.19 kB / 3.163 GB, free: 253.2 MB / 0.9405 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/5.411, allocations: 2.594 kB / 3.163 GB, free: 253.2 MB / 0.9405 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.77e-05/5.411, allocations: 3.984 kB / 3.163 GB, free: 253.2 MB / 0.9405 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007804/5.419, allocations: 3.287 MB / 3.166 GB, free: 251.9 MB / 0.9405 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/5.419, allocations: 0 / 3.166 GB, free: 251.9 MB / 0.9405 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003237/5.422, allocations: 314 kB / 3.166 GB, free: 251.8 MB / 0.9405 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001595/5.422, allocations: 30.16 kB / 3.166 GB, free: 251.8 MB / 0.9405 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001494/5.423, allocations: 29.72 kB / 3.166 GB, free: 251.8 MB / 0.9405 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009379/5.424, allocations: 1.222 MB / 3.167 GB, free: 250.6 MB / 0.9405 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/5.424, allocations: 2.75 kB / 3.167 GB, free: 250.6 MB / 0.9405 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004013/5.428, allocations: 1.489 MB / 3.169 GB, free: 250.1 MB / 0.9405 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000889/5.429, allocations: 408.4 kB / 3.169 GB, free: 249.9 MB / 0.9405 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003503/5.429, allocations: 2.594 kB / 3.169 GB, free: 249.9 MB / 0.9405 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002593/5.431, allocations: 121.1 kB / 3.169 GB, free: 249.8 MB / 0.9405 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002146/5.432, allocations: 79.75 kB / 3.169 GB, free: 249.8 MB / 0.9405 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001838/5.432, allocations: 56.33 kB / 3.169 GB, free: 249.8 MB / 0.9405 GB Notification: Performance of sort global known variables: time 0.001053/5.433, allocations: 0.5419 MB / 3.17 GB, free: 249.6 MB / 0.9405 GB Notification: Performance of remove unused functions: time 0.002669/5.436, allocations: 0.6738 MB / 3.171 GB, free: 249.5 MB / 0.9405 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.001393/5.437, allocations: 0.5006 MB / 3.171 GB, free: 249.2 MB / 0.9405 GB Notification: Performance of simCode: created initialization part: time 0.004867/5.442, allocations: 1.851 MB / 3.173 GB, free: 248.7 MB / 0.9405 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/5.442, allocations: 1.156 kB / 3.173 GB, free: 248.7 MB / 0.9405 GB Notification: Performance of simCode: created simulation system equations: time 0.001827/5.444, allocations: 0.7581 MB / 3.174 GB, free: 248.3 MB / 0.9405 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/5.446, allocations: 252.8 kB / 3.174 GB, free: 248.2 MB / 0.9405 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006891/5.453, allocations: 2.009 MB / 3.176 GB, free: 247.1 MB / 0.9405 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002347/5.455, allocations: 1.431 MB / 3.177 GB, free: 246.1 MB / 0.9405 GB Notification: Performance of SimCode: time 1.473e-06/5.455, allocations: 0 / 3.177 GB, free: 246.1 MB / 0.9405 GB Notification: Performance of Templates: time 0.06668/5.522, allocations: 29.44 MB / 3.206 GB, free: 218.1 MB / 0.9405 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1)