Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.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.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change") [: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.367/1.367, allocations: 289.8 MB / 297.1 MB, free: 6.645 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.001067/0.001067, allocations: 185.3 kB / 366.3 MB, free: 1.984 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.067/1.067, allocations: 205.1 MB / 0.6256 GB, free: 7.453 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.0008356/0.0008355, allocations: 94.28 kB / 0.7396 GB, free: 39.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.356e-06/8.456e-06, allocations: 4 kB / 0.859 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.436/0.4361, allocations: 116.3 MB / 0.9726 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1443/0.5804, allocations: 138.5 MB / 1.108 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.5806, allocations: 77.2 kB / 1.108 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.005649/0.5863, allocations: 1.785 MB / 1.11 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.5863, allocations: 0 / 1.11 GB, free: 10.15 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003994/0.5867, allocations: 400.9 kB / 1.11 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.5868, allocations: 8.031 kB / 1.11 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.5868, allocations: 7.906 kB / 1.11 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.5869, allocations: 171 kB / 1.11 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.587, allocations: 0 / 1.11 GB, free: 9.488 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.587, allocations: 15.89 kB / 1.11 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.242e-05/0.5871, allocations: 16 kB / 1.11 GB, free: 9.457 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.108e-05/0.5872, allocations: 53.62 kB / 1.11 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.583e-06/0.5872, allocations: 0 / 1.11 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.228e-06/0.5872, allocations: 0.75 kB / 1.11 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.5872, allocations: 4 kB / 1.11 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.5876, allocations: 297.3 kB / 1.111 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.378e-05/0.5877, allocations: 46.62 kB / 1.111 GB, free: 9.012 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.304e-05/0.5877, allocations: 24.92 kB / 1.111 GB, free: 8.984 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.5878, allocations: 4 kB / 1.111 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.698e-05/0.5879, allocations: 70.81 kB / 1.111 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.293e-06/0.5879, allocations: 0 / 1.111 GB, free: 8.902 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001775/0.588, allocations: 76.94 kB / 1.111 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.404e-05/0.5881, allocations: 59.39 kB / 1.111 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.965e-05/0.5882, allocations: 104.9 kB / 1.111 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.5882, allocations: 29.7 kB / 1.111 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.847e-05/0.5883, allocations: 92.12 kB / 1.111 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.5883, allocations: 15.81 kB / 1.111 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.229e-05/0.5883, allocations: 0 / 1.111 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.5884, allocations: 314.8 kB / 1.111 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.389e-05/0.5885, allocations: 36 kB / 1.111 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.325e-05/0.5886, allocations: 77.34 kB / 1.112 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.5888, allocations: 43.95 kB / 1.112 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.5888, allocations: 0 / 1.112 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003276/0.5891, allocations: 149.5 kB / 1.112 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.5892, allocations: 4 kB / 1.112 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5892, allocations: 4 kB / 1.112 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.5892, allocations: 7.891 kB / 1.112 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.5893, allocations: 23.92 kB / 1.112 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.5893, allocations: 4.125 kB / 1.112 GB, free: 7.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.5895, allocations: 53.2 kB / 1.112 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.5896, allocations: 4 kB / 1.112 GB, free: 7.766 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.436e-05/0.5897, allocations: 116 kB / 1.112 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.636e-05/0.5897, allocations: 8.641 kB / 1.112 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.379e-05/0.5897, allocations: 12.38 kB / 1.112 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.5897, allocations: 4 kB / 1.112 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.5898, allocations: 3.906 kB / 1.112 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5898, allocations: 0 / 1.112 GB, free: 7.621 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.59, allocations: 311.1 kB / 1.112 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.59, allocations: 0 / 1.112 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.206e-05/0.5901, allocations: 15.89 kB / 1.112 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.5901, allocations: 8.688 kB / 1.112 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.5901, allocations: 5.688 kB / 1.112 GB, free: 7.246 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5902, allocations: 4 kB / 1.112 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5902, allocations: 0 / 1.112 GB, free: 7.242 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001263/0.5903, allocations: 168.7 kB / 1.112 GB, free: 7.062 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.719e-05/0.5903, allocations: 85 kB / 1.112 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.5904, allocations: 4 kB / 1.113 GB, free: 6.957 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.564e-05/0.5905, allocations: 11.98 kB / 1.113 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.5905, allocations: 4.656 kB / 1.113 GB, free: 6.941 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.5905, allocations: 4 kB / 1.113 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.711e-05/0.5906, allocations: 89.45 kB / 1.113 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002412/0.5908, allocations: 32 kB / 1.113 GB, free: 6.82 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: 7 (change.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001456/0.591, allocations: 107.2 kB / 1.113 GB, free: 6.707 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001855/0.5912, allocations: 105.6 kB / 1.113 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.5912, allocations: 0 / 1.113 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.102e-05/0.5912, allocations: 36.67 kB / 1.113 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001837/0.5914, allocations: 10.72 kB / 1.113 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002557/0.5917, allocations: 95.61 kB / 1.113 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/0.592, allocations: 0.7089 MB / 1.114 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.592, allocations: 0 / 1.114 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of Templates: time 0.003214/0.5952, allocations: 1.292 MB / 1.115 GB, free: 4.461 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Change.pipe 2>&1)