Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime") translateModel(Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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/Annex60 1.0.0/package.mo): time 0.3022/0.3022, allocations: 54.4 MB / 61.68 MB, free: 11.18 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001254/0.001254, allocations: 176.1 kB / 75.37 MB, free: 1.48 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.619/1.619, allocations: 194.2 MB / 283.2 MB, free: 3.504 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001704/0.001704, allocations: 111.7 kB / 341.3 MB, free: 9.383 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.785e-06/7.825e-06, allocations: 0 / 405 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1466, allocations: 57.65 MB / 462.6 MB, free: 1.973 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4007/0.5473, allocations: 84.74 MB / 0.5345 GB, free: 12.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/0.5476, allocations: 81.08 kB / 0.5346 GB, free: 12.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.001404/0.5491, allocations: 284.7 kB / 0.5349 GB, free: 12.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.5491, allocations: 0 / 0.5349 GB, free: 12.04 MB / 378.7 MB 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.0004068/0.5495, allocations: 331.3 kB / 0.5352 GB, free: 11.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.5496, allocations: 11.97 kB / 0.5352 GB, free: 11.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.5496, allocations: 7.891 kB / 0.5352 GB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.5497, allocations: 163.1 kB / 0.5354 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.5497, allocations: 0 / 0.5354 GB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/0.5498, allocations: 7.922 kB / 0.5354 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.999e-05/0.5499, allocations: 15.38 kB / 0.5354 GB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.128e-05/0.5499, allocations: 40.84 kB / 0.5354 GB, free: 11.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.55, allocations: 4 kB / 0.5354 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.55, allocations: 0 / 0.5354 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.55, allocations: 0.6562 kB / 0.5354 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.5503, allocations: 217.1 kB / 0.5356 GB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.815e-05/0.5504, allocations: 37.73 kB / 0.5357 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.449e-05/0.5504, allocations: 16.23 kB / 0.5357 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.5505, allocations: 8 kB / 0.5357 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.326e-05/0.5506, allocations: 50.41 kB / 0.5357 GB, free: 11.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.5506, allocations: 2.188 kB / 0.5357 GB, free: 11.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001567/0.5507, allocations: 44.39 kB / 0.5358 GB, free: 10.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.867e-05/0.5508, allocations: 59.39 kB / 0.5358 GB, free: 10.91 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.288e-05/0.5508, allocations: 85 kB / 0.5359 GB, free: 10.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.907e-05/0.5509, allocations: 25.7 kB / 0.5359 GB, free: 10.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.5509, allocations: 84.27 kB / 0.536 GB, free: 10.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.551, allocations: 14.94 kB / 0.536 GB, free: 10.7 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.551, allocations: 0 / 0.536 GB, free: 10.7 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.5511, allocations: 310.8 kB / 0.5363 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.949e-05/0.5511, allocations: 6.938 kB / 0.5363 GB, free: 10.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.451e-05/0.5511, allocations: 7.062 kB / 0.5363 GB, free: 10.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.757e-05/0.5512, allocations: 11.48 kB / 0.5364 GB, free: 10.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5512, allocations: 3.938 kB / 0.5364 GB, free: 10.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.624e-05/0.5513, allocations: 49.52 kB / 0.5364 GB, free: 10.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.5513, allocations: 17.92 kB / 0.5364 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.5513, allocations: 0 / 0.5364 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.5513, allocations: 4 kB / 0.5364 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.268e-05/0.5514, allocations: 4 kB / 0.5364 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.5514, allocations: 0 / 0.5364 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.083e-05/0.5515, allocations: 11.88 kB / 0.5364 GB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.5515, allocations: 0 / 0.5364 GB, free: 10.28 MB / 378.7 MB 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.tStart,conTim.tStart) * 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 8.872e-05/0.5516, allocations: 101.5 kB / 0.5365 GB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.5516, allocations: 15.89 kB / 0.5366 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.5516, allocations: 7.094 kB / 0.5366 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.5516, allocations: 0 / 0.5366 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.5517, allocations: 0 / 0.5366 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.5517, allocations: 0 / 0.5366 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.5518, allocations: 131.1 kB / 0.5367 GB, free: 9.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5518, allocations: 0 / 0.5367 GB, free: 9.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.493e-05/0.5518, allocations: 14.28 kB / 0.5367 GB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.5519, allocations: 0 / 0.5367 GB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.5519, allocations: 3.938 kB / 0.5367 GB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.5519, allocations: 0 / 0.5367 GB, free: 9.977 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.5519, allocations: 8.938 kB / 0.5367 GB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 9.082e-05/0.552, allocations: 72.22 kB / 0.5368 GB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.506e-05/0.5521, allocations: 85.05 kB / 0.5369 GB, free: 9.785 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.5521, allocations: 4 kB / 0.5369 GB, free: 9.781 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.974e-05/0.5521, allocations: 7.984 kB / 0.5369 GB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.5522, allocations: 0 / 0.5369 GB, free: 9.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.5522, allocations: 4 kB / 0.5369 GB, free: 9.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.234e-05/0.5522, allocations: 78.16 kB / 0.537 GB, free: 9.695 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001942/0.5524, allocations: 8 kB / 0.537 GB, free: 9.688 MB / 378.7 MB 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.tStart) * Number of discrete states: 1 (conTim.tStart) * 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.0001388/0.5526, allocations: 95.44 kB / 0.537 GB, free: 9.586 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 8.705e-05/0.5527, allocations: 34.61 kB / 0.5371 GB, free: 9.559 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5527, allocations: 0 / 0.5371 GB, free: 9.559 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.071e-05/0.5527, allocations: 11.5 kB / 0.5371 GB, free: 9.551 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001071/0.5528, allocations: 11.98 kB / 0.5371 GB, free: 9.539 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002465/0.5531, allocations: 63.17 kB / 0.5372 GB, free: 9.457 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003074/0.5534, allocations: 0.6953 MB / 0.5378 GB, free: 8.738 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5534, allocations: 3.938 kB / 0.5378 GB, free: 8.734 MB / 378.7 MB Notification: Performance of Templates: time 0.002129/0.5555, allocations: 384.1 kB / 0.5382 GB, free: 8.371 MB / 378.7 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTime.pipe 2>&1)