Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor") translateModel(Buildings.Electrical.DC.Loads.Examples.Resistor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.306/1.306, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009104/0.0009104, allocations: 181.3 kB / 361.1 MB, free: 7.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.974/0.974, allocations: 205.1 MB / 0.6195 GB, free: 11.93 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000776/0.000776, allocations: 93.5 kB / 0.7325 GB, free: 44.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.719e-06/4.739e-06, allocations: 0 / 0.8511 GB, free: 3.145 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3816, allocations: 115.3 MB / 0.9637 GB, free: 77.82 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.145/0.5266, allocations: 163.4 MB / 1.123 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.5269, allocations: 89.92 kB / 1.123 GB, free: 8.574 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.03586/0.5627, allocations: 15.66 MB / 1.139 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.5628, allocations: 12 kB / 1.139 GB, free: 8.836 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.0006444/0.5634, allocations: 0.549 MB / 1.139 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.5635, allocations: 8.031 kB / 1.139 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.5645, allocations: 151.4 kB / 1.139 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.5649, allocations: 283 kB / 1.14 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.5649, allocations: 12 kB / 1.14 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.897e-05/0.5649, allocations: 17.5 kB / 1.14 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000432/0.5654, allocations: 285.1 kB / 1.14 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005202/0.5659, allocations: 416.1 kB / 1.14 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.5659, allocations: 5.688 kB / 1.14 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.566, allocations: 0 / 1.14 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.784e-05/0.566, allocations: 28.64 kB / 1.14 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.5679, allocations: 2.126 MB / 1.142 GB, free: 4.668 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002459/0.5681, allocations: 150.8 kB / 1.143 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.5684, allocations: 108.8 kB / 1.143 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.648e-06/0.5684, allocations: 0 / 1.143 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.5684, allocations: 38.5 kB / 1.143 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 9.61e-07/0.5684, allocations: 0 / 1.143 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0003303/0.5687, allocations: 160 kB / 1.143 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.287e-05/0.5688, allocations: 55.64 kB / 1.143 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.5689, allocations: 187.1 kB / 1.143 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.569, allocations: 29.7 kB / 1.143 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.838e-05/0.5691, allocations: 191.4 kB / 1.143 GB, free: 3.711 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.5691, allocations: 55.28 kB / 1.143 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/0.5691, allocations: 0 / 1.143 GB, free: 3.656 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.5692, allocations: 330.7 kB / 1.144 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.271e-05/0.5693, allocations: 52.45 kB / 1.144 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.5694, allocations: 139.8 kB / 1.144 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.5696, allocations: 83.89 kB / 1.144 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.5696, allocations: 0 / 1.144 GB, free: 3.016 MB / 0.7448 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003534/0.5699, allocations: 233.1 kB / 1.144 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.5699, allocations: 7.938 kB / 1.144 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.57, allocations: 4 kB / 1.144 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000128/0.5701, allocations: 28.75 kB / 1.144 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001939/0.5703, allocations: 55.91 kB / 1.144 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008499/0.5712, allocations: 1.25 MB / 1.145 GB, free: 1.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001461/0.5713, allocations: 15.75 kB / 1.145 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.5713, allocations: 9.594 kB / 1.145 GB, free: 1.297 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 7.885e-05/0.5714, allocations: 117 kB / 1.146 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.5715, allocations: 23.72 kB / 1.146 GB, free: 1.152 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.494e-05/0.5715, allocations: 25.45 kB / 1.146 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.5715, allocations: 0 / 1.146 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.5715, allocations: 0 / 1.146 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.5715, allocations: 4 kB / 1.146 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007489/0.5723, allocations: 0.6505 MB / 1.146 GB, free: 412 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5723, allocations: 0 / 1.146 GB, free: 412 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.777e-05/0.5724, allocations: 27.92 kB / 1.146 GB, free: 384 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-05/0.5725, allocations: 29.03 kB / 1.146 GB, free: 352 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.5725, allocations: 10.42 kB / 1.146 GB, free: 344 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007948/0.5733, allocations: 1.24 MB / 1.148 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.5733, allocations: 3.906 kB / 1.148 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000317/0.5736, allocations: 387.3 kB / 1.148 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.186e-05/0.5737, allocations: 110.8 kB / 1.148 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.964e-05/0.5738, allocations: 4 kB / 1.148 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.574, allocations: 8 kB / 1.148 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.271e-05/0.574, allocations: 19.83 kB / 1.148 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.574, allocations: 4 kB / 1.148 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.000108/0.5741, allocations: 157.6 kB / 1.148 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003552/0.5745, allocations: 71.75 kB / 1.148 GB, free: 14.14 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 9.309e-05/0.5746, allocations: 103 kB / 1.148 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003518/0.5749, allocations: 251.1 kB / 1.149 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.5749, allocations: 0 / 1.149 GB, free: 13.77 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.5751, allocations: 173.7 kB / 1.149 GB, free: 13.59 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.5754, allocations: 50.3 kB / 1.149 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005904/0.576, allocations: 370.4 kB / 1.149 GB, free: 13.15 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/0.5764, allocations: 0.8188 MB / 1.15 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of SimCode: time 2.5e-07/0.5764, allocations: 0 / 1.15 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of Templates: time 0.00482/0.5813, allocations: 2.356 MB / 1.152 GB, free: 10.02 MB / 0.7605 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.DC.Loads.Examples.Resistor.pipe 2>&1)