Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.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.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low") [: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.329/1.329, allocations: 285.5 MB / 292.8 MB, free: 14.29 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000994/0.0009939, allocations: 177.9 kB / 361.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.005/1.005, allocations: 205.1 MB / 0.6195 GB, free: 2.938 MB / 462.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007573/0.0007575, allocations: 85.78 kB / 0.7326 GB, free: 53.8 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 6.062e-06/6.072e-06, allocations: 4 kB / 0.8511 GB, free: 9.688 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1672, allocations: 115.3 MB / 0.9637 GB, free: 6.199 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3801/0.5473, allocations: 140.5 MB / 1.101 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001522/0.5475, allocations: 83.94 kB / 1.101 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of FrontEnd: time 0.02503/0.5726, allocations: 12.51 MB / 1.113 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.5726, allocations: 4.172 kB / 1.113 GB, free: 14.17 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002834/0.5729, allocations: 414 kB / 1.114 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.5729, allocations: 12.47 kB / 1.114 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.876e-05/0.573, allocations: 95 kB / 1.114 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.5732, allocations: 301.4 kB / 1.114 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.437e-05/0.5733, allocations: 150.6 kB / 1.114 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.5733, allocations: 154.6 kB / 1.114 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.993e-05/0.5734, allocations: 150.6 kB / 1.114 GB, free: 12.84 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.293e-05/0.5734, allocations: 107 kB / 1.115 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/0.5734, allocations: 75.28 kB / 1.115 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.5735, allocations: 150.6 kB / 1.115 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.393e-05/0.5735, allocations: 154.5 kB / 1.115 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.5739, allocations: 478.5 kB / 1.115 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.971e-05/0.5739, allocations: 169.1 kB / 1.115 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.624e-05/0.574, allocations: 84.19 kB / 1.116 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.574, allocations: 79.19 kB / 1.116 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/0.574, allocations: 115.9 kB / 1.116 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.574, allocations: 0.9375 kB / 1.116 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.399e-05/0.5741, allocations: 45.45 kB / 1.116 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/0.5742, allocations: 51.41 kB / 1.116 GB, free: 11.27 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Transmission/LowVoltageCables/Generic.mo:7:3-8:44:writable] Warning: Parameter cab[7].XCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Transmission/LowVoltageCables/Generic.mo:5:3-6:45:writable] Warning: Parameter cab[7].RCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Transmission/LowVoltageCables/Generic.mo:7:3-8:44:writable] Warning: Parameter cab[6].XCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Transmission/LowVoltageCables/Generic.mo:5:3-6:45:writable] Warning: Parameter cab[6].RCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Transmission/LowVoltageCables/Generic.mo:7:3-8:44:writable] Warning: Parameter cab[5].XCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Transmission/LowVoltageCables/Generic.mo:5:3-6:45:writable] Warning: Parameter cab[5].RCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Transmission/LowVoltageCables/Generic.mo:7:3-8:44:writable] Warning: Parameter cab[4].XCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Transmission/LowVoltageCables/Generic.mo:5:3-6:45:writable] Warning: Parameter cab[4].RCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Transmission/LowVoltageCables/Generic.mo:7:3-8:44:writable] Warning: Parameter cab[3].XCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Transmission/LowVoltageCables/Generic.mo:5:3-6:45:writable] Warning: Parameter cab[3].RCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Transmission/LowVoltageCables/Generic.mo:7:3-8:44:writable] Warning: Parameter cab[2].XCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Transmission/LowVoltageCables/Generic.mo:5:3-6:45:writable] Warning: Parameter cab[2].RCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Transmission/LowVoltageCables/Generic.mo:7:3-8:44:writable] Warning: Parameter cab[1].XCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Electrical/Transmission/LowVoltageCables/Generic.mo:5:3-6:45:writable] Warning: Parameter cab[1].RCha has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.5745, allocations: 288.8 kB / 1.116 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.5745, allocations: 25.7 kB / 1.116 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.425e-05/0.5746, allocations: 100.1 kB / 1.116 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.012e-06/0.5746, allocations: 0 / 1.116 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-07/0.5746, allocations: 0 / 1.116 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.5747, allocations: 334.8 kB / 1.117 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.264e-06/0.5747, allocations: 0 / 1.117 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.554e-06/0.5747, allocations: 1.594 kB / 1.117 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.221e-05/0.5747, allocations: 79.28 kB / 1.117 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.86e-05/0.5747, allocations: 75.28 kB / 1.117 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.817e-05/0.5748, allocations: 45.42 kB / 1.117 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.5748, allocations: 9.094 kB / 1.117 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/0.5749, allocations: 83.2 kB / 1.117 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.123e-05/0.5749, allocations: 152.5 kB / 1.117 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.374e-05/0.575, allocations: 75.28 kB / 1.117 GB, free: 9.996 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.573e-05/0.575, allocations: 166.5 kB / 1.117 GB, free: 9.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.5751, allocations: 75.28 kB / 1.117 GB, free: 9.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.878e-05/0.5751, allocations: 76.48 kB / 1.117 GB, free: 9.684 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.063e-05/0.5752, allocations: 251.5 kB / 1.118 GB, free: 9.43 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.587e-05/0.5753, allocations: 128.6 kB / 1.118 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.901e-05/0.5754, allocations: 117.8 kB / 1.118 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.409e-05/0.5754, allocations: 184.3 kB / 1.118 GB, free: 8.992 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.096e-05/0.5755, allocations: 184.2 kB / 1.118 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.35e-05/0.5755, allocations: 176.3 kB / 1.118 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.5758, allocations: 429.5 kB / 1.119 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.322e-05/0.5758, allocations: 110.2 kB / 1.119 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.966e-05/0.5759, allocations: 112.9 kB / 1.119 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.974e-05/0.5759, allocations: 180.3 kB / 1.119 GB, free: 7.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.328e-05/0.576, allocations: 187.2 kB / 1.119 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.055e-05/0.576, allocations: 176.3 kB / 1.12 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.704e-05/0.5761, allocations: 184.3 kB / 1.12 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001197/0.5762, allocations: 323.8 kB / 1.12 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.049e-05/0.5763, allocations: 197.9 kB / 1.12 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-05/0.5764, allocations: 180.2 kB / 1.12 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.5765, allocations: 109 kB / 1.12 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.5765, allocations: 176.3 kB / 1.121 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.5766, allocations: 112.9 kB / 1.121 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of sort global known variables: time 0.0001603/0.5767, allocations: 201.2 kB / 1.121 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000267/0.577, allocations: 20 kB / 1.121 GB, free: 5.828 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001797/0.5772, allocations: 236.9 kB / 1.121 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 2.491e-05/0.5772, allocations: 0 / 1.121 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.5772, allocations: 0 / 1.121 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.5772, allocations: 0 / 1.121 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005008/0.5777, allocations: 0.5808 MB / 1.122 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.5781, allocations: 286.6 kB / 1.122 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/0.5784, allocations: 0.7582 MB / 1.123 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.5785, allocations: 0.9375 kB / 1.123 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of Templates: time 0.00401/0.5825, allocations: 1.929 MB / 1.125 GB, free: 2.086 MB / 0.7169 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)