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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.371/1.371, allocations: 289.8 MB / 297.1 MB, free: 6.648 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.0009752/0.0009749, allocations: 177.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.059/1.059, 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.0007996/0.0007996, allocations: 79.22 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1891/0.1899, allocations: 122.5 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4433/0.6332, allocations: 116.3 MB / 0.9727 GB, free: 68.02 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1433/0.7765, allocations: 138.2 MB / 1.108 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.7768, allocations: 75.89 kB / 1.108 GB, free: 10.23 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.006739/0.7835, allocations: 2.523 MB / 1.11 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.7836, allocations: 8 kB / 1.11 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.523e-05/0.7836, allocations: 7.906 kB / 1.11 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.7837, allocations: 170.9 kB / 1.11 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.7837, allocations: 0 / 1.11 GB, free: 7.461 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.7838, allocations: 4.656 kB / 1.11 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.671e-05/0.7839, allocations: 23.98 kB / 1.11 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.004e-05/0.7839, allocations: 53.62 kB / 1.11 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-06/0.784, allocations: 4.656 kB / 1.11 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.784, allocations: 0 / 1.11 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.784, allocations: 3.984 kB / 1.11 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003241/0.7843, allocations: 265.3 kB / 1.111 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.909e-05/0.7844, allocations: 38.48 kB / 1.111 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.7844, allocations: 21.08 kB / 1.111 GB, free: 7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.7845, allocations: 7.938 kB / 1.111 GB, free: 6.992 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.424e-05/0.7845, allocations: 66.06 kB / 1.111 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.605e-06/0.7846, allocations: 0 / 1.111 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001537/0.7847, allocations: 73.52 kB / 1.111 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.7848, allocations: 51.41 kB / 1.111 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.296e-05/0.7848, allocations: 111.3 kB / 1.111 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.7849, allocations: 29.7 kB / 1.111 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.7849, allocations: 92.7 kB / 1.111 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.7849, allocations: 15.75 kB / 1.111 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-06/0.785, allocations: 0 / 1.111 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.7851, allocations: 318.8 kB / 1.111 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.661e-05/0.7851, allocations: 16 kB / 1.111 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.867e-05/0.7852, allocations: 61.94 kB / 1.112 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.7855, allocations: 47.95 kB / 1.112 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7855, allocations: 0.6562 kB / 1.112 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003349/0.7858, allocations: 125.4 kB / 1.112 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.7858, allocations: 4 kB / 1.112 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.7858, allocations: 4 kB / 1.112 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.7859, allocations: 4 kB / 1.112 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.786, allocations: 20.2 kB / 1.112 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.342e-05/0.786, allocations: 11.92 kB / 1.112 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.7861, allocations: 17.03 kB / 1.112 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.7861, allocations: 4 kB / 1.112 GB, free: 5.863 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.109e-05/0.7862, allocations: 109 kB / 1.112 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.7862, allocations: 11.91 kB / 1.112 GB, free: 5.738 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.7863, allocations: 8.375 kB / 1.112 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.7863, allocations: 0 / 1.112 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.7863, allocations: 0 / 1.112 GB, free: 5.727 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.7863, allocations: 4 kB / 1.112 GB, free: 5.723 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.7865, allocations: 311 kB / 1.112 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.7866, allocations: 0 / 1.112 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.834e-05/0.7866, allocations: 19.92 kB / 1.112 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.7866, allocations: 3.906 kB / 1.112 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.7867, allocations: 4.938 kB / 1.112 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.7867, allocations: 0 / 1.112 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7867, allocations: 0 / 1.112 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001299/0.7868, allocations: 170.7 kB / 1.112 GB, free: 5.168 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002352/0.787, allocations: 0.5428 MB / 1.113 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.073e-05/0.7871, allocations: 81.02 kB / 1.113 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.7871, allocations: 0 / 1.113 GB, free: 4.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-05/0.7872, allocations: 11.98 kB / 1.113 GB, free: 4.496 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.772e-05/0.7872, allocations: 4 kB / 1.113 GB, free: 4.492 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/0.7873, allocations: 7.891 kB / 1.113 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.467e-05/0.7873, allocations: 91.94 kB / 1.113 GB, free: 4.395 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008274/0.7881, allocations: 23.94 kB / 1.113 GB, free: 4.371 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.0001308/0.7883, allocations: 117.9 kB / 1.113 GB, free: 4.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.7884, allocations: 47.94 kB / 1.113 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.7884, allocations: 0 / 1.113 GB, free: 4.203 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.02e-05/0.7885, allocations: 16 kB / 1.113 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001853/0.7887, allocations: 19.7 kB / 1.113 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002525/0.7889, allocations: 95.67 kB / 1.113 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/0.7892, allocations: 0.7075 MB / 1.114 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of SimCode: time 2.9e-07/0.7892, allocations: 0 / 1.114 GB, free: 3.316 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)