Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.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.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.LinearizedLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad") [: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.124/2.124, 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.001534/0.001534, allocations: 181.3 kB / 360.4 MB, free: 7.527 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.565/1.565, allocations: 205.2 MB / 0.6188 GB, free: 12.45 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.001215/0.001214, allocations: 90.66 kB / 0.7318 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.254e-06/7.333e-06, allocations: 0 / 0.8502 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5392/0.5392, allocations: 115.2 MB / 0.9628 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2352/0.7745, allocations: 165.2 MB / 1.124 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/0.7749, allocations: 87.94 kB / 1.124 GB, free: 7.531 MB / 0.7292 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);. [/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);. Notification: Performance of FrontEnd: time 0.0683/0.8432, allocations: 17.32 MB / 1.141 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.438e-05/0.8432, allocations: 8 kB / 1.141 GB, free: 6.102 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001517/0.8448, allocations: 0.6191 MB / 1.142 GB, free: 5.438 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.8448, allocations: 8.031 kB / 1.142 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001351/0.8462, allocations: 119.4 kB / 1.142 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008865/0.8471, allocations: 320.8 kB / 1.142 GB, free: 4.961 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.256e-05/0.8472, allocations: 42.48 kB / 1.142 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.671e-05/0.8473, allocations: 23.94 kB / 1.142 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000934/0.8482, allocations: 333.4 kB / 1.142 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.8493, allocations: 436.7 kB / 1.143 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.8493, allocations: 3.938 kB / 1.143 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.352e-05/0.8494, allocations: 6.938 kB / 1.143 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.216e-05/0.8494, allocations: 32.67 kB / 1.143 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00376/0.8532, allocations: 2.152 MB / 1.145 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007951/0.854, allocations: 218.7 kB / 1.145 GB, free: 1.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004707/0.8545, allocations: 136.8 kB / 1.145 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/0.8546, allocations: 4 kB / 1.145 GB, free: 1.34 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.8546, allocations: 34.56 kB / 1.145 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=19): time 2.826e-06/0.8546, allocations: 0 / 1.145 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of matching and sorting (n=19): time 0.001028/0.8557, allocations: 255.3 kB / 1.146 GB, free: 1.035 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.8557, allocations: 51.41 kB / 1.146 GB, free: 0.9727 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.856, allocations: 182.8 kB / 1.146 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.856, allocations: 27.2 kB / 1.146 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.8562, allocations: 199.6 kB / 1.146 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.506e-05/0.8562, allocations: 67.03 kB / 1.146 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.789e-05/0.8563, allocations: 0 / 1.146 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.8564, allocations: 334.7 kB / 1.146 GB, free: 160 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.8566, allocations: 72.72 kB / 1.147 GB, free: 88 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/0.857, allocations: 163.1 kB / 1.147 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002574/0.8572, allocations: 103.1 kB / 1.147 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.8573, allocations: 0 / 1.147 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001089/0.8584, allocations: 314.8 kB / 1.147 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003634/0.8587, allocations: 0.9601 MB / 1.148 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.8588, allocations: 4 kB / 1.148 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007001/0.8595, allocations: 101.5 kB / 1.148 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004311/0.8599, allocations: 51.91 kB / 1.148 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003223/0.8631, allocations: 1.951 MB / 1.15 GB, free: 12.19 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004712/0.8636, allocations: 27.73 kB / 1.15 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.8637, allocations: 17.03 kB / 1.15 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.8637, allocations: 8.781 kB / 1.15 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008943/0.8646, allocations: 235.5 kB / 1.15 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.8646, allocations: 7.906 kB / 1.15 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004611/0.8651, allocations: 77.05 kB / 1.15 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004535/0.8656, allocations: 63.91 kB / 1.151 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/0.8682, allocations: 1.399 MB / 1.152 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000416/0.8687, allocations: 31.94 kB / 1.152 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.8687, allocations: 12 kB / 1.152 GB, free: 10.2 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.8689, allocations: 104.9 kB / 1.152 GB, free: 10.09 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-05/0.8689, allocations: 25.12 kB / 1.152 GB, free: 10.06 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.549e-05/0.869, allocations: 25.58 kB / 1.152 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.8691, allocations: 4 kB / 1.152 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.8691, allocations: 0 / 1.152 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.8691, allocations: 0 / 1.152 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001745/0.8708, allocations: 0.7253 MB / 1.153 GB, free: 9.242 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/0.8709, allocations: 3.984 kB / 1.153 GB, free: 9.238 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.8712, allocations: 39.98 kB / 1.153 GB, free: 9.199 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006168/0.8718, allocations: 97.64 kB / 1.153 GB, free: 9.098 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.8718, allocations: 3.906 kB / 1.153 GB, free: 9.094 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003855/0.8757, allocations: 2.643 MB / 1.156 GB, free: 6.23 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.8757, allocations: 6.281 kB / 1.156 GB, free: 6.227 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009983/0.8767, allocations: 395.9 kB / 1.156 GB, free: 5.801 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.8769, allocations: 124.7 kB / 1.156 GB, free: 5.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.018e-05/0.877, allocations: 0 / 1.156 GB, free: 5.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003191/0.8773, allocations: 17.8 kB / 1.156 GB, free: 5.645 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.8774, allocations: 7.984 kB / 1.156 GB, free: 5.637 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.8774, allocations: 12 kB / 1.156 GB, free: 5.625 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0001733/0.8776, allocations: 148.2 kB / 1.156 GB, free: 5.48 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0008718/0.8785, allocations: 155.3 kB / 1.156 GB, free: 5.328 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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: 0 * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001541/0.8787, allocations: 95.25 kB / 1.156 GB, free: 5.223 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002718/0.8814, allocations: 0.5711 MB / 1.157 GB, free: 4.629 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.8814, allocations: 0 / 1.157 GB, free: 4.629 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.8827, allocations: 327.6 kB / 1.157 GB, free: 4.289 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005005/0.8833, allocations: 45.61 kB / 1.157 GB, free: 4.246 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.8846, allocations: 413.6 kB / 1.158 GB, free: 3.812 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005719/0.8852, allocations: 0.8354 MB / 1.159 GB, free: 2.953 MB / 0.7605 GB Notification: Performance of SimCode: time 9.22e-07/0.8852, allocations: 0 / 1.159 GB, free: 2.953 MB / 0.7605 GB Notification: Performance of Templates: time 0.0136/0.8988, allocations: 4.648 MB / 1.163 GB, free: 14.4 MB / 0.7761 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.LinearizedLoad.pipe 2>&1)