Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.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.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart") [: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.374/1.374, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.001031/0.001031, allocations: 173.3 kB / 366.3 MB, free: 2.031 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.1 MB / 0.6256 GB, free: 5.871 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.0007715/0.0007714, allocations: 82.84 kB / 0.7396 GB, free: 39.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.695e-06/7.805e-06, allocations: 4 kB / 0.859 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4118, allocations: 116.3 MB / 0.9726 GB, free: 68.2 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1331/0.5449, allocations: 138.8 MB / 1.108 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/0.5451, allocations: 76.52 kB / 1.108 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.006843/0.5519, allocations: 2.374 MB / 1.11 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.552, allocations: 0 / 1.11 GB, free: 7.332 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.0002999/0.5523, allocations: 340.7 kB / 1.111 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.5523, allocations: 12.03 kB / 1.111 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.5524, allocations: 3.906 kB / 1.111 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.5525, allocations: 171 kB / 1.111 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.5525, allocations: 0 / 1.111 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.5525, allocations: 0 / 1.111 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.424e-05/0.5526, allocations: 19.84 kB / 1.111 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.697e-05/0.5527, allocations: 68.25 kB / 1.111 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.5527, allocations: 4 kB / 1.111 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.5527, allocations: 0 / 1.111 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.5527, allocations: 0 / 1.111 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002949/0.553, allocations: 237.4 kB / 1.111 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.27e-05/0.5531, allocations: 42.5 kB / 1.111 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.971e-05/0.5532, allocations: 16.86 kB / 1.111 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.5532, allocations: 4 kB / 1.111 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.455e-05/0.5533, allocations: 51.5 kB / 1.111 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.5533, allocations: 0 / 1.111 GB, free: 6.223 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001328/0.5534, allocations: 53.69 kB / 1.111 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.5535, allocations: 106.7 kB / 1.112 GB, free: 6.035 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.623e-05/0.5535, allocations: 104.9 kB / 1.112 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.5536, allocations: 25.7 kB / 1.112 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.843e-05/0.5536, allocations: 84.14 kB / 1.112 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.773e-05/0.5536, allocations: 15.84 kB / 1.112 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-06/0.5536, allocations: 0 / 1.112 GB, free: 5.793 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.592e-05/0.5537, allocations: 312.3 kB / 1.112 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.054e-05/0.5537, allocations: 8 kB / 1.112 GB, free: 5.473 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.684e-05/0.5538, allocations: 30.56 kB / 1.112 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.673e-05/0.5538, allocations: 15.94 kB / 1.112 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.5538, allocations: 0 / 1.112 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.519e-05/0.5539, allocations: 61.62 kB / 1.112 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.5539, allocations: 4 kB / 1.112 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.554, allocations: 0 / 1.112 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.554, allocations: 4 kB / 1.112 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.356e-05/0.554, allocations: 12.36 kB / 1.112 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-06/0.554, allocations: 0 / 1.112 GB, free: 5.332 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.5541, allocations: 8 kB / 1.112 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.5542, allocations: 4 kB / 1.112 GB, free: 5.32 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 7.694e-05/0.5543, allocations: 117.6 kB / 1.112 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.256e-05/0.5543, allocations: 0 / 1.112 GB, free: 5.199 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.5543, allocations: 11.69 kB / 1.112 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.5543, allocations: 1.781 kB / 1.112 GB, free: 5.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5543, allocations: 3.906 kB / 1.112 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.5543, allocations: 0 / 1.112 GB, free: 5.176 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.38e-05/0.5544, allocations: 142.2 kB / 1.113 GB, free: 5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5544, allocations: 0 / 1.113 GB, free: 5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.308e-05/0.5545, allocations: 3.984 kB / 1.113 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.5545, allocations: 8 kB / 1.113 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.5545, allocations: 0 / 1.113 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5545, allocations: 0 / 1.113 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5545, allocations: 0 / 1.113 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001067/0.5546, allocations: 85 kB / 1.113 GB, free: 4.887 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.63e-05/0.5547, allocations: 93 kB / 1.113 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.5547, allocations: 0 / 1.113 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.5548, allocations: 15.98 kB / 1.113 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.5548, allocations: 4 kB / 1.113 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.5549, allocations: 3.984 kB / 1.113 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.291e-05/0.5549, allocations: 83.28 kB / 1.113 GB, free: 4.672 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001827/0.5551, allocations: 12 kB / 1.113 GB, free: 4.66 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.000103/0.5552, allocations: 99.25 kB / 1.113 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.786e-05/0.5553, allocations: 29.02 kB / 1.113 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.5553, allocations: 4 kB / 1.113 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.301e-05/0.5554, allocations: 23.88 kB / 1.113 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.123e-05/0.5554, allocations: 1.406 kB / 1.113 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002006/0.5557, allocations: 75.69 kB / 1.113 GB, free: 4.398 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002246/0.5559, allocations: 0.6915 MB / 1.114 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.5559, allocations: 0 / 1.114 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of Templates: time 0.002293/0.5582, allocations: 0.8038 MB / 1.114 GB, free: 2.906 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1)