Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine") [: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.0.1-maint.8.0.x/package.mo): time 1.316/1.316, allocations: 285.5 MB / 292.8 MB, free: 1.086 MB / 227.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009389/0.0009389, allocations: 185.6 kB / 361.1 MB, free: 15.47 MB / 291.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.006/1.006, allocations: 205.1 MB / 0.6195 GB, free: 6.137 MB / 467.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007304/0.0007306, allocations: 90.91 kB / 0.7325 GB, free: 47.01 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 6.452e-06/6.472e-06, allocations: 0 / 0.8511 GB, free: 13.07 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4494/0.4495, allocations: 115.3 MB / 0.9637 GB, free: 85.91 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.5922, allocations: 136.7 MB / 1.097 GB, free: 13.04 MB / 0.7061 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.5925, allocations: 71.95 kB / 1.097 GB, free: 12.97 MB / 0.7061 GB Notification: Performance of FrontEnd: time 0.001588/0.5941, allocations: 360.1 kB / 1.098 GB, free: 12.63 MB / 0.7061 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.5941, allocations: 0.7812 kB / 1.098 GB, free: 12.63 MB / 0.7061 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.0002912/0.5944, allocations: 319.9 kB / 1.098 GB, free: 12.28 MB / 0.7061 GB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.5944, allocations: 8.781 kB / 1.098 GB, free: 12.27 MB / 0.7061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.5945, allocations: 3.906 kB / 1.098 GB, free: 12.27 MB / 0.7061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.5946, allocations: 171.8 kB / 1.098 GB, free: 12.06 MB / 0.7061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.5946, allocations: 4 kB / 1.098 GB, free: 12.05 MB / 0.7061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.5946, allocations: 0.6875 kB / 1.098 GB, free: 12.05 MB / 0.7061 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.698e-05/0.5947, allocations: 3.938 kB / 1.098 GB, free: 12.05 MB / 0.7061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.365e-05/0.5948, allocations: 30.27 kB / 1.098 GB, free: 12.02 MB / 0.7061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.5948, allocations: 2.25 kB / 1.098 GB, free: 12.02 MB / 0.7061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.5948, allocations: 4.594 kB / 1.098 GB, free: 12.01 MB / 0.7061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.5948, allocations: 0 / 1.098 GB, free: 12.01 MB / 0.7061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.595, allocations: 135.3 kB / 1.098 GB, free: 11.84 MB / 0.7061 GB Notification: Performance of preOpt comSubExp (simulation): time 4.746e-05/0.595, allocations: 23.28 kB / 1.098 GB, free: 11.81 MB / 0.7061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.164e-05/0.5951, allocations: 11.88 kB / 1.098 GB, free: 11.8 MB / 0.7061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.5951, allocations: 0 / 1.098 GB, free: 11.8 MB / 0.7061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.5951, allocations: 35.88 kB / 1.098 GB, free: 11.76 MB / 0.7061 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.5951, allocations: 4 kB / 1.098 GB, free: 11.75 MB / 0.7061 GB Notification: Performance of matching and sorting (n=1): time 0.000128/0.5952, allocations: 34.14 kB / 1.098 GB, free: 11.71 MB / 0.7061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.5953, allocations: 56.38 kB / 1.098 GB, free: 11.65 MB / 0.7061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.892e-05/0.5954, allocations: 94.48 kB / 1.099 GB, free: 11.55 MB / 0.7061 GB Notification: Performance of collectPreVariables (initialization): time 1.191e-05/0.5954, allocations: 26.3 kB / 1.099 GB, free: 11.52 MB / 0.7061 GB Notification: Performance of collectInitialEqns (initialization): time 2.829e-05/0.5954, allocations: 88.64 kB / 1.099 GB, free: 11.43 MB / 0.7061 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.5954, allocations: 0.9062 kB / 1.099 GB, free: 11.43 MB / 0.7061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/0.5954, allocations: 0 / 1.099 GB, free: 11.43 MB / 0.7061 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.5956, allocations: 311.6 kB / 1.099 GB, free: 11.12 MB / 0.7061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.092e-05/0.5956, allocations: 0 / 1.099 GB, free: 11.12 MB / 0.7061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.025e-06/0.5956, allocations: 7.969 kB / 1.099 GB, free: 11.11 MB / 0.7061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.813e-05/0.5956, allocations: 4 kB / 1.099 GB, free: 11.11 MB / 0.7061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.5956, allocations: 0.5938 kB / 1.099 GB, free: 11.11 MB / 0.7061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.697e-05/0.5957, allocations: 47.19 kB / 1.099 GB, free: 11.06 MB / 0.7061 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.5957, allocations: 4 kB / 1.099 GB, free: 11.05 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5957, allocations: 7.938 kB / 1.099 GB, free: 11.05 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.5958, allocations: 0 / 1.099 GB, free: 11.05 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.104e-05/0.5958, allocations: 4.719 kB / 1.099 GB, free: 11.04 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.5958, allocations: 0.9375 kB / 1.099 GB, free: 11.04 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.757e-05/0.5959, allocations: 8.703 kB / 1.099 GB, free: 11.04 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.5959, allocations: 0 / 1.099 GB, free: 11.04 MB / 0.7061 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 (1): * Single equations (assignments): 1 * 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 6.068e-05/0.596, allocations: 109.4 kB / 1.099 GB, free: 10.92 MB / 0.7061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-06/0.596, allocations: 0.75 kB / 1.099 GB, free: 10.92 MB / 0.7061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.296e-05/0.596, allocations: 7.281 kB / 1.099 GB, free: 10.91 MB / 0.7061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.596, allocations: 8 kB / 1.099 GB, free: 10.91 MB / 0.7061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.596, allocations: 1.562 kB / 1.099 GB, free: 10.91 MB / 0.7061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.596, allocations: 0 / 1.099 GB, free: 10.91 MB / 0.7061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.857e-05/0.5961, allocations: 134.1 kB / 1.099 GB, free: 10.74 MB / 0.7061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.5961, allocations: 0 / 1.099 GB, free: 10.74 MB / 0.7061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.162e-05/0.5962, allocations: 7.984 kB / 1.099 GB, free: 10.73 MB / 0.7061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.5962, allocations: 0 / 1.099 GB, free: 10.73 MB / 0.7061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-06/0.5962, allocations: 0 / 1.099 GB, free: 10.73 MB / 0.7061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5962, allocations: 0 / 1.099 GB, free: 10.73 MB / 0.7061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5962, allocations: 0 / 1.099 GB, free: 10.73 MB / 0.7061 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.348e-05/0.5963, allocations: 72.97 kB / 1.099 GB, free: 10.64 MB / 0.7061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.954e-05/0.5964, allocations: 81.09 kB / 1.099 GB, free: 10.54 MB / 0.7061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.5964, allocations: 1.375 kB / 1.099 GB, free: 10.54 MB / 0.7061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.741e-05/0.5964, allocations: 4 kB / 1.099 GB, free: 10.54 MB / 0.7061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/0.5964, allocations: 0 / 1.099 GB, free: 10.54 MB / 0.7061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/0.5965, allocations: 0 / 1.099 GB, free: 10.54 MB / 0.7061 GB Notification: Performance of sort global known variables: time 3.219e-05/0.5965, allocations: 91.3 kB / 1.1 GB, free: 10.45 MB / 0.7061 GB Notification: Performance of remove unused functions: time 0.0001782/0.5967, allocations: 4 kB / 1.1 GB, free: 10.45 MB / 0.7061 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 (1): * Single equations (assignments): 1 * 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.0001292/0.5968, allocations: 105.5 kB / 1.1 GB, free: 10.34 MB / 0.7061 GB Notification: Performance of simCode: created initialization part: time 6.103e-05/0.5969, allocations: 8 kB / 1.1 GB, free: 10.33 MB / 0.7061 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5969, allocations: 0 / 1.1 GB, free: 10.33 MB / 0.7061 GB Notification: Performance of simCode: created simulation system equations: time 1.32e-05/0.5969, allocations: 0 / 1.1 GB, free: 10.33 MB / 0.7061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001022/0.597, allocations: 4 kB / 1.1 GB, free: 10.32 MB / 0.7061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001824/0.5972, allocations: 60.8 kB / 1.1 GB, free: 10.24 MB / 0.7061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.5975, allocations: 0.6918 MB / 1.1 GB, free: 9.523 MB / 0.7061 GB Notification: Performance of SimCode: time 2.51e-07/0.5975, allocations: 0 / 1.1 GB, free: 9.523 MB / 0.7061 GB Notification: Performance of Templates: time 0.00175/0.5992, allocations: 289.2 kB / 1.101 GB, free: 9.273 MB / 0.7061 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Sine.pipe 2>&1)