Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [: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 1.6.0+build.1/package.mo): time 0.5252/0.5252, allocations: 94.74 MB / 102 MB, free: 4.047 MB / 82.76 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001071/0.001071, allocations: 185.8 kB / 125.3 MB, free: 2.395 MB / 98.76 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.211/1.211, allocations: 170.5 MB / 319 MB, free: 10.26 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001743/0.001743, allocations: 118.7 kB / 381 MB, free: 12.36 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 7.133e-06/7.153e-06, allocations: 0 / 448.6 MB, free: 72.27 MB / 338.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1303, allocations: 61.53 MB / 0.4981 GB, free: 10.81 MB / 338.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4052/0.5356, allocations: 93.28 MB / 0.5892 GB, free: 10.62 MB / 386.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002825/0.5359, allocations: 81.05 kB / 0.5893 GB, free: 10.62 MB / 386.8 MB Notification: Performance of FrontEnd: time 0.001811/0.5377, allocations: 358.4 kB / 0.5896 GB, free: 10.58 MB / 386.8 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.5378, allocations: 0 / 0.5896 GB, free: 10.58 MB / 386.8 MB 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.0002657/0.538, allocations: 313 kB / 0.5899 GB, free: 10.24 MB / 386.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/0.5381, allocations: 11.97 kB / 0.59 GB, free: 10.24 MB / 386.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.5382, allocations: 1.156 kB / 0.59 GB, free: 10.24 MB / 386.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.5383, allocations: 168.8 kB / 0.5901 GB, free: 10.04 MB / 386.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.5383, allocations: 1.312 kB / 0.5901 GB, free: 10.04 MB / 386.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.5383, allocations: 1.375 kB / 0.5901 GB, free: 10.04 MB / 386.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.995e-05/0.5384, allocations: 11.09 kB / 0.5901 GB, free: 10.03 MB / 386.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.589e-05/0.5385, allocations: 33.09 kB / 0.5902 GB, free: 9.996 MB / 386.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.5385, allocations: 0 / 0.5902 GB, free: 9.996 MB / 386.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.5385, allocations: 1.219 kB / 0.5902 GB, free: 9.996 MB / 386.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5386, allocations: 0 / 0.5902 GB, free: 9.996 MB / 386.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.5389, allocations: 227.3 kB / 0.5904 GB, free: 9.75 MB / 386.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.759e-05/0.539, allocations: 19.58 kB / 0.5904 GB, free: 9.727 MB / 386.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.456e-05/0.539, allocations: 12.39 kB / 0.5904 GB, free: 9.719 MB / 386.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.539, allocations: 2.094 kB / 0.5904 GB, free: 9.719 MB / 386.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.438e-05/0.5391, allocations: 34.5 kB / 0.5904 GB, free: 9.676 MB / 386.8 MB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.5391, allocations: 0 / 0.5904 GB, free: 9.676 MB / 386.8 MB Notification: Performance of matching and sorting (n=2): time 0.0001437/0.5392, allocations: 43.02 kB / 0.5905 GB, free: 9.637 MB / 386.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.003e-05/0.5393, allocations: 52.88 kB / 0.5905 GB, free: 9.574 MB / 386.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.52e-05/0.5393, allocations: 90.5 kB / 0.5906 GB, free: 9.48 MB / 386.8 MB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.5393, allocations: 27.14 kB / 0.5906 GB, free: 9.449 MB / 386.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.321e-05/0.5394, allocations: 80.14 kB / 0.5907 GB, free: 9.367 MB / 386.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.5394, allocations: 13.16 kB / 0.5907 GB, free: 9.359 MB / 386.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.5394, allocations: 0 / 0.5907 GB, free: 9.359 MB / 386.8 MB Notification: Performance of setup shared object (initialization): time 5.844e-05/0.5395, allocations: 312.3 kB / 0.591 GB, free: 9.047 MB / 386.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.134e-05/0.5395, allocations: 5.625 kB / 0.591 GB, free: 9.043 MB / 386.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.245e-06/0.5395, allocations: 1.438 kB / 0.591 GB, free: 9.043 MB / 386.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.694e-05/0.5395, allocations: 9.828 kB / 0.591 GB, free: 9.039 MB / 386.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.5395, allocations: 0 / 0.591 GB, free: 9.039 MB / 386.8 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.095e-05/0.5396, allocations: 36.95 kB / 0.5911 GB, free: 9.004 MB / 386.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.5396, allocations: 5.75 kB / 0.5911 GB, free: 9.004 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.5396, allocations: 3.5 kB / 0.5911 GB, free: 9.004 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.5396, allocations: 0 / 0.5911 GB, free: 9.004 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.228e-05/0.5397, allocations: 2.938 kB / 0.5911 GB, free: 9.004 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.5397, allocations: 5.562 kB / 0.5911 GB, free: 9 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.775e-05/0.5397, allocations: 5.344 kB / 0.5911 GB, free: 8.996 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.5397, allocations: 3.375 kB / 0.5911 GB, free: 8.996 MB / 386.8 MB 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 5.69e-05/0.5398, allocations: 106.4 kB / 0.5912 GB, free: 8.887 MB / 386.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.5398, allocations: 1.406 kB / 0.5912 GB, free: 8.887 MB / 386.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.573e-05/0.5399, allocations: 7.266 kB / 0.5912 GB, free: 8.883 MB / 386.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.5399, allocations: 1.438 kB / 0.5912 GB, free: 8.883 MB / 386.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.5399, allocations: 3.906 kB / 0.5912 GB, free: 8.879 MB / 386.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.5399, allocations: 0 / 0.5912 GB, free: 8.879 MB / 386.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.54, allocations: 136.5 kB / 0.5914 GB, free: 8.715 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.54, allocations: 0 / 0.5914 GB, free: 8.715 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/0.54, allocations: 2.969 kB / 0.5914 GB, free: 8.715 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.54, allocations: 1.438 kB / 0.5914 GB, free: 8.715 MB / 386.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.5401, allocations: 5.609 kB / 0.5914 GB, free: 8.711 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.5401, allocations: 0 / 0.5914 GB, free: 8.711 MB / 386.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.5401, allocations: 1.438 kB / 0.5914 GB, free: 8.711 MB / 386.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.15e-05/0.5402, allocations: 139.5 kB / 0.5915 GB, free: 8.57 MB / 386.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.725e-05/0.5402, allocations: 81.14 kB / 0.5916 GB, free: 8.473 MB / 386.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.5402, allocations: 1.531 kB / 0.5916 GB, free: 8.473 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.153e-05/0.5403, allocations: 3.938 kB / 0.5916 GB, free: 8.469 MB / 386.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.5403, allocations: 3.906 kB / 0.5916 GB, free: 8.465 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.5403, allocations: 1.438 kB / 0.5916 GB, free: 8.465 MB / 386.8 MB Notification: Performance of sort global known variables: time 1.912e-05/0.5403, allocations: 76.81 kB / 0.5917 GB, free: 8.391 MB / 386.8 MB Notification: Performance of remove unused functions: time 0.0002628/0.5406, allocations: 3.031 kB / 0.5917 GB, free: 8.391 MB / 386.8 MB 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.0001116/0.5407, allocations: 100.8 kB / 0.5918 GB, free: 8.297 MB / 386.8 MB Notification: Performance of simCode: created initialization part: time 7.533e-05/0.5408, allocations: 17.48 kB / 0.5918 GB, free: 8.289 MB / 386.8 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5408, allocations: 0 / 0.5918 GB, free: 8.289 MB / 386.8 MB Notification: Performance of simCode: created simulation system equations: time 1.229e-05/0.5408, allocations: 8.719 kB / 0.5918 GB, free: 8.285 MB / 386.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.541, allocations: 0.8594 kB / 0.5918 GB, free: 8.285 MB / 386.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001882/0.5412, allocations: 53.44 kB / 0.5918 GB, free: 8.223 MB / 386.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003427/0.5415, allocations: 0.6847 MB / 0.5925 GB, free: 23.52 MB / 402.8 MB Notification: Performance of SimCode: time 2.51e-07/0.5415, allocations: 0 / 0.5925 GB, free: 23.52 MB / 402.8 MB Notification: Performance of Templates: time 0.001839/0.5434, allocations: 227.4 kB / 0.5927 GB, free: 23.41 MB / 402.8 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)