Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.827/1.827, allocations: 387.2 MB / 394.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009878/0.0009878, allocations: 177.3 kB / 487 MB, free: 5.348 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.137/1.137, allocations: 221.3 MB / 0.7819 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009879/0.0009878, allocations: 107.7 kB / 0.9213 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.413/0.414, allocations: 148.4 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.5935, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5008/1.094, allocations: 151.8 MB / 1.354 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/1.095, allocations: 78.48 kB / 1.354 GB, free: 15.61 MB / 0.8073 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.02823/1.123, allocations: 13.38 MB / 1.367 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/1.123, allocations: 8 kB / 1.367 GB, free: 10 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/1.123, allocations: 95.88 kB / 1.367 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/1.123, allocations: 297 kB / 1.367 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/1.123, allocations: 157.1 kB / 1.367 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/1.123, allocations: 150.6 kB / 1.367 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.381e-05/1.123, allocations: 158.5 kB / 1.367 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.545e-05/1.123, allocations: 105 kB / 1.368 GB, free: 9.02 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/1.123, allocations: 75.28 kB / 1.368 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/1.123, allocations: 150.6 kB / 1.368 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/1.123, allocations: 154.6 kB / 1.368 GB, free: 8.645 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001866/1.123, allocations: 476.1 kB / 1.368 GB, free: 8.16 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.255e-05/1.123, allocations: 165.1 kB / 1.369 GB, free: 7.988 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.601e-05/1.123, allocations: 88.06 kB / 1.369 GB, free: 7.898 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.739e-06/1.123, allocations: 79.28 kB / 1.369 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.888e-05/1.123, allocations: 116.9 kB / 1.369 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/1.124, allocations: 0 / 1.369 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 6.432e-05/1.124, allocations: 41.52 kB / 1.369 GB, free: 7.652 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.271e-05/1.124, allocations: 51.41 kB / 1.369 GB, free: 7.59 MB / 0.8073 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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 9.1.1-maint.9.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.0002734/1.124, allocations: 287.8 kB / 1.369 GB, free: 7.34 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.741e-06/1.124, allocations: 25.7 kB / 1.369 GB, free: 7.309 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.939e-05/1.124, allocations: 103.2 kB / 1.369 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 9.61e-07/1.124, allocations: 0 / 1.369 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-07/1.124, allocations: 0 / 1.369 GB, free: 7.215 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.438e-05/1.124, allocations: 333.6 kB / 1.37 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.427e-06/1.124, allocations: 4 kB / 1.37 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.614e-06/1.124, allocations: 0 / 1.37 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.788e-06/1.124, allocations: 83.16 kB / 1.37 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.615e-06/1.124, allocations: 75.28 kB / 1.37 GB, free: 6.727 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.905e-05/1.124, allocations: 45.42 kB / 1.37 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/1.124, allocations: 10.5 kB / 1.37 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.124, allocations: 75.28 kB / 1.37 GB, free: 6.594 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.69e-05/1.124, allocations: 154.5 kB / 1.37 GB, free: 6.441 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-06/1.124, allocations: 86.53 kB / 1.37 GB, free: 6.359 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/1.124, allocations: 154.6 kB / 1.37 GB, free: 6.207 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.979e-05/1.124, allocations: 83.2 kB / 1.37 GB, free: 6.125 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/1.124, allocations: 79.27 kB / 1.37 GB, free: 6.047 MB / 0.8073 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 4.686e-05/1.124, allocations: 251.5 kB / 1.371 GB, free: 5.793 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.896e-05/1.124, allocations: 124.8 kB / 1.371 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/1.124, allocations: 133.4 kB / 1.371 GB, free: 5.531 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/1.124, allocations: 180.3 kB / 1.371 GB, free: 5.348 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.091e-05/1.124, allocations: 176.3 kB / 1.371 GB, free: 5.168 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.966e-05/1.125, allocations: 180.2 kB / 1.371 GB, free: 4.984 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/1.125, allocations: 433.1 kB / 1.372 GB, free: 4.535 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/1.125, allocations: 105 kB / 1.372 GB, free: 4.426 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.375e-05/1.125, allocations: 108.9 kB / 1.372 GB, free: 4.312 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-05/1.125, allocations: 180.2 kB / 1.372 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/1.125, allocations: 180.2 kB / 1.372 GB, free: 3.945 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.618e-05/1.125, allocations: 180.2 kB / 1.373 GB, free: 19.76 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.651e-05/1.125, allocations: 180.3 kB / 1.373 GB, free: 19.58 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000104/1.125, allocations: 327.5 kB / 1.373 GB, free: 19.24 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001895/1.125, allocations: 0.6834 MB / 1.374 GB, free: 18.53 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/1.125, allocations: 209.7 kB / 1.374 GB, free: 18.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.555e-05/1.125, allocations: 179.5 kB / 1.374 GB, free: 18.12 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/1.125, allocations: 101 kB / 1.374 GB, free: 18.02 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.924e-05/1.126, allocations: 184.2 kB / 1.374 GB, free: 17.83 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/1.126, allocations: 105 kB / 1.374 GB, free: 17.72 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0001253/1.126, allocations: 201.3 kB / 1.375 GB, free: 17.55 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007944/1.126, allocations: 23.62 kB / 1.375 GB, free: 17.54 MB / 0.823 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.0001699/1.127, allocations: 236.8 kB / 1.375 GB, free: 17.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 2.152e-05/1.127, allocations: 0 / 1.375 GB, free: 17.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/1.127, allocations: 3.938 kB / 1.375 GB, free: 17.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/1.127, allocations: 0 / 1.375 GB, free: 17.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/1.127, allocations: 0.59 MB / 1.375 GB, free: 16.71 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/1.127, allocations: 280.3 kB / 1.376 GB, free: 16.43 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/1.128, allocations: 0.761 MB / 1.376 GB, free: 15.65 MB / 0.823 GB Notification: Performance of SimCode: time 2.3e-07/1.128, allocations: 4 kB / 1.377 GB, free: 15.64 MB / 0.823 GB (rm -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; mkfifo Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe >> ../files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_low.fmu > Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_low_res.mat does not exist to compare? outputFormat=mat