Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) [: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.0/package.mo): time 2.12/2.12, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001591/0.001591, allocations: 181.2 kB / 360.3 MB, free: 7.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.00118/0.001179, allocations: 88.11 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2426/0.2438, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5523/0.7961, allocations: 115.2 MB / 0.9627 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2076/1.004, allocations: 140.4 MB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/1.004, allocations: 77.33 kB / 1.1 GB, free: 412 kB / 0.698 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.05114/1.055, allocations: 12.92 MB / 1.113 GB, free: 3.422 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.055, allocations: 12 kB / 1.113 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.237e-05/1.055, allocations: 95 kB / 1.113 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003274/1.056, allocations: 293.4 kB / 1.113 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.765e-05/1.056, allocations: 158.5 kB / 1.113 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.585e-05/1.056, allocations: 150.6 kB / 1.113 GB, free: 2.684 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.425e-05/1.056, allocations: 154.6 kB / 1.113 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.929e-05/1.056, allocations: 101.6 kB / 1.113 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.261e-05/1.056, allocations: 79.48 kB / 1.113 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.099e-05/1.056, allocations: 150.6 kB / 1.114 GB, free: 2.199 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.094e-05/1.056, allocations: 154.5 kB / 1.114 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004124/1.057, allocations: 482.5 kB / 1.114 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.105e-05/1.057, allocations: 173.1 kB / 1.114 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.879e-05/1.057, allocations: 84.19 kB / 1.114 GB, free: 1.273 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.738e-05/1.057, allocations: 79.19 kB / 1.115 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.077e-05/1.057, allocations: 105.8 kB / 1.115 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.763e-06/1.057, allocations: 4 kB / 1.115 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 0.0001005/1.057, allocations: 41.52 kB / 1.115 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/1.057, allocations: 55.34 kB / 1.115 GB, free: 0.9648 MB / 0.7136 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.0/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.000597/1.058, allocations: 287 kB / 1.115 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/1.058, allocations: 29.7 kB / 1.115 GB, free: 0.6406 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/1.058, allocations: 100.1 kB / 1.115 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.382e-06/1.058, allocations: 0 / 1.115 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-07/1.058, allocations: 0 / 1.115 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002033/1.058, allocations: 334.8 kB / 1.115 GB, free: 208 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.596e-06/1.058, allocations: 0 / 1.115 GB, free: 208 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-06/1.058, allocations: 0 / 1.115 GB, free: 208 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.152e-05/1.058, allocations: 75.28 kB / 1.116 GB, free: 132 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.107e-05/1.058, allocations: 75.28 kB / 1.116 GB, free: 56 kB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001052/1.058, allocations: 54.55 kB / 1.116 GB, free: 16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/1.058, allocations: 4 kB / 1.116 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.729e-05/1.058, allocations: 81.75 kB / 1.116 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.496e-05/1.058, allocations: 158.6 kB / 1.116 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.844e-05/1.059, allocations: 79.27 kB / 1.116 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.284e-05/1.059, allocations: 154.5 kB / 1.116 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/1.059, allocations: 75.28 kB / 1.116 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/1.059, allocations: 79.28 kB / 1.116 GB, free: 15.38 MB / 0.7292 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 0.0001319/1.059, allocations: 260.2 kB / 1.117 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.959e-05/1.059, allocations: 124.6 kB / 1.117 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.602e-05/1.059, allocations: 121.8 kB / 1.117 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.468e-05/1.059, allocations: 176.3 kB / 1.117 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.577e-05/1.059, allocations: 185.8 kB / 1.117 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.382e-05/1.059, allocations: 180.3 kB / 1.117 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003464/1.06, allocations: 429.7 kB / 1.118 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.715e-05/1.06, allocations: 106.2 kB / 1.118 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.819e-05/1.06, allocations: 104.9 kB / 1.118 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-05/1.06, allocations: 192.2 kB / 1.118 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.669e-05/1.06, allocations: 184.2 kB / 1.118 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.538e-05/1.06, allocations: 180.3 kB / 1.118 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.602e-05/1.06, allocations: 176.3 kB / 1.119 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002632/1.061, allocations: 323.5 kB / 1.119 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004262/1.061, allocations: 0.6918 MB / 1.12 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/1.061, allocations: 201.8 kB / 1.12 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/1.061, allocations: 178 kB / 1.12 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/1.062, allocations: 108.9 kB / 1.12 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/1.062, allocations: 184.2 kB / 1.12 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.804e-05/1.062, allocations: 101 kB / 1.12 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003375/1.062, allocations: 197.2 kB / 1.121 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001257/1.063, allocations: 30.61 kB / 1.121 GB, free: 10.8 MB / 0.7292 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.0003162/1.064, allocations: 230.4 kB / 1.121 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 3.572e-05/1.064, allocations: 3.938 kB / 1.121 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.064, allocations: 0 / 1.121 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.814e-06/1.064, allocations: 4 kB / 1.121 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008569/1.065, allocations: 0.5858 MB / 1.121 GB, free: 9.969 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006784/1.065, allocations: 279.5 kB / 1.122 GB, free: 9.668 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004333/1.066, allocations: 0.7543 MB / 1.122 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of SimCode: time 1.082e-06/1.066, allocations: 0 / 1.122 GB, free: 8.887 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_8.0.0_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)