Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") [: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.1.4-maint.8.1.x/package.mo): time 1.348/1.348, allocations: 289.8 MB / 297.1 MB, free: 6.695 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.001036/0.001036, allocations: 169.3 kB / 366.3 MB, free: 1.996 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.071/1.071, allocations: 205.2 MB / 0.6256 GB, free: 5.805 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.0007815/0.0007818, allocations: 96.97 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.364e-06/7.474e-06, allocations: 0 / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4631/0.4631, allocations: 116.3 MB / 0.9726 GB, free: 68.28 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.146/0.6092, allocations: 138.7 MB / 1.108 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.6094, allocations: 84.38 kB / 1.108 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.006856/0.6163, allocations: 2.353 MB / 1.11 GB, free: 7.355 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.943e-05/0.6163, allocations: 4 kB / 1.11 GB, free: 7.352 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.0003136/0.6167, allocations: 342.4 kB / 1.111 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.6167, allocations: 8.031 kB / 1.111 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.6168, allocations: 3.906 kB / 1.111 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.6169, allocations: 167.1 kB / 1.111 GB, free: 6.758 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.6169, allocations: 4 kB / 1.111 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.6169, allocations: 0 / 1.111 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.874e-05/0.617, allocations: 19.89 kB / 1.111 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.562e-05/0.6171, allocations: 64.2 kB / 1.111 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.6171, allocations: 0 / 1.111 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.6171, allocations: 0 / 1.111 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.6171, allocations: 4 kB / 1.111 GB, free: 6.652 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003182/0.6175, allocations: 241.4 kB / 1.111 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.582e-05/0.6175, allocations: 38.58 kB / 1.111 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.166e-05/0.6176, allocations: 16.8 kB / 1.111 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.6176, allocations: 0 / 1.111 GB, free: 6.312 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.91e-05/0.6177, allocations: 55.48 kB / 1.111 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.6177, allocations: 0 / 1.111 GB, free: 6.246 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001485/0.6178, allocations: 59.45 kB / 1.111 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.585e-05/0.6179, allocations: 106.7 kB / 1.111 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.238e-05/0.618, allocations: 101 kB / 1.112 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.618, allocations: 25.7 kB / 1.112 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.359e-05/0.618, allocations: 84.14 kB / 1.112 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.6181, allocations: 11.83 kB / 1.112 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.6181, allocations: 0 / 1.112 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.6182, allocations: 314.8 kB / 1.112 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.568e-05/0.6182, allocations: 15.94 kB / 1.112 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.25e-05/0.6183, allocations: 34.56 kB / 1.112 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.33e-05/0.6183, allocations: 8 kB / 1.112 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.6183, allocations: 0 / 1.112 GB, free: 5.438 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.508e-05/0.6184, allocations: 61.53 kB / 1.112 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.6184, allocations: 8 kB / 1.112 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.6184, allocations: 448 / 1.112 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.6185, allocations: 0 / 1.112 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.424e-05/0.6185, allocations: 4 kB / 1.112 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/0.6185, allocations: 0 / 1.112 GB, free: 5.359 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.6186, allocations: 20.02 kB / 1.112 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.6187, allocations: 4.75 kB / 1.112 GB, free: 5.336 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: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 6.809e-05/0.6187, allocations: 108.8 kB / 1.112 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.353e-05/0.6188, allocations: 4 kB / 1.112 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.272e-05/0.6188, allocations: 3.688 kB / 1.112 GB, free: 5.207 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.6188, allocations: 3.984 kB / 1.112 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.6188, allocations: 3.906 kB / 1.112 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6188, allocations: 8 kB / 1.112 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.722e-05/0.6189, allocations: 142.2 kB / 1.112 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.6189, allocations: 0.5625 kB / 1.112 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.236e-05/0.6189, allocations: 4 kB / 1.112 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.619, allocations: 0 / 1.112 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.619, allocations: 0 / 1.112 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.619, allocations: 0 / 1.112 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.619, allocations: 0 / 1.112 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001043/0.6191, allocations: 85.77 kB / 1.112 GB, free: 4.91 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.077e-05/0.6191, allocations: 93 kB / 1.113 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.6192, allocations: 0 / 1.113 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.6193, allocations: 15.98 kB / 1.113 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.896e-05/0.6193, allocations: 3.938 kB / 1.113 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.6193, allocations: 4 kB / 1.113 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.34e-05/0.6194, allocations: 83.28 kB / 1.113 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001782/0.6196, allocations: 11.98 kB / 1.113 GB, free: 4.684 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001123/0.6197, allocations: 104.9 kB / 1.113 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.509e-05/0.6198, allocations: 24 kB / 1.113 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6198, allocations: 4 kB / 1.113 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.225e-05/0.6198, allocations: 12 kB / 1.113 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.963e-05/0.6199, allocations: 3.984 kB / 1.113 GB, free: 4.527 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002081/0.6201, allocations: 79.56 kB / 1.113 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.6204, allocations: 0.6993 MB / 1.114 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.6204, allocations: 0 / 1.114 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of Templates: time 0.002447/0.6228, allocations: 0.7959 MB / 1.114 GB, free: 2.949 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)