Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.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.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") translateModel(Buildings.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad") [: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.064/2.064, allocations: 284.9 MB / 292.2 MB, free: 10.78 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.00156/0.00156, allocations: 181.3 kB / 360.4 MB, free: 7.523 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.609/1.609, allocations: 205.1 MB / 0.6188 GB, free: 12.46 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.001218/0.001217, allocations: 95.56 kB / 0.7318 GB, free: 45.04 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.113e-06/7.194e-06, allocations: 0 / 0.8502 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.522/0.522, allocations: 115.2 MB / 0.9628 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2408/0.7629, allocations: 164.9 MB / 1.124 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/0.7633, allocations: 92.64 kB / 1.124 GB, free: 7.773 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.07311/0.8364, allocations: 18.92 MB / 1.142 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.883e-05/0.8365, allocations: 8 kB / 1.142 GB, free: 4.762 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001383/0.8378, allocations: 0.588 MB / 1.143 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.8379, allocations: 16.03 kB / 1.143 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.8391, allocations: 99.44 kB / 1.143 GB, free: 4.016 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005776/0.8397, allocations: 290.4 kB / 1.143 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.8397, allocations: 15.91 kB / 1.143 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.447e-05/0.8398, allocations: 16 kB / 1.143 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008092/0.8406, allocations: 289.2 kB / 1.144 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009238/0.8416, allocations: 412.8 kB / 1.144 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.8416, allocations: 3.938 kB / 1.144 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.085e-05/0.8416, allocations: 4 kB / 1.144 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-05/0.8417, allocations: 36.62 kB / 1.144 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00321/0.8449, allocations: 1.993 MB / 1.146 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006709/0.8456, allocations: 178.8 kB / 1.146 GB, free: 0.5391 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004367/0.8461, allocations: 135 kB / 1.146 GB, free: 416 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.8461, allocations: 8 kB / 1.146 GB, free: 408 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.8462, allocations: 37.75 kB / 1.146 GB, free: 364 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 2.444e-06/0.8462, allocations: 3.938 kB / 1.146 GB, free: 360 kB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0006212/0.8468, allocations: 184.3 kB / 1.147 GB, free: 168 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.8469, allocations: 55.41 kB / 1.147 GB, free: 100 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.8471, allocations: 196.2 kB / 1.147 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.8472, allocations: 25.7 kB / 1.147 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.8474, allocations: 199.6 kB / 1.147 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.997e-05/0.8474, allocations: 67.03 kB / 1.147 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.657e-05/0.8475, allocations: 0 / 1.147 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.8476, allocations: 338.7 kB / 1.147 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.8478, allocations: 60.55 kB / 1.147 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.8481, allocations: 175.4 kB / 1.148 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.8484, allocations: 90.64 kB / 1.148 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.8484, allocations: 0 / 1.148 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007496/0.8492, allocations: 273.9 kB / 1.148 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005245/0.8497, allocations: 1.395 MB / 1.149 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.784e-06/0.8497, allocations: 0 / 1.149 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/0.8499, allocations: 32.84 kB / 1.149 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005701/0.8505, allocations: 71.89 kB / 1.149 GB, free: 13.01 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005364/0.8511, allocations: 0.5624 MB / 1.15 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004544/0.8515, allocations: 47.81 kB / 1.15 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.8516, allocations: 12 kB / 1.15 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/0.8516, allocations: 4 kB / 1.15 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005277/0.8521, allocations: 194.8 kB / 1.15 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.8522, allocations: 4.031 kB / 1.15 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.8522, allocations: 8 kB / 1.15 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005758/0.8528, allocations: 79.89 kB / 1.15 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.8528, allocations: 4 kB / 1.15 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.8532, allocations: 43.72 kB / 1.15 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/0.8532, allocations: 12 kB / 1.15 GB, free: 12.03 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.8534, allocations: 121.6 kB / 1.15 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.828e-05/0.8535, allocations: 23.72 kB / 1.15 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.401e-05/0.8536, allocations: 29.89 kB / 1.151 GB, free: 11.85 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.8536, allocations: 9.188 kB / 1.151 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.8536, allocations: 1.969 kB / 1.151 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.8536, allocations: 0 / 1.151 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002143/0.8558, allocations: 0.6411 MB / 1.151 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.8558, allocations: 4 kB / 1.151 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006268/0.8564, allocations: 43.97 kB / 1.151 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002648/0.8567, allocations: 32.84 kB / 1.151 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.387e-05/0.8568, allocations: 0 / 1.151 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00237/0.8592, allocations: 1.255 MB / 1.152 GB, free: 9.688 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/0.8592, allocations: 4.031 kB / 1.152 GB, free: 9.684 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001089/0.8603, allocations: 336.2 kB / 1.153 GB, free: 9.32 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003169/0.8607, allocations: 112.8 kB / 1.153 GB, free: 9.191 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.8608, allocations: 4 kB / 1.153 GB, free: 9.188 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007153/0.8615, allocations: 19.98 kB / 1.153 GB, free: 9.168 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.8617, allocations: 15.97 kB / 1.153 GB, free: 9.152 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.061e-05/0.8617, allocations: 8 kB / 1.153 GB, free: 9.145 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.0003421/0.8621, allocations: 148.5 kB / 1.153 GB, free: 9.004 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001506/0.8636, allocations: 143.4 kB / 1.153 GB, free: 8.863 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 (18): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002613/0.8639, allocations: 95.25 kB / 1.153 GB, free: 8.758 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001462/0.8654, allocations: 292.4 kB / 1.154 GB, free: 8.473 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.8654, allocations: 0 / 1.154 GB, free: 8.473 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005252/0.866, allocations: 176.5 kB / 1.154 GB, free: 8.293 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000905/0.8669, allocations: 61.67 kB / 1.154 GB, free: 8.23 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.8685, allocations: 375.7 kB / 1.154 GB, free: 7.832 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008014/0.8693, allocations: 0.8357 MB / 1.155 GB, free: 6.969 MB / 0.7605 GB Notification: Performance of SimCode: time 9.92e-07/0.8693, allocations: 0 / 1.155 GB, free: 6.969 MB / 0.7605 GB Notification: Performance of Templates: time 0.0158/0.8852, allocations: 3.775 MB / 1.159 GB, free: 3.281 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.sim & ./Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)