Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.327/1.327, allocations: 285.5 MB / 292.8 MB, free: 9.828 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.0009173/0.0009173, allocations: 185.2 kB / 361.1 MB, free: 384 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.011/1.011, allocations: 205.1 MB / 0.6195 GB, free: 2.945 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.0007972/0.0007971, allocations: 84.3 kB / 0.7326 GB, free: 1.129 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3447/0.3455, allocations: 121.4 MB / 0.8512 GB, free: 151.6 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.4863, allocations: 115.3 MB / 0.9638 GB, free: 56.3 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4149/0.9013, allocations: 137.6 MB / 1.098 GB, free: 32.04 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001861/0.9015, allocations: 90.05 kB / 1.098 GB, free: 32.04 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.002/0.9036, allocations: 0.8114 MB / 1.099 GB, free: 31.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.99e-05/0.9036, allocations: 7.75 kB / 1.099 GB, free: 31.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.279e-05/0.9036, allocations: 3.875 kB / 1.099 GB, free: 31.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.285e-05/0.9037, allocations: 166.5 kB / 1.099 GB, free: 31.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.9037, allocations: 1.031 kB / 1.099 GB, free: 31.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.654e-06/0.9037, allocations: 0 / 1.099 GB, free: 31.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.898e-05/0.9038, allocations: 10.28 kB / 1.099 GB, free: 31.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.057e-05/0.9038, allocations: 39.53 kB / 1.099 GB, free: 31.44 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.13e-06/0.9038, allocations: 4 kB / 1.099 GB, free: 31.44 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.9038, allocations: 0 / 1.099 GB, free: 31.44 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.9039, allocations: 7.203 kB / 1.099 GB, free: 31.44 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001929/0.9041, allocations: 223.3 kB / 1.099 GB, free: 31.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.9042, allocations: 37.97 kB / 1.1 GB, free: 31.18 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.338e-05/0.9042, allocations: 18.55 kB / 1.1 GB, free: 31.17 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.9042, allocations: 3.75 kB / 1.1 GB, free: 31.17 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.317e-06/0.9042, allocations: 36.69 kB / 1.1 GB, free: 31.12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.9043, allocations: 0 / 1.1 GB, free: 31.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001168/0.9044, allocations: 42.94 kB / 1.1 GB, free: 31.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.209e-05/0.9044, allocations: 55.16 kB / 1.1 GB, free: 31.03 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.097e-05/0.9044, allocations: 85 kB / 1.1 GB, free: 30.94 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.671e-06/0.9044, allocations: 25.7 kB / 1.1 GB, free: 30.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.298e-05/0.9044, allocations: 90.48 kB / 1.1 GB, free: 30.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.9045, allocations: 11.27 kB / 1.1 GB, free: 30.81 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.9045, allocations: 0 / 1.1 GB, free: 30.81 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 3.177e-05/0.9045, allocations: 317.3 kB / 1.1 GB, free: 30.5 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.05e-05/0.9045, allocations: 0 / 1.1 GB, free: 30.5 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.768e-06/0.9045, allocations: 6.312 kB / 1.1 GB, free: 30.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.879e-05/0.9046, allocations: 9.922 kB / 1.1 GB, free: 30.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.9046, allocations: 0 / 1.1 GB, free: 30.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.677e-05/0.9046, allocations: 43.95 kB / 1.1 GB, free: 30.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.917e-06/0.9046, allocations: 7.688 kB / 1.1 GB, free: 30.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.9046, allocations: 7.906 kB / 1.1 GB, free: 30.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.9047, allocations: 0 / 1.1 GB, free: 30.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.506e-05/0.9047, allocations: 9.984 kB / 1.1 GB, free: 30.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-06/0.9047, allocations: 0 / 1.1 GB, free: 30.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.254e-05/0.9047, allocations: 0 / 1.1 GB, free: 30.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.9048, allocations: 3.938 kB / 1.1 GB, free: 30.45 MB / 0.7136 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 (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 3.29e-05/0.9048, allocations: 106.6 kB / 1.1 GB, free: 30.34 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.9048, allocations: 5.156 kB / 1.1 GB, free: 30.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.9049, allocations: 69.92 kB / 1.1 GB, free: 30.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.9049, allocations: 0 / 1.1 GB, free: 30.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.905, allocations: 0 / 1.1 GB, free: 30.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.905, allocations: 192 / 1.1 GB, free: 30.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.83e-05/0.9051, allocations: 139.7 kB / 1.101 GB, free: 30.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.9051, allocations: 3.984 kB / 1.101 GB, free: 30.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-05/0.9051, allocations: 19.67 kB / 1.101 GB, free: 30.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.9051, allocations: 0 / 1.101 GB, free: 30.13 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.201e-06/0.9051, allocations: 0 / 1.101 GB, free: 30.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.9051, allocations: 0 / 1.101 GB, free: 30.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.9051, allocations: 7.844 kB / 1.101 GB, free: 30.12 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.486e-05/0.9052, allocations: 156.6 kB / 1.101 GB, free: 29.99 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001809/0.9054, allocations: 0.5195 MB / 1.101 GB, free: 45.49 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.207e-05/0.9054, allocations: 81.02 kB / 1.101 GB, free: 45.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.9055, allocations: 0 / 1.101 GB, free: 45.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.54e-05/0.9055, allocations: 4 kB / 1.101 GB, free: 45.39 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.344e-05/0.9055, allocations: 7.75 kB / 1.101 GB, free: 45.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.9055, allocations: 2.375 kB / 1.101 GB, free: 45.39 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.062e-05/0.9056, allocations: 79.22 kB / 1.101 GB, free: 45.31 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000733/0.9063, allocations: 3.969 kB / 1.101 GB, free: 45.31 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 (6): * Single equations (assignments): 6 * 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 8.357e-05/0.9064, allocations: 101.9 kB / 1.102 GB, free: 45.22 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.887e-05/0.9065, allocations: 19.41 kB / 1.102 GB, free: 45.22 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.9065, allocations: 0 / 1.102 GB, free: 45.22 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.884e-05/0.9065, allocations: 28.2 kB / 1.102 GB, free: 45.21 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001136/0.9066, allocations: 3.906 kB / 1.102 GB, free: 45.21 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001674/0.9068, allocations: 63.94 kB / 1.102 GB, free: 45.14 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.907, allocations: 0.6909 MB / 1.102 GB, free: 44.45 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/0.907, allocations: 0 / 1.102 GB, free: 44.45 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)