Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.conf.json 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/IDEAS 3.0.0/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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/Complex 4.0.0+maint.om/package.mo): time 0.002797/0.002797, allocations: 180.2 kB / 7.454 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.75/0.75, allocations: 130.6 MB / 138.5 MB, free: 2.18 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 221.4 MB / 391.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008934/0.0008934, allocations: 93.78 kB / 473.4 MB, free: 14.43 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 1.365e-05/1.39e-05, allocations: 1.344 kB / 0.5479 GB, free: 89.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1445, allocations: 81.59 MB / 0.6276 GB, free: 18.22 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.423/0.5675, allocations: 110.9 MB / 0.7359 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002012/0.5678, allocations: 83.3 kB / 0.7359 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.00669/0.5745, allocations: 2.379 MB / 0.7383 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.5745, allocations: 11.84 kB / 0.7383 GB, free: 11.49 MB / 0.4948 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.0003362/0.5749, allocations: 331.5 kB / 0.7386 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.5749, allocations: 7.688 kB / 0.7386 GB, free: 27.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.575, allocations: 7.781 kB / 0.7386 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.5752, allocations: 171.6 kB / 0.7388 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.5752, allocations: 1.266 kB / 0.7388 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.469e-05/0.5752, allocations: 4 kB / 0.7388 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.595e-05/0.5753, allocations: 12.84 kB / 0.7388 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.5754, allocations: 65.73 kB / 0.7388 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.5754, allocations: 0 / 0.7388 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.5754, allocations: 0 / 0.7388 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.5755, allocations: 0 / 0.7388 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.5758, allocations: 246.6 kB / 0.7391 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.622e-05/0.5759, allocations: 34.09 kB / 0.7391 GB, free: 26.61 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.441e-05/0.576, allocations: 12.66 kB / 0.7391 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.254e-05/0.576, allocations: 0 / 0.7391 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.755e-05/0.5761, allocations: 61.16 kB / 0.7392 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.5761, allocations: 0 / 0.7392 GB, free: 26.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0001926/0.5763, allocations: 64.88 kB / 0.7392 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.197e-05/0.5764, allocations: 102.8 kB / 0.7393 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.104e-05/0.5765, allocations: 100.1 kB / 0.7394 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.5765, allocations: 25.7 kB / 0.7395 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.5766, allocations: 84.08 kB / 0.7395 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.5766, allocations: 13.27 kB / 0.7395 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-06/0.5766, allocations: 3.844 kB / 0.7396 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.5768, allocations: 312.4 kB / 0.7399 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/0.5768, allocations: 11.78 kB / 0.7399 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.082e-05/0.5768, allocations: 31.98 kB / 0.7399 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.562e-05/0.5769, allocations: 19.58 kB / 0.7399 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.5769, allocations: 0 / 0.7399 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.395e-05/0.577, allocations: 51.23 kB / 0.74 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.577, allocations: 7.688 kB / 0.74 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.577, allocations: 0 / 0.74 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.577, allocations: 0.6875 kB / 0.74 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.885e-05/0.5771, allocations: 9.203 kB / 0.74 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.5771, allocations: 0 / 0.74 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.5772, allocations: 18.88 kB / 0.74 GB, free: 25.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.5772, allocations: 0 / 0.74 GB, free: 25.78 MB / 0.5105 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 7.335e-05/0.5773, allocations: 104.5 kB / 0.7401 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.397e-05/0.5773, allocations: 5.844 kB / 0.7401 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.5773, allocations: 11.53 kB / 0.7401 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.5773, allocations: 4 kB / 0.7401 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5774, allocations: 3.781 kB / 0.7401 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5774, allocations: 1.734 kB / 0.7401 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.5775, allocations: 146.3 kB / 0.7403 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.5775, allocations: 0 / 0.7403 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.5775, allocations: 7.594 kB / 0.7403 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.5775, allocations: 0 / 0.7403 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.5775, allocations: 1.266 kB / 0.7403 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5775, allocations: 7.594 kB / 0.7403 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.5775, allocations: 0 / 0.7403 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.962e-05/0.5776, allocations: 77.33 kB / 0.7403 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-05/0.5777, allocations: 91.08 kB / 0.7404 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.5777, allocations: 1.125 kB / 0.7404 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.708e-05/0.5778, allocations: 10.11 kB / 0.7404 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.203e-05/0.5779, allocations: 5.938 kB / 0.7405 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.261e-06/0.5779, allocations: 1.406 kB / 0.7405 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.131e-05/0.5779, allocations: 91.5 kB / 0.7405 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001906/0.5781, allocations: 11.69 kB / 0.7406 GB, free: 25.24 MB / 0.5105 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.000174/0.5783, allocations: 103.7 kB / 0.7407 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 9.189e-05/0.5784, allocations: 23.89 kB / 0.7407 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.5784, allocations: 3.812 kB / 0.7407 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.132e-05/0.5784, allocations: 11.89 kB / 0.7407 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/0.5786, allocations: 10.14 kB / 0.7407 GB, free: 25.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002168/0.5788, allocations: 71.94 kB / 0.7408 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002691/0.5791, allocations: 0.6927 MB / 0.7414 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.5791, allocations: 0 / 0.7414 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of Templates: time 0.002554/0.5816, allocations: 0.7813 MB / 0.7422 GB, free: 24.3 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)