Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",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.862/1.862, 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.0009898/0.0009897, allocations: 180.3 kB / 487 MB, free: 5.383 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.171/1.171, allocations: 221.3 MB / 0.7819 GB, free: 1.395 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.000833/0.000833, allocations: 98.81 kB / 0.9213 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4217/0.4226, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.6125, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5201/1.133, allocations: 150.9 MB / 1.353 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/1.133, allocations: 86.89 kB / 1.353 GB, free: 15.85 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.02099/1.154, allocations: 7.415 MB / 1.36 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/1.154, allocations: 9.031 kB / 1.36 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/1.154, allocations: 86.03 kB / 1.36 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.935e-05/1.154, allocations: 237.2 kB / 1.36 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/1.154, allocations: 151.1 kB / 1.36 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.038e-05/1.154, allocations: 153.1 kB / 1.361 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.647e-05/1.154, allocations: 151.8 kB / 1.361 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.827e-05/1.154, allocations: 106.3 kB / 1.361 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/1.154, allocations: 79.28 kB / 1.361 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/1.154, allocations: 154.8 kB / 1.361 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/1.154, allocations: 150.6 kB / 1.361 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001658/1.155, allocations: 442.8 kB / 1.362 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.743e-05/1.155, allocations: 169.7 kB / 1.362 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.643e-05/1.155, allocations: 84.69 kB / 1.362 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/1.155, allocations: 77.14 kB / 1.362 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/1.155, allocations: 114.3 kB / 1.362 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/1.155, allocations: 0.7188 kB / 1.362 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 7.056e-05/1.155, allocations: 31.23 kB / 1.362 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.297e-05/1.155, allocations: 51.91 kB / 1.362 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.705e-05/1.155, allocations: 104.2 kB / 1.362 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/1.155, allocations: 25.7 kB / 1.362 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.279e-05/1.155, allocations: 82.3 kB / 1.362 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.243e-06/1.155, allocations: 0.5 kB / 1.362 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.134e-06/1.155, allocations: 0 / 1.362 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 3.87e-05/1.155, allocations: 313.2 kB / 1.363 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/1.155, allocations: 4.938 kB / 1.363 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.234e-05/1.155, allocations: 25.78 kB / 1.363 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/1.155, allocations: 25.05 kB / 1.363 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.155, allocations: 0 / 1.363 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001826/1.155, allocations: 53.95 kB / 1.363 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/1.155, allocations: 5.234 kB / 1.363 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.349e-06/1.155, allocations: 1.219 kB / 1.363 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/1.155, allocations: 5.641 kB / 1.363 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.985e-05/1.155, allocations: 13.34 kB / 1.363 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.381e-06/1.155, allocations: 2.172 kB / 1.363 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.097e-05/1.155, allocations: 3.625 kB / 1.363 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/1.156, allocations: 5.891 kB / 1.363 GB, free: 12.23 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.459e-05/1.156, allocations: 178.3 kB / 1.363 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/1.156, allocations: 106.9 kB / 1.363 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.383e-05/1.156, allocations: 114.6 kB / 1.363 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/1.156, allocations: 185.7 kB / 1.363 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.02e-05/1.156, allocations: 177.5 kB / 1.364 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/1.156, allocations: 185.2 kB / 1.364 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001018/1.156, allocations: 382.6 kB / 1.364 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/1.156, allocations: 105.8 kB / 1.364 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.177e-05/1.156, allocations: 109.7 kB / 1.364 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.816e-05/1.156, allocations: 184.3 kB / 1.364 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/1.156, allocations: 186.3 kB / 1.365 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.78e-05/1.156, allocations: 180.9 kB / 1.365 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-05/1.156, allocations: 176.8 kB / 1.365 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 4.821e-05/1.156, allocations: 309.3 kB / 1.365 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001523/1.156, allocations: 0.6732 MB / 1.366 GB, free: 24.9 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.863e-05/1.156, allocations: 184.1 kB / 1.366 GB, free: 24.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.411e-05/1.156, allocations: 192.1 kB / 1.366 GB, free: 24.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.923e-05/1.156, allocations: 105.7 kB / 1.366 GB, free: 24.39 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/1.156, allocations: 181 kB / 1.367 GB, free: 24.21 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/1.156, allocations: 101.7 kB / 1.367 GB, free: 24.11 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.206e-05/1.156, allocations: 86.78 kB / 1.367 GB, free: 24.02 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001028/1.158, allocations: 121.5 kB / 1.367 GB, free: 23.93 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.0006817/1.158, allocations: 472.2 kB / 1.367 GB, free: 23.56 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 5.609e-05/1.158, allocations: 8.609 kB / 1.367 GB, free: 23.55 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/1.158, allocations: 4.188 kB / 1.367 GB, free: 23.55 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/1.158, allocations: 0 / 1.367 GB, free: 23.55 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/1.159, allocations: 0.5189 MB / 1.368 GB, free: 23.03 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001976/1.159, allocations: 129.6 kB / 1.368 GB, free: 22.88 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/1.159, allocations: 0.6839 MB / 1.369 GB, free: 22.18 MB / 0.823 GB Notification: Performance of SimCode: time 7.91e-07/1.159, allocations: 7.938 kB / 1.369 GB, free: 22.17 MB / 0.823 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat does not exist to compare? outputFormat=mat