Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [: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.349/1.349, allocations: 289.8 MB / 297.1 MB, free: 6.648 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.0009668/0.0009669, allocations: 181.3 kB / 366.3 MB, free: 1.961 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.055/1.055, allocations: 205.1 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.0007702/0.0007702, allocations: 78.17 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.246e-06/8.275e-06, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.4446, allocations: 116.3 MB / 0.9726 GB, free: 68.54 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1505/0.5951, allocations: 142.5 MB / 1.112 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.5955, allocations: 83.95 kB / 1.112 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02606/0.6216, allocations: 9.916 MB / 1.122 GB, free: 11.98 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.586e-05/0.6216, allocations: 4 kB / 1.122 GB, free: 11.97 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006522/0.6223, allocations: 0.5258 MB / 1.122 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.6223, allocations: 12.59 kB / 1.122 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.6225, allocations: 35.61 kB / 1.122 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.6228, allocations: 269.7 kB / 1.122 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.6229, allocations: 7.938 kB / 1.122 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.6229, allocations: 15.98 kB / 1.122 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008402/0.6237, allocations: 0.7332 MB / 1.123 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.6241, allocations: 205.9 kB / 1.123 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.6241, allocations: 4 kB / 1.123 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.6241, allocations: 4 kB / 1.123 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.6241, allocations: 7.906 kB / 1.123 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000827/0.6249, allocations: 0.5671 MB / 1.124 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004172/0.6254, allocations: 281.5 kB / 1.124 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.6256, allocations: 101.4 kB / 1.124 GB, free: 9.062 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.451e-05/0.6256, allocations: 16.25 kB / 1.124 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002173/0.6259, allocations: 167.3 kB / 1.124 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=35): time 1.613e-06/0.6259, allocations: 3.938 kB / 1.124 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of matching and sorting (n=35): time 0.0004596/0.6263, allocations: 253.8 kB / 1.125 GB, free: 8.613 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.6264, allocations: 140.4 kB / 1.125 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.6267, allocations: 264.1 kB / 1.125 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.6267, allocations: 29.7 kB / 1.125 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.6268, allocations: 104.6 kB / 1.125 GB, free: 8.039 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.223e-05/0.6269, allocations: 114.4 kB / 1.125 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/0.6269, allocations: 0 / 1.125 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.627, allocations: 338.8 kB / 1.126 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.6271, allocations: 71.98 kB / 1.126 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.6273, allocations: 123.4 kB / 1.126 GB, free: 7.383 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.6274, allocations: 104.5 kB / 1.126 GB, free: 7.281 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.6275, allocations: 3.938 kB / 1.126 GB, free: 7.277 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003819/0.6278, allocations: 253.2 kB / 1.126 GB, free: 7.023 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.6279, allocations: 8 kB / 1.126 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.6279, allocations: 3.906 kB / 1.126 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.6279, allocations: 0 / 1.126 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002258/0.6281, allocations: 63.91 kB / 1.126 GB, free: 6.949 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.6281, allocations: 8 kB / 1.126 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001451/0.6283, allocations: 23.77 kB / 1.126 GB, free: 6.918 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.6283, allocations: 15.98 kB / 1.126 GB, free: 6.902 MB / 0.7292 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 (36): * Single equations (assignments): 36 * 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.955e-05/0.6284, allocations: 112.8 kB / 1.126 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.6285, allocations: 23.72 kB / 1.126 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006431/0.6291, allocations: 374.9 kB / 1.127 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.6291, allocations: 11.94 kB / 1.127 GB, free: 6.402 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6291, allocations: 3.906 kB / 1.127 GB, free: 6.398 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6291, allocations: 0 / 1.127 GB, free: 6.398 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.6294, allocations: 305.8 kB / 1.127 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.6294, allocations: 0 / 1.127 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.6296, allocations: 63.91 kB / 1.127 GB, free: 6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.6296, allocations: 0 / 1.127 GB, free: 6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.064e-05/0.6297, allocations: 11.89 kB / 1.127 GB, free: 5.988 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.6297, allocations: 4 kB / 1.127 GB, free: 5.984 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.6297, allocations: 4 kB / 1.127 GB, free: 5.98 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004011/0.6301, allocations: 313.8 kB / 1.127 GB, free: 5.652 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.6302, allocations: 156.7 kB / 1.128 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.6303, allocations: 0 / 1.128 GB, free: 5.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.6305, allocations: 27.97 kB / 1.128 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.6305, allocations: 23.97 kB / 1.128 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.6306, allocations: 15.98 kB / 1.128 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000179/0.6308, allocations: 216.5 kB / 1.128 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000303/0.6311, allocations: 63.84 kB / 1.128 GB, free: 5.141 MB / 0.7292 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 (35): * Single equations (assignments): 34 * 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.0006538/0.6317, allocations: 314.3 kB / 1.128 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003192/0.6321, allocations: 219.7 kB / 1.128 GB, free: 4.688 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6321, allocations: 0 / 1.128 GB, free: 4.688 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.6322, allocations: 127.8 kB / 1.128 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.6325, allocations: 27.52 kB / 1.129 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007007/0.6332, allocations: 410.4 kB / 1.129 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004161/0.6336, allocations: 0.8197 MB / 1.13 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of SimCode: time 2.51e-07/0.6336, allocations: 4 kB / 1.13 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of Templates: time 0.00701/0.6406, allocations: 3.893 MB / 1.134 GB, free: 15.39 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)