Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [: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.302/1.302, allocations: 285.5 MB / 292.8 MB, free: 0.6836 MB / 226.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009402/0.0009402, allocations: 182.9 kB / 361.1 MB, free: 15.27 MB / 290.8 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: 5.809 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007211/0.0007211, allocations: 88.06 kB / 0.7325 GB, free: 47.31 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.1716/0.1724, allocations: 121.5 MB / 0.8512 GB, free: 12.61 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.5831, allocations: 115.3 MB / 0.9638 GB, free: 85.55 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1294/0.7125, allocations: 137.2 MB / 1.098 GB, free: 12.18 MB / 0.7059 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001763/0.7128, allocations: 76.38 kB / 1.098 GB, free: 12.11 MB / 0.7059 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.006603/0.7194, allocations: 2.524 MB / 1.1 GB, free: 9.59 MB / 0.7059 GB Notification: Performance of prepare preOptimizeDAE: time 3.262e-05/0.7194, allocations: 8 kB / 1.1 GB, free: 9.582 MB / 0.7059 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.7195, allocations: 8.625 kB / 1.1 GB, free: 9.574 MB / 0.7059 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.7196, allocations: 174.9 kB / 1.1 GB, free: 9.363 MB / 0.7059 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.079e-05/0.7196, allocations: 0.9375 kB / 1.1 GB, free: 9.363 MB / 0.7059 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.7196, allocations: 4 kB / 1.1 GB, free: 9.359 MB / 0.7059 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.098e-05/0.7197, allocations: 25.88 kB / 1.1 GB, free: 9.336 MB / 0.7059 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.106e-05/0.7198, allocations: 46.41 kB / 1.101 GB, free: 9.285 MB / 0.7059 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.73e-06/0.7198, allocations: 0.9688 kB / 1.101 GB, free: 9.285 MB / 0.7059 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.7198, allocations: 0 / 1.101 GB, free: 9.285 MB / 0.7059 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.7198, allocations: 0 / 1.101 GB, free: 9.285 MB / 0.7059 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002978/0.7201, allocations: 283 kB / 1.101 GB, free: 8.973 MB / 0.7059 GB Notification: Performance of preOpt comSubExp (simulation): time 6.815e-05/0.7202, allocations: 39.05 kB / 1.101 GB, free: 8.926 MB / 0.7059 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.969e-05/0.7202, allocations: 17.67 kB / 1.101 GB, free: 8.906 MB / 0.7059 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.7203, allocations: 0.9375 kB / 1.101 GB, free: 8.906 MB / 0.7059 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.675e-05/0.7203, allocations: 60.34 kB / 1.101 GB, free: 8.836 MB / 0.7059 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.7203, allocations: 0 / 1.101 GB, free: 8.836 MB / 0.7059 GB Notification: Performance of matching and sorting (n=7): time 0.0001434/0.7205, allocations: 80.94 kB / 1.101 GB, free: 8.754 MB / 0.7059 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.514e-05/0.7205, allocations: 55.41 kB / 1.101 GB, free: 8.688 MB / 0.7059 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.394e-05/0.7206, allocations: 109 kB / 1.101 GB, free: 8.574 MB / 0.7059 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.7206, allocations: 29.7 kB / 1.101 GB, free: 8.539 MB / 0.7059 GB Notification: Performance of collectInitialEqns (initialization): time 3.121e-05/0.7207, allocations: 88.03 kB / 1.101 GB, free: 8.449 MB / 0.7059 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-05/0.7207, allocations: 19.75 kB / 1.101 GB, free: 8.43 MB / 0.7059 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-06/0.7207, allocations: 0 / 1.101 GB, free: 8.43 MB / 0.7059 GB Notification: Performance of setup shared object (initialization): time 7.326e-05/0.7208, allocations: 318.8 kB / 1.102 GB, free: 8.109 MB / 0.7059 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.308e-05/0.7208, allocations: 16 kB / 1.102 GB, free: 8.094 MB / 0.7059 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.285e-05/0.7209, allocations: 58.02 kB / 1.102 GB, free: 8.016 MB / 0.7059 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.7211, allocations: 57.84 kB / 1.102 GB, free: 7.961 MB / 0.7059 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.7211, allocations: 0 / 1.102 GB, free: 7.961 MB / 0.7059 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003236/0.7215, allocations: 121.4 kB / 1.102 GB, free: 7.836 MB / 0.7059 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.7215, allocations: 8 kB / 1.102 GB, free: 7.828 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.7215, allocations: 224 / 1.102 GB, free: 7.828 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.7215, allocations: 8 kB / 1.102 GB, free: 7.82 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.7216, allocations: 23.92 kB / 1.102 GB, free: 7.797 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.7217, allocations: 0 / 1.102 GB, free: 7.797 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.002e-05/0.7217, allocations: 15.89 kB / 1.102 GB, free: 7.781 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.7218, allocations: 4 kB / 1.102 GB, free: 7.777 MB / 0.7059 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.119e-05/0.7218, allocations: 122.3 kB / 1.102 GB, free: 7.652 MB / 0.7059 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.051e-05/0.7219, allocations: 7.906 kB / 1.102 GB, free: 7.645 MB / 0.7059 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.7219, allocations: 8.359 kB / 1.102 GB, free: 7.641 MB / 0.7059 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.7219, allocations: 1.125 kB / 1.102 GB, free: 7.641 MB / 0.7059 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.7219, allocations: 4 kB / 1.102 GB, free: 7.637 MB / 0.7059 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.7219, allocations: 0 / 1.102 GB, free: 7.637 MB / 0.7059 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.7222, allocations: 311 kB / 1.102 GB, free: 7.289 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.7222, allocations: 4 kB / 1.102 GB, free: 7.285 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.733e-05/0.7223, allocations: 15.92 kB / 1.102 GB, free: 7.27 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.7223, allocations: 3.906 kB / 1.102 GB, free: 7.266 MB / 0.7059 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.7223, allocations: 0 / 1.102 GB, free: 7.266 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.7223, allocations: 8.5 kB / 1.102 GB, free: 7.262 MB / 0.7059 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.7223, allocations: 0 / 1.102 GB, free: 7.262 MB / 0.7059 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001294/0.7224, allocations: 163.5 kB / 1.103 GB, free: 7.086 MB / 0.7059 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002218/0.7227, allocations: 0.5387 MB / 1.103 GB, free: 6.531 MB / 0.7059 GB Notification: Performance of postOpt removeConstants (simulation): time 4.055e-05/0.7227, allocations: 84.95 kB / 1.103 GB, free: 6.43 MB / 0.7059 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.7227, allocations: 0 / 1.103 GB, free: 6.43 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.442e-05/0.7228, allocations: 15.98 kB / 1.103 GB, free: 6.414 MB / 0.7059 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.7229, allocations: 8 kB / 1.103 GB, free: 6.406 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.7229, allocations: 3.906 kB / 1.103 GB, free: 6.402 MB / 0.7059 GB Notification: Performance of sort global known variables: time 3.885e-05/0.7229, allocations: 94.33 kB / 1.103 GB, free: 6.312 MB / 0.7059 GB Notification: Performance of remove unused functions: time 0.0007709/0.7237, allocations: 23.94 kB / 1.103 GB, free: 6.289 MB / 0.7059 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.0001428/0.7238, allocations: 115.2 kB / 1.103 GB, free: 6.164 MB / 0.7059 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.724, allocations: 48.31 kB / 1.103 GB, free: 6.117 MB / 0.7059 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.724, allocations: 4.062 kB / 1.103 GB, free: 6.113 MB / 0.7059 GB Notification: Performance of simCode: created simulation system equations: time 4.279e-05/0.724, allocations: 23.94 kB / 1.103 GB, free: 6.09 MB / 0.7059 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001793/0.7242, allocations: 7.984 kB / 1.103 GB, free: 6.082 MB / 0.7059 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002551/0.7245, allocations: 96.48 kB / 1.104 GB, free: 5.961 MB / 0.7059 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002735/0.7248, allocations: 0.7114 MB / 1.104 GB, free: 5.223 MB / 0.7059 GB Notification: Performance of SimCode: time 2.4e-07/0.7248, allocations: 4 kB / 1.104 GB, free: 5.219 MB / 0.7059 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)