Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") [: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.34/1.34, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.0009186/0.0009186, allocations: 177.2 kB / 366.3 MB, free: 2.004 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.073/1.073, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.0008463/0.0008464, allocations: 94.73 kB / 0.7396 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.146e-05/1.169e-05, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4437/0.4437, allocations: 116.3 MB / 0.9726 GB, free: 68.23 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1431/0.5868, allocations: 138.2 MB / 1.107 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001871/0.587, allocations: 76.38 kB / 1.108 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.006098/0.5931, allocations: 2.161 MB / 1.11 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.13e-06/0.5932, allocations: 0 / 1.11 GB, free: 8.16 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000391/0.5936, allocations: 369.1 kB / 1.11 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.278e-05/0.5936, allocations: 12.03 kB / 1.11 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.5936, allocations: 7.906 kB / 1.11 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.5938, allocations: 178.9 kB / 1.11 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.183e-05/0.5938, allocations: 0 / 1.11 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.5938, allocations: 7.984 kB / 1.11 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.059e-05/0.5939, allocations: 20 kB / 1.11 GB, free: 7.496 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.749e-05/0.594, allocations: 55.03 kB / 1.11 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.594, allocations: 0 / 1.11 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.594, allocations: 4 kB / 1.11 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.594, allocations: 0 / 1.11 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003201/0.5943, allocations: 265.3 kB / 1.111 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.326e-05/0.5944, allocations: 46.52 kB / 1.111 GB, free: 7.082 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/0.5944, allocations: 24.97 kB / 1.111 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.5945, allocations: 0 / 1.111 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.811e-05/0.5945, allocations: 63.34 kB / 1.111 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/0.5946, allocations: 3.984 kB / 1.111 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001663/0.5947, allocations: 73.58 kB / 1.111 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.5948, allocations: 51.41 kB / 1.111 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.641e-05/0.5948, allocations: 111.4 kB / 1.111 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.5949, allocations: 25.7 kB / 1.111 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.791e-05/0.5949, allocations: 96.73 kB / 1.111 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.679e-05/0.5949, allocations: 15.73 kB / 1.111 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.5949, allocations: 4 kB / 1.111 GB, free: 6.574 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.595, allocations: 314.8 kB / 1.111 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.026e-05/0.5951, allocations: 16 kB / 1.111 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.573e-05/0.5952, allocations: 58 kB / 1.111 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002464/0.5954, allocations: 51.95 kB / 1.111 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5954, allocations: 0 / 1.111 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003215/0.5957, allocations: 123 kB / 1.112 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.5958, allocations: 8.219 kB / 1.112 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.5958, allocations: 4 kB / 1.112 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.5958, allocations: 0 / 1.112 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001321/0.5959, allocations: 27.91 kB / 1.112 GB, free: 5.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.5959, allocations: 4 kB / 1.112 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.76e-05/0.596, allocations: 15.91 kB / 1.112 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.5961, allocations: 8 kB / 1.112 GB, free: 5.922 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.111e-05/0.5961, allocations: 109.8 kB / 1.112 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.218e-05/0.5961, allocations: 3.906 kB / 1.112 GB, free: 5.805 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.842e-05/0.5962, allocations: 12.38 kB / 1.112 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.5962, allocations: 0 / 1.112 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.5962, allocations: 0 / 1.112 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.5962, allocations: 0 / 1.112 GB, free: 5.789 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.5965, allocations: 320.6 kB / 1.112 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5965, allocations: 0 / 1.112 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.5965, allocations: 15.98 kB / 1.112 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.5965, allocations: 5.312 kB / 1.112 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.5966, allocations: 0 / 1.112 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5966, allocations: 0 / 1.112 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.5966, allocations: 0 / 1.112 GB, free: 5.414 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001228/0.5967, allocations: 171.4 kB / 1.112 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.122e-05/0.5967, allocations: 85 kB / 1.112 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.5968, allocations: 0 / 1.112 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.206e-05/0.5969, allocations: 11.98 kB / 1.112 GB, free: 5.117 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.5969, allocations: 8 kB / 1.112 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.5969, allocations: 4 kB / 1.112 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.483e-05/0.597, allocations: 93.12 kB / 1.112 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002273/0.5972, allocations: 19.94 kB / 1.112 GB, free: 4.996 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001322/0.5973, allocations: 107.2 kB / 1.113 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001199/0.5975, allocations: 47.92 kB / 1.113 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.5975, allocations: 0 / 1.113 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.455e-05/0.5975, allocations: 29.42 kB / 1.113 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.5977, allocations: 20.33 kB / 1.113 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002382/0.5979, allocations: 95.67 kB / 1.113 GB, free: 4.668 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002621/0.5982, allocations: 0.7036 MB / 1.113 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.5982, allocations: 0 / 1.113 GB, free: 3.938 MB / 0.7136 GB Notification: Performance of Templates: time 0.002693/0.6009, allocations: 0.9232 MB / 1.114 GB, free: 3.043 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)