Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.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.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor") [: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.086/2.086, 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.00215/0.00215, allocations: 185.2 kB / 360.4 MB, free: 7.551 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.623/1.623, allocations: 205.1 MB / 0.6188 GB, free: 13.2 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.001235/0.001235, allocations: 96.55 kB / 0.7318 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.164e-06/7.303e-06, allocations: 0 / 0.8502 GB, free: 3.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5342/0.5342, allocations: 115.2 MB / 0.9628 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2348/0.7691, allocations: 163.2 MB / 1.122 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/0.7695, allocations: 95.94 kB / 1.122 GB, free: 9.496 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);. Notification: Performance of FrontEnd: time 0.05768/0.8272, allocations: 15.67 MB / 1.138 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.316e-05/0.8272, allocations: 8 kB / 1.138 GB, free: 9.758 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001068/0.8283, allocations: 0.5489 MB / 1.138 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.8283, allocations: 12.47 kB / 1.138 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.83, allocations: 143.4 kB / 1.138 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005843/0.8306, allocations: 286.4 kB / 1.139 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.347e-05/0.8306, allocations: 12 kB / 1.139 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.79e-05/0.8307, allocations: 21.31 kB / 1.139 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007675/0.8315, allocations: 285.2 kB / 1.139 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008895/0.8324, allocations: 412.1 kB / 1.139 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.8324, allocations: 5.125 kB / 1.139 GB, free: 7.945 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.483e-05/0.8325, allocations: 4 kB / 1.139 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.379e-05/0.8325, allocations: 28.58 kB / 1.139 GB, free: 7.91 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002924/0.8355, allocations: 2.114 MB / 1.141 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.8359, allocations: 158.7 kB / 1.141 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003661/0.8363, allocations: 100.8 kB / 1.142 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.8363, allocations: 0 / 1.142 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.394e-05/0.8364, allocations: 56.48 kB / 1.142 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/0.8364, allocations: 0 / 1.142 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0004915/0.8369, allocations: 146.2 kB / 1.142 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.8369, allocations: 55.66 kB / 1.142 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002686/0.8372, allocations: 191.1 kB / 1.142 GB, free: 4.859 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.8372, allocations: 25.7 kB / 1.142 GB, free: 4.828 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.8374, allocations: 195.4 kB / 1.142 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.075e-05/0.8374, allocations: 47.3 kB / 1.142 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.8375, allocations: 4 kB / 1.142 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.8376, allocations: 334.7 kB / 1.143 GB, free: 4.246 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.8378, allocations: 52.45 kB / 1.143 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.838, allocations: 139.8 kB / 1.143 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.8382, allocations: 75.95 kB / 1.143 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.8382, allocations: 4 kB / 1.143 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005928/0.8388, allocations: 241.2 kB / 1.143 GB, free: 3.699 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.8388, allocations: 4 kB / 1.143 GB, free: 3.695 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.8389, allocations: 4 kB / 1.143 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001879/0.8391, allocations: 34.19 kB / 1.143 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.8394, allocations: 47.92 kB / 1.143 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.8407, allocations: 1.257 MB / 1.144 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.841, allocations: 15.75 kB / 1.144 GB, free: 2.223 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.841, allocations: 12 kB / 1.144 GB, free: 2.211 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 26 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.8411, allocations: 116.8 kB / 1.145 GB, free: 2.094 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.562e-05/0.8412, allocations: 19.72 kB / 1.145 GB, free: 2.074 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.077e-05/0.8413, allocations: 33.55 kB / 1.145 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.8413, allocations: 0 / 1.145 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.8413, allocations: 0 / 1.145 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.8413, allocations: 0 / 1.145 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.8425, allocations: 0.6406 MB / 1.145 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.8425, allocations: 0 / 1.145 GB, free: 1.328 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001928/0.8427, allocations: 29.42 kB / 1.145 GB, free: 1.301 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001579/0.8429, allocations: 24.84 kB / 1.145 GB, free: 1.273 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.8429, allocations: 4 kB / 1.145 GB, free: 1.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.844, allocations: 1.253 MB / 1.146 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.8441, allocations: 4.062 kB / 1.146 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004905/0.8446, allocations: 383.3 kB / 1.147 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000137/0.8447, allocations: 116.8 kB / 1.147 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.484e-05/0.8448, allocations: 4 kB / 1.147 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.8451, allocations: 12 kB / 1.147 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/0.8451, allocations: 11.89 kB / 1.147 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.8451, allocations: 15.08 kB / 1.147 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.000183/0.8453, allocations: 149.6 kB / 1.147 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005301/0.8459, allocations: 71.75 kB / 1.147 GB, free: 15.06 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000134/0.846, allocations: 109.3 kB / 1.147 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.000576/0.8466, allocations: 250.4 kB / 1.148 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.8466, allocations: 0 / 1.148 GB, free: 14.69 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003004/0.8469, allocations: 170.8 kB / 1.148 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004877/0.8474, allocations: 42.67 kB / 1.148 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.8485, allocations: 366.6 kB / 1.148 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005264/0.849, allocations: 0.8227 MB / 1.149 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of SimCode: time 2.384e-06/0.849, allocations: 0 / 1.149 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of Templates: time 0.008244/0.8573, allocations: 2.37 MB / 1.151 GB, free: 10.93 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)