Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.147/2.147, allocations: 284.8 MB / 292.1 MB, free: 10.72 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.001573/0.001572, allocations: 177.3 kB / 360.3 MB, free: 7.5 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.649/1.649, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.00117/0.001169, allocations: 89.42 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2462/0.2474, allocations: 121.4 MB / 0.8502 GB, free: 3.895 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.561/0.8084, allocations: 115.2 MB / 0.9628 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2061/1.015, allocations: 137 MB / 1.097 GB, free: 3.816 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/1.015, allocations: 68.52 kB / 1.097 GB, free: 3.75 MB / 0.698 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.01166/1.027, allocations: 2.526 MB / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/1.027, allocations: 10.84 kB / 1.099 GB, free: 1.234 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.866e-05/1.027, allocations: 7.906 kB / 1.099 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/1.027, allocations: 178.2 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/1.027, allocations: 0 / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.787e-05/1.027, allocations: 8 kB / 1.099 GB, free: 1.008 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001035/1.027, allocations: 16 kB / 1.099 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/1.027, allocations: 55.39 kB / 1.099 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/1.027, allocations: 0.5 kB / 1.099 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/1.027, allocations: 1.094 kB / 1.099 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/1.027, allocations: 0 / 1.099 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004583/1.028, allocations: 275.6 kB / 1.1 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/1.028, allocations: 43.61 kB / 1.1 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/1.028, allocations: 19.52 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/1.028, allocations: 0 / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/1.028, allocations: 68.48 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 3.747e-06/1.028, allocations: 0.6875 kB / 1.1 GB, free: 492 kB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0002482/1.028, allocations: 70.38 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/1.028, allocations: 51.97 kB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/1.029, allocations: 110.8 kB / 1.1 GB, free: 236 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/1.029, allocations: 25.7 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.843e-05/1.029, allocations: 92.05 kB / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/1.029, allocations: 16.5 kB / 1.1 GB, free: 92 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.987e-06/1.029, allocations: 0 / 1.1 GB, free: 92 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.029, allocations: 319.4 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.409e-05/1.029, allocations: 16.69 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/1.029, allocations: 69.86 kB / 1.1 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004372/1.03, allocations: 47.05 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.03, allocations: 0 / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005666/1.03, allocations: 125.9 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/1.03, allocations: 4 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/1.03, allocations: 4 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/1.03, allocations: 0.5625 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/1.03, allocations: 28.2 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/1.03, allocations: 9.625 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001612/1.031, allocations: 11.91 kB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.936e-05/1.031, allocations: 4 kB / 1.101 GB, free: 15.44 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 0.0001075/1.031, allocations: 117.9 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/1.031, allocations: 8.516 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.102e-05/1.031, allocations: 12.38 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/1.031, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.031, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/1.031, allocations: 0 / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004318/1.031, allocations: 311 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/1.031, allocations: 6.297 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/1.032, allocations: 19.92 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.684e-06/1.032, allocations: 3.906 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/1.032, allocations: 0 / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.032, allocations: 0.5625 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/1.032, allocations: 0 / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002082/1.032, allocations: 167.4 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003469/1.032, allocations: 0.5447 MB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/1.032, allocations: 81.02 kB / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/1.032, allocations: 0 / 1.102 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/1.032, allocations: 15.73 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/1.033, allocations: 4 kB / 1.102 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/1.033, allocations: 7.891 kB / 1.102 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.127e-05/1.033, allocations: 93.69 kB / 1.102 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001176/1.034, allocations: 27.94 kB / 1.102 GB, free: 13.95 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.0002095/1.034, allocations: 107.2 kB / 1.102 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002046/1.034, allocations: 43.94 kB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.034, allocations: 0 / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.046e-05/1.034, allocations: 27.92 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002867/1.035, allocations: 20.42 kB / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/1.035, allocations: 96.48 kB / 1.102 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004269/1.036, allocations: 0.7075 MB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of SimCode: time 8.11e-07/1.036, allocations: 0 / 1.103 GB, free: 12.88 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)