Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.002252/0.002252, allocations: 179.8 kB / 7.456 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6856/0.6856, allocations: 133.5 MB / 141.4 MB, free: 15.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 221.3 MB / 395 MB, free: 10.21 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.001017/0.001017, allocations: 98.27 kB / 477.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 9.047e-06/9.077e-06, allocations: 2.562 kB / 0.5528 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1433, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.416/0.5594, allocations: 111.1 MB / 0.7417 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/0.5596, allocations: 76.19 kB / 0.7418 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.006556/0.5662, allocations: 2.389 MB / 0.7441 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.5662, allocations: 3.812 kB / 0.7441 GB, free: 10.75 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.0003182/0.5665, allocations: 331.2 kB / 0.7444 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.5666, allocations: 7.844 kB / 0.7445 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.602e-05/0.5666, allocations: 7.781 kB / 0.7445 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.5667, allocations: 172 kB / 0.7446 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.5668, allocations: 1.453 kB / 0.7446 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.678e-06/0.5668, allocations: 4 kB / 0.7446 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.344e-05/0.5668, allocations: 16.77 kB / 0.7446 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.447e-05/0.5669, allocations: 65 kB / 0.7447 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.5669, allocations: 0 / 0.7447 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.567, allocations: 0 / 0.7447 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.567, allocations: 0 / 0.7447 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.5673, allocations: 243 kB / 0.7449 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 7.29e-05/0.5674, allocations: 38.17 kB / 0.745 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.721e-05/0.5675, allocations: 21.14 kB / 0.745 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.017e-05/0.5675, allocations: 0 / 0.745 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.008e-05/0.5675, allocations: 54.27 kB / 0.745 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.5676, allocations: 0 / 0.745 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.000145/0.5677, allocations: 60.58 kB / 0.7451 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.5678, allocations: 104.1 kB / 0.7452 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.805e-05/0.5678, allocations: 104.8 kB / 0.7453 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.5679, allocations: 25.7 kB / 0.7453 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.5679, allocations: 80.14 kB / 0.7454 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.648e-05/0.5679, allocations: 13.28 kB / 0.7454 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.5679, allocations: 3.594 kB / 0.7454 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.568, allocations: 316.1 kB / 0.7457 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/0.5681, allocations: 15.59 kB / 0.7457 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.386e-05/0.5681, allocations: 35.11 kB / 0.7458 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.543e-05/0.5681, allocations: 13.84 kB / 0.7458 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.5681, allocations: 0 / 0.7458 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.139e-05/0.5682, allocations: 50.3 kB / 0.7458 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.5682, allocations: 9.25 kB / 0.7458 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.5682, allocations: 0 / 0.7458 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.5683, allocations: 0 / 0.7458 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.684e-05/0.5683, allocations: 5.297 kB / 0.7458 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.437e-06/0.5683, allocations: 7.969 kB / 0.7459 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.5685, allocations: 18.2 kB / 0.7459 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.5685, allocations: 0 / 0.7459 GB, free: 25.03 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 6.833e-05/0.5685, allocations: 102.5 kB / 0.746 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/0.5686, allocations: 6.719 kB / 0.746 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.5686, allocations: 7.594 kB / 0.746 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.5686, allocations: 7.781 kB / 0.746 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.5686, allocations: 1.5 kB / 0.746 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.5686, allocations: 0 / 0.746 GB, free: 24.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.768e-05/0.5687, allocations: 141 kB / 0.7461 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5687, allocations: 1.266 kB / 0.7461 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.187e-05/0.5688, allocations: 3.844 kB / 0.7461 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5688, allocations: 0 / 0.7461 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.5688, allocations: 5 kB / 0.7461 GB, free: 24.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.5688, allocations: 3.906 kB / 0.7461 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5688, allocations: 0 / 0.7461 GB, free: 24.74 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.102e-05/0.5689, allocations: 81.27 kB / 0.7462 GB, free: 24.67 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.5689, allocations: 90.95 kB / 0.7463 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.569, allocations: 1.688 kB / 0.7463 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.5691, allocations: 11.11 kB / 0.7463 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.5691, allocations: 5.609 kB / 0.7463 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.5691, allocations: 3.938 kB / 0.7463 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.44e-05/0.5692, allocations: 96.52 kB / 0.7464 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001879/0.5694, allocations: 7.688 kB / 0.7464 GB, free: 24.49 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.0001181/0.5695, allocations: 102.5 kB / 0.7465 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 8.908e-05/0.5696, allocations: 28.14 kB / 0.7465 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.5696, allocations: 3.781 kB / 0.7466 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.094e-05/0.5696, allocations: 18.41 kB / 0.7466 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001041/0.5698, allocations: 5.5 kB / 0.7466 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002094/0.57, allocations: 71.2 kB / 0.7466 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/0.5702, allocations: 0.6972 MB / 0.7473 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/0.5702, allocations: 0 / 0.7473 GB, free: 23.62 MB / 0.5105 GB Notification: Performance of Templates: time 0.002468/0.5727, allocations: 0.7921 MB / 0.7481 GB, free: 23.54 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)