Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.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.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") translateModel(Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized") [: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.091/2.091, allocations: 284.9 MB / 292.2 MB, free: 10.75 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.002355/0.002355, allocations: 193.2 kB / 360.4 MB, free: 7.516 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.638/1.638, 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.001196/0.001195, allocations: 82.06 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.983e-06/7.073e-06, allocations: 0 / 0.8502 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5199/0.52, allocations: 115.2 MB / 0.9628 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2694/0.7894, allocations: 188.8 MB / 1.147 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003163/0.7898, allocations: 92.83 kB / 1.147 GB, free: 15.78 MB / 0.7605 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/PartialTwoPortRLC.mo:18:3-18: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.9033/1.693, allocations: 148.1 MB / 1.292 GB, free: 192.1 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002825/1.693, allocations: 85.59 kB / 1.292 GB, free: 192.1 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 635 * Number of variables: 635 Notification: Performance of Generate backend data structure: time 0.01392/1.707, allocations: 3.783 MB / 1.296 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/1.707, allocations: 9.344 kB / 1.296 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02969/1.737, allocations: 3.193 MB / 1.299 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01048/1.748, allocations: 2.58 MB / 1.301 GB, free: 189.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003765/1.748, allocations: 379.5 kB / 1.302 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007713/1.749, allocations: 146.5 kB / 1.302 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009622/1.758, allocations: 3.583 MB / 1.305 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009335/1.768, allocations: 3.688 MB / 1.309 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.062e-05/1.768, allocations: 1.969 kB / 1.309 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005185/1.769, allocations: 6.641 kB / 1.309 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001644/1.769, allocations: 155.8 kB / 1.309 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03382/1.803, allocations: 14.54 MB / 1.323 GB, free: 180 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002562/1.805, allocations: 1.135 MB / 1.324 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002413/1.808, allocations: 1.093 MB / 1.325 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/1.808, allocations: 28.11 kB / 1.325 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003335/1.811, allocations: 1.374 MB / 1.327 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=163): time 4.628e-06/1.811, allocations: 0 / 1.327 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=250): time 0.0422/1.853, allocations: 8.685 MB / 1.335 GB, free: 175.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002578/1.854, allocations: 0.9011 MB / 1.336 GB, free: 174.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003701/1.857, allocations: 1.566 MB / 1.338 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000644/1.858, allocations: 32.23 kB / 1.338 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009237/1.859, allocations: 0.9587 MB / 1.339 GB, free: 173.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.00109/1.86, allocations: 0.7868 MB / 1.339 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003395/1.86, allocations: 1.031 kB / 1.339 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001494/1.861, allocations: 395.5 kB / 1.34 GB, free: 172.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003785/1.864, allocations: 1.413 MB / 1.341 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004111/1.869, allocations: 1.779 MB / 1.343 GB, free: 170.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003803/1.872, allocations: 1.478 MB / 1.344 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/1.872, allocations: 6.844 kB / 1.344 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=299) (initialization): time 0.02124/1.894, allocations: 5.138 MB / 1.349 GB, free: 168.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/1.894, allocations: 5.906 kB / 1.349 GB, free: 168.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/1.894, allocations: 9.844 kB / 1.349 GB, free: 168.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0169/1.911, allocations: 2.759 MB / 1.352 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006075/1.917, allocations: 0.6293 MB / 1.353 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05882/1.976, allocations: 15.48 MB / 1.368 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008018/1.984, allocations: 433.7 kB / 1.368 GB, free: 160.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004402/1.984, allocations: 86.77 kB / 1.368 GB, free: 160.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.varLoad1.T_start,varLoad1.T_start,$PRE.varLoad1.count,varLoad1.count,$PRE.varLoad2.T_start,varLoad2.T_start,$PRE.varLoad2.count,varLoad2.count,$PRE.varLoad3.T_start,varLoad3.T_start,$PRE.varLoad3.count,varLoad3.count,$PRE.varLoad4.T_start,varLoad4.T_start,$PRE.varLoad4.count,varLoad4.count,$PRE.varLoad5.T_start,varLoad5.T_start,$PRE.varLoad5.count,varLoad5.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * 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 {(10,48.0%) 52} * Non-linear torn systems: 1 {9 63} Notification: Performance of prepare postOptimizeDAE: time 0.0008297/1.985, allocations: 156.9 kB / 1.368 GB, free: 160 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007059/1.986, allocations: 300.7 kB / 1.369 GB, free: 159.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009733/1.987, allocations: 322.5 kB / 1.369 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.189e-05/1.987, allocations: 27.88 kB / 1.369 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.125e-05/1.987, allocations: 12.91 kB / 1.369 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.421e-05/1.987, allocations: 13.22 kB / 1.369 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006594/1.993, allocations: 3.316 MB / 1.372 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.601e-05/1.993, allocations: 3.75 kB / 1.372 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005463/1.999, allocations: 0.5535 MB / 1.373 GB, free: 158.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01724/2.016, allocations: 2.742 MB / 1.376 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000499/2.017, allocations: 18.52 kB / 1.376 GB, free: 157.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05742/2.074, allocations: 15.47 MB / 1.391 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/2.074, allocations: 0 / 1.391 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01974/2.094, allocations: 4.965 MB / 1.396 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002381/2.096, allocations: 0.6799 MB / 1.396 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000896/2.097, allocations: 7.188 kB / 1.396 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006704/2.104, allocations: 430.7 kB / 1.397 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001127/2.105, allocations: 262.8 kB / 1.397 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003643/2.106, allocations: 73.8 kB / 1.397 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.002277/2.108, allocations: 1.165 MB / 1.398 GB, free: 137 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003764/2.112, allocations: 0.8906 MB / 1.399 GB, free: 136.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varLoad1.T_start,varLoad1.count,varLoad2.T_start,varLoad2.count,varLoad3.T_start,varLoad3.count,varLoad4.T_start,varLoad4.count,varLoad5.T_start,varLoad5.count) * Number of discrete states: 5 (varLoad1.count,varLoad2.count,varLoad3.count,varLoad4.count,varLoad5.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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 {(10,60.0%) 52} * Non-linear torn systems: 1 {8 64} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005537/2.112, allocations: 147.7 kB / 1.399 GB, free: 136 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.03164/2.144, allocations: 4.924 MB / 1.404 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/2.144, allocations: 0 / 1.404 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.02772/2.172, allocations: 3.188 MB / 1.407 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00641/2.178, allocations: 0.8386 MB / 1.408 GB, free: 128.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01724/2.195, allocations: 5.193 MB / 1.413 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004019/2.199, allocations: 2.409 MB / 1.415 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.452e-06/2.199, allocations: 0.75 kB / 1.415 GB, free: 121.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.1514/2.351, allocations: 71.3 MB / 1.485 GB, free: 51.77 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Lines.Examples.DCLinesLinearized.pipe 2>&1)