Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table") translateModel(Buildings.Controls.SetPoints.Examples.Table,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table") [: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 1.6.0+build.1/package.mo): time 0.5157/0.5157, allocations: 94.74 MB / 102 MB, free: 10.35 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001188/0.001188, allocations: 176 kB / 125.3 MB, free: 11.98 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.285/1.285, allocations: 170.5 MB / 319 MB, free: 9.34 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001564/0.001564, allocations: 111.4 kB / 381 MB, free: 18.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.871e-06/5.901e-06, allocations: 0 / 448.6 MB, free: 2.113 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1293, allocations: 61.51 MB / 0.4981 GB, free: 4.504 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3523/0.4816, allocations: 94.23 MB / 0.5901 GB, free: 8.117 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/0.4819, allocations: 78.25 kB / 0.5902 GB, free: 8.043 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.01001/0.4919, allocations: 3.477 MB / 0.5936 GB, free: 4.641 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.279e-05/0.492, allocations: 4 kB / 0.5936 GB, free: 4.637 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006656/0.4927, allocations: 0.5389 MB / 0.5941 GB, free: 4.047 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.4927, allocations: 16.03 kB / 0.5942 GB, free: 4.031 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.51e-05/0.4928, allocations: 23.72 kB / 0.5942 GB, free: 4.008 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005628/0.4934, allocations: 358.8 kB / 0.5945 GB, free: 3.613 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.4934, allocations: 7.5 kB / 0.5945 GB, free: 3.609 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.4934, allocations: 7 kB / 0.5945 GB, free: 3.605 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.169e-05/0.4935, allocations: 31.98 kB / 0.5946 GB, free: 3.574 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.4936, allocations: 57.62 kB / 0.5946 GB, free: 3.512 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.4937, allocations: 3.844 kB / 0.5946 GB, free: 3.512 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.4937, allocations: 0 / 0.5946 GB, free: 3.512 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.4937, allocations: 0 / 0.5946 GB, free: 3.512 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.4942, allocations: 413 kB / 0.595 GB, free: 3.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.333e-05/0.4943, allocations: 34.58 kB / 0.595 GB, free: 3.027 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.632e-05/0.4943, allocations: 12.92 kB / 0.5951 GB, free: 3.008 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.4944, allocations: 8 kB / 0.5951 GB, free: 3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.424e-05/0.4944, allocations: 34.56 kB / 0.5951 GB, free: 2.957 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.4944, allocations: 0 / 0.5951 GB, free: 2.957 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002021/0.4946, allocations: 73.41 kB / 0.5952 GB, free: 2.879 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.708e-05/0.4946, allocations: 55.44 kB / 0.5952 GB, free: 2.812 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004665/0.4951, allocations: 434 kB / 0.5956 GB, free: 2.387 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.4951, allocations: 25.7 kB / 0.5957 GB, free: 2.355 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.4952, allocations: 120 kB / 0.5958 GB, free: 2.234 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.4952, allocations: 15.89 kB / 0.5958 GB, free: 2.219 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.4952, allocations: 0 / 0.5958 GB, free: 2.219 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4954, allocations: 338.8 kB / 0.5961 GB, free: 1.879 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.742e-05/0.4954, allocations: 12 kB / 0.5961 GB, free: 1.867 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.925e-05/0.4954, allocations: 8 kB / 0.5961 GB, free: 1.859 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.827e-05/0.4954, allocations: 8 kB / 0.5961 GB, free: 1.852 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.4955, allocations: 4 kB / 0.5961 GB, free: 1.848 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001263/0.4956, allocations: 81.31 kB / 0.5962 GB, free: 1.762 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.4956, allocations: 4 kB / 0.5962 GB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.4956, allocations: 4 kB / 0.5962 GB, free: 1.754 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.4956, allocations: 4 kB / 0.5962 GB, free: 1.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.4957, allocations: 11.98 kB / 0.5962 GB, free: 1.738 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.177e-06/0.4958, allocations: 0 / 0.5962 GB, free: 1.738 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.48e-05/0.4959, allocations: 15.89 kB / 0.5963 GB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.4959, allocations: 11.94 kB / 0.5963 GB, free: 1.711 MB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 2 * 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 5.748e-05/0.4959, allocations: 108.9 kB / 0.5964 GB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.577e-05/0.496, allocations: 31.62 kB / 0.5964 GB, free: 1.566 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001745/0.4962, allocations: 85.62 kB / 0.5965 GB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.4962, allocations: 0 / 0.5965 GB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.4962, allocations: 0 / 0.5965 GB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4962, allocations: 0 / 0.5965 GB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.4964, allocations: 242 kB / 0.5967 GB, free: 1.203 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.4965, allocations: 8.609 kB / 0.5967 GB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.635e-05/0.4965, allocations: 18.05 kB / 0.5967 GB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4965, allocations: 0 / 0.5967 GB, free: 1.184 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.024e-05/0.4966, allocations: 4 kB / 0.5967 GB, free: 1.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4966, allocations: 1.875 kB / 0.5967 GB, free: 1.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4966, allocations: 0 / 0.5967 GB, free: 1.18 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001508/0.4967, allocations: 171.1 kB / 0.5969 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.4969, allocations: 128.7 kB / 0.597 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.4969, allocations: 3.984 kB / 0.597 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.497, allocations: 8 kB / 0.597 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.4971, allocations: 3.984 kB / 0.597 GB, free: 0.8359 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.4971, allocations: 5.75 kB / 0.5971 GB, free: 0.832 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003426/0.4974, allocations: 340.5 kB / 0.5974 GB, free: 0.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002948/0.4977, allocations: 32 kB / 0.5974 GB, free: 480 kB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.000408/0.4981, allocations: 189.8 kB / 0.5976 GB, free: 336 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000155/0.4983, allocations: 80.72 kB / 0.5977 GB, free: 244 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4983, allocations: 0 / 0.5977 GB, free: 244 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.365e-05/0.4984, allocations: 15.98 kB / 0.5977 GB, free: 228 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.4986, allocations: 30.47 kB / 0.5977 GB, free: 204 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007319/0.4994, allocations: 359.5 kB / 0.5981 GB, free: 15.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004113/0.4998, allocations: 0.8048 MB / 0.5988 GB, free: 15 MB / 426.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4998, allocations: 0 / 0.5988 GB, free: 15 MB / 426.7 MB Notification: Performance of Templates: time 0.004964/0.5048, allocations: 1.662 MB / 0.6005 GB, free: 13.4 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.makefile (rm -f Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.pipe ; mkfifo Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.pipe >> ../files/Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.sim & ./Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.SetPoints.Examples.Table.pipe 2>&1)