Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.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.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") [: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.13/2.13, allocations: 284.9 MB / 292.2 MB, free: 10.74 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00157/0.00157, allocations: 181.2 kB / 360.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.1 MB / 0.6188 GB, free: 12.42 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001238/0.001237, allocations: 94.48 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.825e-06/7.965e-06, allocations: 0 / 0.8503 GB, free: 3.859 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.545/0.5451, allocations: 115.2 MB / 0.9628 GB, free: 78.39 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2805/0.8256, allocations: 180.9 MB / 1.139 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000355/0.826, allocations: 97.8 kB / 1.14 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.11/0.936, allocations: 28.12 MB / 1.167 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.231e-05/0.9361, allocations: 15.94 kB / 1.167 GB, free: 11.41 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001491/0.9376, allocations: 0.6812 MB / 1.168 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.9376, allocations: 12.03 kB / 1.168 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004235/0.9419, allocations: 426.8 kB / 1.168 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.943, allocations: 471.3 kB / 1.169 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.9431, allocations: 8 kB / 1.169 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.9432, allocations: 23.91 kB / 1.169 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001294/0.9445, allocations: 489 kB / 1.169 GB, free: 9.242 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.9458, allocations: 0.5593 MB / 1.17 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/0.9458, allocations: 3.938 kB / 1.17 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.559e-05/0.9459, allocations: 0 / 1.17 GB, free: 8.648 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.675e-05/0.9459, allocations: 24.64 kB / 1.17 GB, free: 8.625 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005943/0.9519, allocations: 2.743 MB / 1.172 GB, free: 5.672 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.9531, allocations: 333.4 kB / 1.173 GB, free: 5.34 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003794/0.9535, allocations: 168.8 kB / 1.173 GB, free: 5.172 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001327/0.9536, allocations: 89.09 kB / 1.173 GB, free: 5.066 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.9537, allocations: 38.56 kB / 1.173 GB, free: 5.02 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 2.064e-06/0.9537, allocations: 0 / 1.173 GB, free: 5.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=24): time 0.007536/0.9612, allocations: 1.481 MB / 1.174 GB, free: 3.527 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.9613, allocations: 81.11 kB / 1.174 GB, free: 3.43 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005911/0.9619, allocations: 335.4 kB / 1.175 GB, free: 3.098 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.507e-05/0.9619, allocations: 25.7 kB / 1.175 GB, free: 3.066 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.9621, allocations: 211.6 kB / 1.175 GB, free: 2.855 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.9622, allocations: 70.91 kB / 1.175 GB, free: 2.785 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.9623, allocations: 0 / 1.175 GB, free: 2.785 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.9624, allocations: 350.7 kB / 1.175 GB, free: 2.434 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005914/0.963, allocations: 247.9 kB / 1.176 GB, free: 2.191 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000695/0.9637, allocations: 332.5 kB / 1.176 GB, free: 1.836 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009313/0.9647, allocations: 305.5 kB / 1.176 GB, free: 1.539 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.9647, allocations: 0 / 1.176 GB, free: 1.539 MB / 0.7761 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004955/0.9697, allocations: 1.01 MB / 1.177 GB, free: 0.5195 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003169/0.97, allocations: 0.7901 MB / 1.178 GB, free: 15.67 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.97, allocations: 7.938 kB / 1.178 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003858/0.9739, allocations: 409.2 kB / 1.178 GB, free: 15.25 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.975, allocations: 119.8 kB / 1.179 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006234/0.9812, allocations: 2.942 MB / 1.181 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.9826, allocations: 83.94 kB / 1.181 GB, free: 11.97 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.102e-05/0.9827, allocations: 12 kB / 1.182 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/0.9827, allocations: 4 kB / 1.182 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001481/0.9842, allocations: 483.8 kB / 1.182 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.9843, allocations: 4 kB / 1.182 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.965e-06/0.9843, allocations: 4 kB / 1.182 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.9856, allocations: 136 kB / 1.182 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.9857, allocations: 7.938 kB / 1.182 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001071/0.9867, allocations: 75.91 kB / 1.182 GB, free: 11.26 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-05/0.9868, allocations: 8 kB / 1.182 GB, free: 11.25 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002038/0.987, allocations: 122.7 kB / 1.182 GB, free: 11.13 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.9872, allocations: 39.56 kB / 1.182 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005754/0.9929, allocations: 1.068 MB / 1.183 GB, free: 10.02 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.993, allocations: 7.906 kB / 1.183 GB, free: 10.01 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.993, allocations: 0 / 1.183 GB, free: 10.01 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.993, allocations: 144 / 1.183 GB, free: 10.01 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00693/0.9999, allocations: 1.677 MB / 1.185 GB, free: 8.273 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/1, allocations: 0 / 1.185 GB, free: 8.273 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008652/1.001, allocations: 79.95 kB / 1.185 GB, free: 8.195 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004571/1.005, allocations: 0.5479 MB / 1.186 GB, free: 7.641 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.885e-05/1.006, allocations: 3.984 kB / 1.186 GB, free: 7.637 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008625/1.014, allocations: 4.048 MB / 1.19 GB, free: 3.359 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/1.014, allocations: 4.031 kB / 1.19 GB, free: 3.355 MB / 0.7917 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00532/1.02, allocations: 1.108 MB / 1.191 GB, free: 2.199 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004092/1.02, allocations: 172.6 kB / 1.191 GB, free: 2.012 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/1.02, allocations: 4 kB / 1.191 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/1.021, allocations: 79.89 kB / 1.191 GB, free: 1.93 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/1.022, allocations: 23.91 kB / 1.191 GB, free: 1.906 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.073e-05/1.022, allocations: 4 kB / 1.191 GB, free: 1.902 MB / 0.7917 GB Notification: Performance of sort global known variables: time 0.0004797/1.022, allocations: 271.1 kB / 1.191 GB, free: 1.637 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.001171/1.023, allocations: 191.9 kB / 1.191 GB, free: 1.449 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003247/1.024, allocations: 156 kB / 1.192 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002764/1.026, allocations: 0.9726 MB / 1.192 GB, free: 312 kB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/1.026, allocations: 8.25 kB / 1.193 GB, free: 304 kB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.00147/1.028, allocations: 0.5361 MB / 1.193 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008285/1.029, allocations: 95.2 kB / 1.193 GB, free: 15.65 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002467/1.031, allocations: 0.7728 MB / 1.194 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008951/1.032, allocations: 0.9513 MB / 1.195 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of SimCode: time 7.92e-07/1.032, allocations: 4 kB / 1.195 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of Templates: time 0.03038/1.063, allocations: 12.1 MB / 1.207 GB, free: 1.918 MB / 0.8073 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.pipe 2>&1)