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: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.341/1.341, allocations: 285.5 MB / 292.8 MB, free: 9.867 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.0009055/0.0009057, allocations: 199.2 kB / 361.1 MB, free: 344 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.022/1.022, allocations: 205.1 MB / 0.6195 GB, free: 2.812 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007533/0.0007533, allocations: 88.33 kB / 0.7326 GB, free: 0.9961 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3502/0.351, allocations: 121.4 MB / 0.8511 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.4915, allocations: 115.3 MB / 0.9638 GB, free: 56.25 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4025/0.894, allocations: 140.5 MB / 1.101 GB, free: 31.96 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001727/0.8942, allocations: 77.47 kB / 1.101 GB, free: 31.96 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.02383/0.918, allocations: 12.92 MB / 1.114 GB, free: 30.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.866e-05/0.9181, allocations: 8.219 kB / 1.114 GB, free: 30.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.9181, allocations: 95.88 kB / 1.114 GB, free: 30.42 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.9183, allocations: 301.1 kB / 1.114 GB, free: 30.13 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.9183, allocations: 158 kB / 1.114 GB, free: 29.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.9183, allocations: 156.5 kB / 1.114 GB, free: 29.82 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.691e-05/0.9184, allocations: 150.6 kB / 1.115 GB, free: 45.68 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.452e-05/0.9184, allocations: 105.6 kB / 1.115 GB, free: 45.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.9184, allocations: 79.22 kB / 1.115 GB, free: 45.49 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.745e-05/0.9185, allocations: 154.6 kB / 1.115 GB, free: 45.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/0.9185, allocations: 150.6 kB / 1.115 GB, free: 45.19 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000207/0.9187, allocations: 476.7 kB / 1.115 GB, free: 44.75 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.805e-05/0.9188, allocations: 169.1 kB / 1.116 GB, free: 44.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.9188, allocations: 88.19 kB / 1.116 GB, free: 44.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.9188, allocations: 79.19 kB / 1.116 GB, free: 44.41 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.9189, allocations: 105.8 kB / 1.116 GB, free: 44.29 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.9189, allocations: 0.5625 kB / 1.116 GB, free: 44.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0): time 6.315e-05/0.9189, allocations: 49.11 kB / 1.116 GB, free: 44.25 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.276e-05/0.9189, allocations: 51.41 kB / 1.116 GB, free: 44.18 MB / 0.7292 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.000273/0.9192, allocations: 292.7 kB / 1.116 GB, free: 44.07 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.279e-06/0.9192, allocations: 25.7 kB / 1.116 GB, free: 44.04 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/0.9193, allocations: 101.2 kB / 1.116 GB, free: 43.95 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.72e-07/0.9193, allocations: 3.938 kB / 1.116 GB, free: 43.95 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-07/0.9193, allocations: 0 / 1.116 GB, free: 43.95 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.766e-05/0.9194, allocations: 338.1 kB / 1.117 GB, free: 43.63 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.806e-06/0.9194, allocations: 0 / 1.117 GB, free: 43.63 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.924e-06/0.9194, allocations: 0 / 1.117 GB, free: 43.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.755e-05/0.9194, allocations: 75.28 kB / 1.117 GB, free: 43.56 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.828e-05/0.9194, allocations: 75.28 kB / 1.117 GB, free: 43.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.836e-05/0.9195, allocations: 52.98 kB / 1.117 GB, free: 43.44 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/0.9195, allocations: 7.875 kB / 1.117 GB, free: 43.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/0.9195, allocations: 75.28 kB / 1.117 GB, free: 43.36 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.968e-05/0.9196, allocations: 154.6 kB / 1.117 GB, free: 43.21 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.863e-05/0.9196, allocations: 82.02 kB / 1.117 GB, free: 43.14 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.139e-05/0.9197, allocations: 154.5 kB / 1.117 GB, free: 42.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.69e-05/0.9198, allocations: 75.28 kB / 1.117 GB, free: 42.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.9198, allocations: 75.28 kB / 1.117 GB, free: 42.84 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 6.815e-05/0.9198, allocations: 268.2 kB / 1.118 GB, free: 42.57 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/0.9199, allocations: 123 kB / 1.118 GB, free: 42.46 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.92, allocations: 120.1 kB / 1.118 GB, free: 42.35 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.495e-05/0.92, allocations: 180.2 kB / 1.118 GB, free: 42.17 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-05/0.92, allocations: 177.2 kB / 1.118 GB, free: 41.99 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.882e-05/0.9201, allocations: 186.8 kB / 1.118 GB, free: 41.81 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.9202, allocations: 433.6 kB / 1.119 GB, free: 41.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.965e-05/0.9203, allocations: 102.3 kB / 1.119 GB, free: 41.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.256e-05/0.9203, allocations: 101 kB / 1.119 GB, free: 41.18 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.78e-05/0.9203, allocations: 187.2 kB / 1.119 GB, free: 40.99 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.997e-05/0.9204, allocations: 184.6 kB / 1.119 GB, free: 40.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.129e-05/0.9204, allocations: 180.2 kB / 1.12 GB, free: 40.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.995e-05/0.9205, allocations: 184.2 kB / 1.12 GB, free: 40.44 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.767e-05/0.9206, allocations: 317.6 kB / 1.12 GB, free: 40.12 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001656/0.9207, allocations: 0.6979 MB / 1.121 GB, free: 39.42 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.9208, allocations: 204.7 kB / 1.121 GB, free: 39.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.692e-05/0.9209, allocations: 180.2 kB / 1.121 GB, free: 39.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.614e-05/0.921, allocations: 104.7 kB / 1.121 GB, free: 38.91 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.921, allocations: 176.3 kB / 1.121 GB, free: 38.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.9211, allocations: 111.7 kB / 1.122 GB, free: 38.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001245/0.9212, allocations: 199.5 kB / 1.122 GB, free: 38.54 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007785/0.922, allocations: 27.03 kB / 1.122 GB, free: 38.54 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.000144/0.9221, allocations: 234.5 kB / 1.122 GB, free: 38.36 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 2.099e-05/0.9222, allocations: 0 / 1.122 GB, free: 38.36 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.9222, allocations: 0 / 1.122 GB, free: 38.36 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.9222, allocations: 0 / 1.122 GB, free: 38.36 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004263/0.9226, allocations: 0.589 MB / 1.123 GB, free: 37.83 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003089/0.9229, allocations: 287 kB / 1.123 GB, free: 37.65 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.9231, allocations: 0.7587 MB / 1.124 GB, free: 36.94 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.9232, allocations: 0 / 1.124 GB, free: 36.94 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_maint.8.0.x_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1)