Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.366/1.366, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.001018/0.001018, allocations: 177.3 kB / 366.3 MB, free: 1.977 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.077/1.077, allocations: 205.1 MB / 0.6256 GB, free: 5.797 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.0007717/0.0007719, allocations: 92.44 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1994/0.2002, allocations: 122.4 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4474/0.6476, allocations: 116.3 MB / 0.9727 GB, free: 68.3 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.7898, allocations: 141.5 MB / 1.111 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002036/0.7901, allocations: 88.5 kB / 1.111 GB, free: 6.863 MB / 0.7136 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.02805/0.8181, allocations: 12.91 MB / 1.124 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.8182, allocations: 8 kB / 1.124 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.518e-05/0.8182, allocations: 99 kB / 1.124 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002407/0.8185, allocations: 305.4 kB / 1.124 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.34e-05/0.8185, allocations: 150.6 kB / 1.124 GB, free: 9.234 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.8186, allocations: 150.6 kB / 1.124 GB, free: 9.086 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.14e-05/0.8186, allocations: 158.5 kB / 1.124 GB, free: 8.93 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.641e-05/0.8187, allocations: 103 kB / 1.124 GB, free: 8.824 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.881e-05/0.8187, allocations: 75.28 kB / 1.125 GB, free: 8.75 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.117e-05/0.8188, allocations: 154.8 kB / 1.125 GB, free: 8.598 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.327e-05/0.8188, allocations: 150.6 kB / 1.125 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.8191, allocations: 478.4 kB / 1.125 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.837e-05/0.8192, allocations: 165.1 kB / 1.125 GB, free: 7.773 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.28e-05/0.8192, allocations: 92.19 kB / 1.126 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.8193, allocations: 83.12 kB / 1.126 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.8193, allocations: 113.8 kB / 1.126 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.8193, allocations: 0 / 1.126 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 8.629e-05/0.8194, allocations: 45.5 kB / 1.126 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.8194, allocations: 51.41 kB / 1.126 GB, free: 7.363 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.0003421/0.8198, allocations: 286.2 kB / 1.126 GB, free: 7.074 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.8198, allocations: 25.7 kB / 1.126 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.83e-05/0.8199, allocations: 104.1 kB / 1.126 GB, free: 6.938 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-06/0.8199, allocations: 0.6562 kB / 1.126 GB, free: 6.938 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.6e-07/0.8199, allocations: 0 / 1.126 GB, free: 6.938 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.84e-05/0.82, allocations: 334.8 kB / 1.127 GB, free: 6.602 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.236e-06/0.82, allocations: 0 / 1.127 GB, free: 6.602 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.735e-06/0.82, allocations: 0 / 1.127 GB, free: 6.602 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.55e-05/0.82, allocations: 75.28 kB / 1.127 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.317e-05/0.8201, allocations: 79.22 kB / 1.127 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.191e-05/0.8201, allocations: 53.97 kB / 1.127 GB, free: 6.391 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.8201, allocations: 4 kB / 1.127 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.8202, allocations: 75.28 kB / 1.127 GB, free: 6.312 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.926e-05/0.8202, allocations: 154.6 kB / 1.127 GB, free: 6.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.918e-05/0.8203, allocations: 79.22 kB / 1.127 GB, free: 6.082 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.343e-05/0.8203, allocations: 154.6 kB / 1.127 GB, free: 5.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.8204, allocations: 76.03 kB / 1.127 GB, free: 5.855 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.8204, allocations: 83.22 kB / 1.127 GB, free: 5.773 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 9.201e-05/0.8205, allocations: 259.5 kB / 1.128 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.06e-05/0.8206, allocations: 124.7 kB / 1.128 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.414e-05/0.8207, allocations: 117.8 kB / 1.128 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-05/0.8207, allocations: 184.2 kB / 1.128 GB, free: 5.078 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-05/0.8208, allocations: 176.3 kB / 1.128 GB, free: 4.898 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.064e-05/0.8209, allocations: 180.2 kB / 1.128 GB, free: 4.715 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.8211, allocations: 438.2 kB / 1.129 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.707e-05/0.8211, allocations: 106.3 kB / 1.129 GB, free: 4.133 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.998e-05/0.8211, allocations: 104.9 kB / 1.129 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-05/0.8212, allocations: 184.2 kB / 1.129 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-05/0.8212, allocations: 180.2 kB / 1.129 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.51e-05/0.8213, allocations: 184.2 kB / 1.129 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.782e-05/0.8213, allocations: 184.8 kB / 1.13 GB, free: 3.277 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001083/0.8215, allocations: 319.5 kB / 1.13 GB, free: 2.941 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001996/0.8217, allocations: 0.6879 MB / 1.131 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.606e-05/0.8217, allocations: 205.8 kB / 1.131 GB, free: 2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.079e-05/0.8218, allocations: 180.2 kB / 1.131 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.889e-05/0.8219, allocations: 105 kB / 1.131 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.822, allocations: 180.8 kB / 1.131 GB, free: 1.523 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-05/0.822, allocations: 105 kB / 1.131 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001483/0.8222, allocations: 205.2 kB / 1.132 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007945/0.823, allocations: 24 kB / 1.132 GB, free: 1.191 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.0001996/0.8232, allocations: 235.8 kB / 1.132 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 2.206e-05/0.8232, allocations: 0 / 1.132 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.8232, allocations: 0 / 1.132 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.51e-07/0.8232, allocations: 0 / 1.132 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000462/0.8237, allocations: 0.5858 MB / 1.132 GB, free: 376 kB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003739/0.8241, allocations: 282.5 kB / 1.133 GB, free: 64 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/0.8244, allocations: 0.7621 MB / 1.133 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of SimCode: time 3.1e-07/0.8244, allocations: 0 / 1.133 GB, free: 15.27 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_8_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)