Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.0/package.mo): time 2.129/2.129, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001564/0.001564, allocations: 181.2 kB / 360.3 MB, free: 7.539 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.657/1.657, allocations: 205.1 MB / 0.6187 GB, free: 13.29 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.001283/0.001283, allocations: 84.52 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2439/0.2452, allocations: 121.4 MB / 0.8502 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5658/0.8111, allocations: 115.2 MB / 0.9627 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2053/1.016, allocations: 137.4 MB / 1.097 GB, free: 3.496 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/1.017, allocations: 77.11 kB / 1.097 GB, free: 3.422 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.002639/1.019, allocations: 0.7145 MB / 1.098 GB, free: 2.691 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/1.02, allocations: 9.219 kB / 1.098 GB, free: 2.684 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.528e-05/1.02, allocations: 7.891 kB / 1.098 GB, free: 2.676 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/1.02, allocations: 167.5 kB / 1.098 GB, free: 2.473 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/1.02, allocations: 0 / 1.098 GB, free: 2.473 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.152e-05/1.02, allocations: 1.703 kB / 1.098 GB, free: 2.473 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.696e-05/1.02, allocations: 7.938 kB / 1.098 GB, free: 2.465 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.724e-05/1.02, allocations: 34.42 kB / 1.098 GB, free: 2.426 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/1.02, allocations: 0 / 1.098 GB, free: 2.426 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/1.02, allocations: 1.391 kB / 1.098 GB, free: 2.426 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/1.02, allocations: 3.906 kB / 1.098 GB, free: 2.422 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003291/1.02, allocations: 223.2 kB / 1.098 GB, free: 2.168 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.62e-05/1.02, allocations: 23.45 kB / 1.098 GB, free: 2.137 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.63e-05/1.02, allocations: 9.484 kB / 1.098 GB, free: 2.125 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/1.02, allocations: 0.5 kB / 1.098 GB, free: 2.125 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/1.021, allocations: 39.09 kB / 1.098 GB, free: 2.078 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 3.126e-06/1.021, allocations: 3.484 kB / 1.098 GB, free: 2.078 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001439/1.021, allocations: 43.56 kB / 1.098 GB, free: 2.031 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/1.021, allocations: 52.22 kB / 1.098 GB, free: 1.969 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.956e-05/1.021, allocations: 97 kB / 1.098 GB, free: 1.867 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/1.021, allocations: 26.3 kB / 1.098 GB, free: 1.836 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/1.021, allocations: 82.77 kB / 1.098 GB, free: 1.754 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.529e-05/1.021, allocations: 3.906 kB / 1.098 GB, free: 1.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-06/1.021, allocations: 0.5625 kB / 1.098 GB, free: 1.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.021, allocations: 315.4 kB / 1.099 GB, free: 1.434 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.503e-05/1.021, allocations: 4.719 kB / 1.099 GB, free: 1.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.225e-05/1.021, allocations: 4 kB / 1.099 GB, free: 1.426 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.835e-05/1.021, allocations: 5.125 kB / 1.099 GB, free: 1.422 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.021, allocations: 0 / 1.099 GB, free: 1.422 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.96e-05/1.021, allocations: 42.52 kB / 1.099 GB, free: 1.375 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/1.021, allocations: 4 kB / 1.099 GB, free: 1.371 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/1.021, allocations: 0.5312 kB / 1.099 GB, free: 1.371 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/1.021, allocations: 0 / 1.099 GB, free: 1.371 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.829e-05/1.021, allocations: 5.469 kB / 1.099 GB, free: 1.367 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/1.021, allocations: 0 / 1.099 GB, free: 1.367 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.519e-05/1.021, allocations: 5.438 kB / 1.099 GB, free: 1.363 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/1.021, allocations: 0.5625 kB / 1.099 GB, free: 1.363 MB / 0.698 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 (2): * Single equations (assignments): 2 * 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 8.157e-05/1.022, allocations: 117.3 kB / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.861e-05/1.022, allocations: 5.219 kB / 1.099 GB, free: 1.238 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/1.022, allocations: 3.312 kB / 1.099 GB, free: 1.234 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/1.022, allocations: 0.6562 kB / 1.099 GB, free: 1.234 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.022, allocations: 0.5312 kB / 1.099 GB, free: 1.234 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.022, allocations: 0 / 1.099 GB, free: 1.234 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/1.022, allocations: 130.7 kB / 1.099 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.022, allocations: 0.5312 kB / 1.099 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.019e-05/1.022, allocations: 4 kB / 1.099 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/1.022, allocations: 4.688 kB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/1.022, allocations: 2.281 kB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.022, allocations: 4.125 kB / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.022, allocations: 0 / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001171/1.022, allocations: 139.5 kB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002451/1.022, allocations: 0.4999 MB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.798e-05/1.022, allocations: 85.94 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/1.022, allocations: 3.906 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.673e-05/1.022, allocations: 3.75 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/1.022, allocations: 4 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/1.023, allocations: 0 / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of sort global known variables: time 4.46e-05/1.023, allocations: 81.88 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.001088/1.024, allocations: 4 kB / 1.1 GB, free: 200 kB / 0.698 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 (2): * Single equations (assignments): 2 * 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.0001244/1.024, allocations: 99.7 kB / 1.1 GB, free: 92 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 6.651e-05/1.024, allocations: 15.98 kB / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.024, allocations: 0 / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.468e-05/1.024, allocations: 4 kB / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/1.024, allocations: 7.094 kB / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/1.024, allocations: 52.66 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/1.025, allocations: 0.688 MB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/1.025, allocations: 0 / 1.101 GB, free: 15.28 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)