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.SampleTriggerPositiveStartTime.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.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",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.307/1.307, allocations: 285.5 MB / 292.8 MB, free: 10.49 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.0009182/0.0009182, allocations: 185.2 kB / 361.1 MB, free: 7.109 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.01/1.01, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007163/0.0007162, allocations: 87.98 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1701/0.1708, allocations: 121.5 MB / 0.8512 GB, free: 2.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.5691, allocations: 115.3 MB / 0.9638 GB, free: 78.35 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.6974, allocations: 137.2 MB / 1.098 GB, free: 2.895 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001699/0.6976, allocations: 76.41 kB / 1.098 GB, free: 2.82 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.006681/0.7043, allocations: 2.524 MB / 1.1 GB, free: 324 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.7043, allocations: 8.5 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.7044, allocations: 11.91 kB / 1.1 GB, free: 304 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.7045, allocations: 176.9 kB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.7045, allocations: 1.125 kB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.7045, allocations: 5.672 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.039e-05/0.7046, allocations: 16 kB / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.774e-05/0.7047, allocations: 49.69 kB / 1.101 GB, free: 12 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.61e-06/0.7047, allocations: 0.8438 kB / 1.101 GB, free: 12 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.7047, allocations: 0 / 1.101 GB, free: 12 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.7047, allocations: 5.344 kB / 1.101 GB, free: 8 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.7051, allocations: 281.5 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.925e-05/0.7051, allocations: 42.33 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.161e-05/0.7052, allocations: 16.98 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.7052, allocations: 4 kB / 1.101 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.643e-05/0.7053, allocations: 63.05 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.7053, allocations: 0 / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001546/0.7054, allocations: 66.16 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.7055, allocations: 60.22 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.798e-05/0.7056, allocations: 109.6 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.7056, allocations: 25.7 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.314e-05/0.7056, allocations: 92.75 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.7056, allocations: 23.73 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-06/0.7056, allocations: 0.6875 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.684e-05/0.7057, allocations: 319.4 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-05/0.7058, allocations: 16.72 kB / 1.102 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.803e-05/0.7058, allocations: 55.92 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.7061, allocations: 50.72 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.7061, allocations: 1.156 kB / 1.102 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003337/0.7064, allocations: 127.8 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.7065, allocations: 8 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.7065, allocations: 0.7031 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.7065, allocations: 4.594 kB / 1.102 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.7066, allocations: 24.2 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.7066, allocations: 0 / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.156e-05/0.7067, allocations: 15.89 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.7068, allocations: 4 kB / 1.102 GB, free: 14.52 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 5.829e-05/0.7068, allocations: 112.9 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.7068, allocations: 7.906 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.757e-05/0.7069, allocations: 14.56 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.7069, allocations: 4 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.7069, allocations: 0 / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.7069, allocations: 0 / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.7071, allocations: 307 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7071, allocations: 0 / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.019e-05/0.7072, allocations: 19.98 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.7072, allocations: 7.844 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.7072, allocations: 5.828 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.7072, allocations: 0 / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.7073, allocations: 0 / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001281/0.7074, allocations: 167.1 kB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002089/0.7076, allocations: 0.535 MB / 1.103 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.267e-05/0.7076, allocations: 85 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.7077, allocations: 4 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.449e-05/0.7078, allocations: 4 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.706e-05/0.7078, allocations: 11.98 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.7078, allocations: 3.906 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-05/0.7079, allocations: 98.11 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00078/0.7087, allocations: 23.94 kB / 1.103 GB, free: 13.03 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.0001376/0.7088, allocations: 117 kB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001083/0.7089, allocations: 51.92 kB / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-06/0.7089, allocations: 0 / 1.103 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.366e-05/0.709, allocations: 20.38 kB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.7092, allocations: 20.8 kB / 1.103 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00024/0.7094, allocations: 98.67 kB / 1.104 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.7096, allocations: 0.7034 MB / 1.104 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.7097, allocations: 0 / 1.104 GB, free: 11.97 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime_fmu --startTime=1 --stopTime=6 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)