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.ACLine.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.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [: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.214/2.214, allocations: 284.9 MB / 292.2 MB, free: 10.72 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.001503/0.001503, allocations: 177.3 kB / 360.4 MB, free: 7.48 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.594/1.594, allocations: 205.1 MB / 0.6188 GB, free: 12.38 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.001252/0.001251, allocations: 93.47 kB / 0.7318 GB, free: 44.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.827e-06/8.916e-06, allocations: 0 / 0.8503 GB, free: 3.797 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5428/0.5429, allocations: 115.2 MB / 0.9628 GB, free: 78.56 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2655/0.8085, allocations: 178.9 MB / 1.138 GB, free: 9.711 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003464/0.8089, allocations: 96.88 kB / 1.138 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of FrontEnd: time 0.3037/1.113, allocations: 76.87 MB / 1.213 GB, free: 12.22 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001306/1.113, allocations: 35.94 kB / 1.213 GB, free: 12.19 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.003898/1.117, allocations: 1.544 MB / 1.214 GB, free: 10.59 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/1.117, allocations: 8.031 kB / 1.214 GB, free: 10.59 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01947/1.136, allocations: 1.469 MB / 1.216 GB, free: 9.113 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00405/1.14, allocations: 1.149 MB / 1.217 GB, free: 7.906 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.2e-05/1.14, allocations: 40 kB / 1.217 GB, free: 7.867 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003474/1.141, allocations: 64 kB / 1.217 GB, free: 7.805 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004443/1.145, allocations: 1.497 MB / 1.218 GB, free: 6.305 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004687/1.15, allocations: 1.919 MB / 1.22 GB, free: 4.203 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.406e-05/1.15, allocations: 8 kB / 1.22 GB, free: 4.195 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002438/1.15, allocations: 4 kB / 1.22 GB, free: 4.191 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/1.15, allocations: 82.19 kB / 1.22 GB, free: 4.109 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02291/1.173, allocations: 9.793 MB / 1.23 GB, free: 9.672 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003465/1.177, allocations: 1.098 MB / 1.231 GB, free: 8.547 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/1.178, allocations: 0.6064 MB / 1.232 GB, free: 7.941 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.809e-05/1.178, allocations: 8.438 kB / 1.232 GB, free: 7.934 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/1.178, allocations: 46.94 kB / 1.232 GB, free: 7.875 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=53): time 3.386e-06/1.178, allocations: 4 kB / 1.232 GB, free: 7.871 MB / 0.8386 GB Notification: Performance of matching and sorting (n=81): time 0.01594/1.194, allocations: 3.94 MB / 1.235 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/1.195, allocations: 226.2 kB / 1.236 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/1.196, allocations: 0.7421 MB / 1.236 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001607/1.196, allocations: 29.69 kB / 1.236 GB, free: 2.836 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/1.197, allocations: 0.5493 MB / 1.237 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004235/1.197, allocations: 268 kB / 1.237 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/1.197, allocations: 0 / 1.237 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.198, allocations: 341.9 kB / 1.238 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001788/1.199, allocations: 0.7009 MB / 1.238 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/1.201, allocations: 0.9282 MB / 1.239 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002412/1.204, allocations: 0.7972 MB / 1.24 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/1.204, allocations: 0 / 1.24 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.009278/1.213, allocations: 2.495 MB / 1.242 GB, free: 12.62 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/1.213, allocations: 5.094 kB / 1.242 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-05/1.213, allocations: 8 kB / 1.242 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005634/1.219, allocations: 0.8456 MB / 1.243 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003888/1.223, allocations: 340.5 kB / 1.244 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3045/1.527, allocations: 13.83 MB / 1.257 GB, free: 296.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004234/1.532, allocations: 197 kB / 1.257 GB, free: 296.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002435/1.532, allocations: 55.94 kB / 1.257 GB, free: 296.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003858/1.532, allocations: 130.9 kB / 1.257 GB, free: 296.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003154/1.533, allocations: 132.1 kB / 1.258 GB, free: 296.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009139/1.542, allocations: 2.53 MB / 1.26 GB, free: 296.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/1.542, allocations: 6.594 kB / 1.26 GB, free: 296.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.805e-05/1.542, allocations: 9.875 kB / 1.26 GB, free: 296.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/1.542, allocations: 3.891 kB / 1.26 GB, free: 296.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01237/1.554, allocations: 4.08 MB / 1.264 GB, free: 295.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/1.554, allocations: 3.844 kB / 1.264 GB, free: 295.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003366/1.558, allocations: 285.4 kB / 1.264 GB, free: 295.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004814/1.562, allocations: 0.7584 MB / 1.265 GB, free: 295.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002255/1.563, allocations: 25.22 kB / 1.265 GB, free: 295.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01846/1.581, allocations: 13.38 MB / 1.278 GB, free: 286.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.17e-05/1.581, allocations: 6.219 kB / 1.278 GB, free: 286.3 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007522/1.589, allocations: 2.469 MB / 1.281 GB, free: 285.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/1.59, allocations: 380.7 kB / 1.281 GB, free: 285.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004315/1.59, allocations: 10.06 kB / 1.281 GB, free: 285.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003751/1.594, allocations: 206.3 kB / 1.281 GB, free: 285.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001774/1.594, allocations: 48.27 kB / 1.281 GB, free: 285.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001794/1.595, allocations: 35.31 kB / 1.281 GB, free: 285.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.00107/1.596, allocations: 0.5613 MB / 1.282 GB, free: 285.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002222/1.598, allocations: 401 kB / 1.282 GB, free: 285.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003774/1.598, allocations: 135.7 kB / 1.282 GB, free: 285.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006831/1.605, allocations: 2.71 MB / 1.285 GB, free: 284.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/1.605, allocations: 5.906 kB / 1.285 GB, free: 284.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004805/1.61, allocations: 1.837 MB / 1.287 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003136/1.613, allocations: 412.9 kB / 1.287 GB, free: 283.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/1.625, allocations: 2.611 MB / 1.29 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002031/1.627, allocations: 1.492 MB / 1.291 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.292e-06/1.627, allocations: 2.844 kB / 1.291 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.0703/1.697, allocations: 30.25 MB / 1.321 GB, free: 281.3 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1)