Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [: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.342/1.342, allocations: 289.8 MB / 297.1 MB, free: 6.578 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.0009667, allocations: 184 kB / 366.3 MB, free: 1.91 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.033/1.033, allocations: 205.1 MB / 0.6256 GB, free: 5.754 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.0008035/0.0008034, allocations: 96.69 kB / 0.7396 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.604e-06/7.684e-06, allocations: 4 kB / 0.859 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4478/0.4478, allocations: 116.3 MB / 0.9726 GB, free: 68.43 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.5914, allocations: 137.3 MB / 1.107 GB, free: 11.16 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.5917, allocations: 72.52 kB / 1.107 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0003782/0.5921, allocations: 57.67 kB / 1.107 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.5921, allocations: 64 / 1.107 GB, free: 11.04 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002019/0.5923, allocations: 307.9 kB / 1.107 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.5923, allocations: 8.031 kB / 1.107 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.351e-05/0.5924, allocations: 0.75 kB / 1.107 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.5925, allocations: 171 kB / 1.107 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.5925, allocations: 0.5 kB / 1.107 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.072e-06/0.5925, allocations: 1.5 kB / 1.107 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.129e-05/0.5926, allocations: 3.938 kB / 1.107 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.521e-05/0.5926, allocations: 26.33 kB / 1.107 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.5926, allocations: 4.562 kB / 1.107 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.243e-06/0.5927, allocations: 0.6562 kB / 1.107 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.5927, allocations: 0 / 1.107 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002413/0.5929, allocations: 361.7 kB / 1.108 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.574e-05/0.593, allocations: 169.9 kB / 1.108 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.336e-05/0.593, allocations: 84.73 kB / 1.108 GB, free: 9.785 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.5931, allocations: 77.06 kB / 1.108 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/0.5931, allocations: 106.6 kB / 1.108 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.5931, allocations: 0.5 kB / 1.108 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 7.079e-05/0.5932, allocations: 26.27 kB / 1.108 GB, free: 9.566 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.5932, allocations: 59.41 kB / 1.108 GB, free: 9.496 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.272e-05/0.5933, allocations: 89 kB / 1.108 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.5933, allocations: 29.64 kB / 1.108 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.5934, allocations: 84.12 kB / 1.108 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.202e-06/0.5934, allocations: 0.8438 kB / 1.108 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-07/0.5934, allocations: 0 / 1.108 GB, free: 9.281 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.169e-05/0.5935, allocations: 314.8 kB / 1.109 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.317e-06/0.5935, allocations: 0 / 1.109 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.182e-06/0.5935, allocations: 10.59 kB / 1.109 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.234e-05/0.5935, allocations: 79.22 kB / 1.109 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.406e-05/0.5935, allocations: 75.28 kB / 1.109 GB, free: 8.805 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001019/0.5937, allocations: 25.7 kB / 1.109 GB, free: 8.773 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.5937, allocations: 8 kB / 1.109 GB, free: 8.766 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.5937, allocations: 75.94 kB / 1.109 GB, free: 8.691 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.259e-05/0.5938, allocations: 154.5 kB / 1.109 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.076e-05/0.5938, allocations: 79.27 kB / 1.109 GB, free: 8.461 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.66e-05/0.5938, allocations: 158.6 kB / 1.109 GB, free: 8.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.587e-05/0.5939, allocations: 83.22 kB / 1.109 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.5939, allocations: 75.28 kB / 1.109 GB, free: 8.148 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 9.595e-05/0.594, allocations: 255.5 kB / 1.11 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.394e-05/0.5941, allocations: 105.5 kB / 1.11 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.261e-05/0.5942, allocations: 115.9 kB / 1.11 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.102e-05/0.5942, allocations: 180.2 kB / 1.11 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.603e-05/0.5943, allocations: 176.3 kB / 1.11 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.321e-05/0.5943, allocations: 180.5 kB / 1.11 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.5945, allocations: 389.8 kB / 1.111 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.932e-05/0.5946, allocations: 107.3 kB / 1.111 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.227e-05/0.5946, allocations: 108.8 kB / 1.111 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.732e-05/0.5947, allocations: 176.3 kB / 1.111 GB, free: 6.285 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.711e-05/0.5948, allocations: 180.3 kB / 1.111 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.956e-05/0.5948, allocations: 180.2 kB / 1.111 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-05/0.5949, allocations: 180.2 kB / 1.112 GB, free: 5.734 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001186/0.595, allocations: 307.8 kB / 1.112 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.334e-05/0.5951, allocations: 178.5 kB / 1.112 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.706e-05/0.5952, allocations: 188.2 kB / 1.112 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.5953, allocations: 108.9 kB / 1.112 GB, free: 4.906 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.492e-05/0.5953, allocations: 188.2 kB / 1.113 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.5954, allocations: 101.5 kB / 1.113 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.74e-05/0.5954, allocations: 79.28 kB / 1.113 GB, free: 4.531 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002175/0.5956, allocations: 0 / 1.113 GB, free: 4.531 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001301/0.5958, allocations: 174.5 kB / 1.113 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 3.389e-05/0.5958, allocations: 3.938 kB / 1.113 GB, free: 4.344 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.5958, allocations: 4.094 kB / 1.113 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.286e-06/0.5958, allocations: 4.641 kB / 1.113 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.5961, allocations: 0.5151 MB / 1.113 GB, free: 3.816 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001672/0.5963, allocations: 120.6 kB / 1.113 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/0.5965, allocations: 0.6841 MB / 1.114 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.5965, allocations: 5.031 kB / 1.114 GB, free: 2.961 MB / 0.7136 GB Notification: Performance of Templates: time 0.001391/0.5979, allocations: 138.3 kB / 1.114 GB, free: 2.848 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1)