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.SampleTrigger.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.SampleTrigger,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",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.174/2.174, allocations: 284.8 MB / 292.1 MB, free: 1.145 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.001606/0.001605, allocations: 188.1 kB / 360.3 MB, free: 15.54 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.631/1.631, allocations: 205.1 MB / 0.6187 GB, free: 6.367 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.001174/0.001174, allocations: 94.75 kB / 0.7317 GB, free: 47.12 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.2422/0.2434, allocations: 121.4 MB / 0.8502 GB, free: 13.32 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5742/0.8176, allocations: 115.2 MB / 0.9628 GB, free: 86.19 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.203/1.021, allocations: 137 MB / 1.097 GB, free: 13.1 MB / 0.7059 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/1.021, allocations: 72.89 kB / 1.097 GB, free: 13.03 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.01157/1.033, allocations: 2.513 MB / 1.099 GB, free: 10.52 MB / 0.7059 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/1.033, allocations: 12.44 kB / 1.099 GB, free: 10.51 MB / 0.7059 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.562e-05/1.033, allocations: 11.89 kB / 1.099 GB, free: 10.5 MB / 0.7059 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/1.033, allocations: 178.2 kB / 1.099 GB, free: 10.29 MB / 0.7059 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/1.033, allocations: 4 kB / 1.099 GB, free: 10.29 MB / 0.7059 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/1.033, allocations: 0 / 1.099 GB, free: 10.29 MB / 0.7059 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001141/1.033, allocations: 23.69 kB / 1.099 GB, free: 10.27 MB / 0.7059 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/1.033, allocations: 52.16 kB / 1.099 GB, free: 10.21 MB / 0.7059 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/1.033, allocations: 0 / 1.099 GB, free: 10.21 MB / 0.7059 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/1.033, allocations: 0 / 1.099 GB, free: 10.21 MB / 0.7059 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/1.033, allocations: 4 kB / 1.099 GB, free: 10.21 MB / 0.7059 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005048/1.034, allocations: 271.1 kB / 1.1 GB, free: 9.906 MB / 0.7059 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/1.034, allocations: 39.48 kB / 1.1 GB, free: 9.859 MB / 0.7059 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.272e-05/1.034, allocations: 16.98 kB / 1.1 GB, free: 9.84 MB / 0.7059 GB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/1.034, allocations: 4.75 kB / 1.1 GB, free: 9.836 MB / 0.7059 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/1.034, allocations: 60.34 kB / 1.1 GB, free: 9.766 MB / 0.7059 GB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/1.034, allocations: 4.469 kB / 1.1 GB, free: 9.762 MB / 0.7059 GB Notification: Performance of matching and sorting (n=7): time 0.0002349/1.034, allocations: 70.12 kB / 1.1 GB, free: 9.688 MB / 0.7059 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/1.034, allocations: 60.11 kB / 1.1 GB, free: 9.617 MB / 0.7059 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/1.035, allocations: 116.4 kB / 1.1 GB, free: 9.504 MB / 0.7059 GB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/1.035, allocations: 25.7 kB / 1.1 GB, free: 9.473 MB / 0.7059 GB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/1.035, allocations: 88.53 kB / 1.1 GB, free: 9.383 MB / 0.7059 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/1.035, allocations: 20.66 kB / 1.1 GB, free: 9.363 MB / 0.7059 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.727e-06/1.035, allocations: 0 / 1.1 GB, free: 9.363 MB / 0.7059 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.035, allocations: 323.6 kB / 1.1 GB, free: 9.039 MB / 0.7059 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.101e-05/1.035, allocations: 16 kB / 1.1 GB, free: 9.023 MB / 0.7059 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/1.035, allocations: 57.95 kB / 1.1 GB, free: 8.945 MB / 0.7059 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/1.035, allocations: 51.94 kB / 1.101 GB, free: 8.895 MB / 0.7059 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.036, allocations: 0 / 1.101 GB, free: 8.895 MB / 0.7059 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006033/1.036, allocations: 125.6 kB / 1.101 GB, free: 8.766 MB / 0.7059 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/1.036, allocations: 8.031 kB / 1.101 GB, free: 8.758 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/1.036, allocations: 0.9375 kB / 1.101 GB, free: 8.758 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/1.036, allocations: 7.984 kB / 1.101 GB, free: 8.75 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/1.036, allocations: 19.98 kB / 1.101 GB, free: 8.73 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/1.036, allocations: 3.938 kB / 1.101 GB, free: 8.727 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/1.037, allocations: 19.89 kB / 1.101 GB, free: 8.707 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/1.037, allocations: 8 kB / 1.101 GB, free: 8.699 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 9.731e-05/1.037, allocations: 106.7 kB / 1.101 GB, free: 8.59 MB / 0.7059 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/1.037, allocations: 7.906 kB / 1.101 GB, free: 8.582 MB / 0.7059 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/1.037, allocations: 4.375 kB / 1.101 GB, free: 8.582 MB / 0.7059 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/1.037, allocations: 4 kB / 1.101 GB, free: 8.578 MB / 0.7059 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/1.037, allocations: 5.859 kB / 1.101 GB, free: 8.574 MB / 0.7059 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/1.037, allocations: 0 / 1.101 GB, free: 8.574 MB / 0.7059 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004197/1.037, allocations: 319 kB / 1.101 GB, free: 8.219 MB / 0.7059 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/1.037, allocations: 3.938 kB / 1.101 GB, free: 8.215 MB / 0.7059 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/1.037, allocations: 8 kB / 1.101 GB, free: 8.207 MB / 0.7059 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/1.037, allocations: 3.906 kB / 1.101 GB, free: 8.203 MB / 0.7059 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/1.037, allocations: 7.984 kB / 1.101 GB, free: 8.195 MB / 0.7059 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/1.037, allocations: 0 / 1.101 GB, free: 8.195 MB / 0.7059 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.038, allocations: 0 / 1.101 GB, free: 8.195 MB / 0.7059 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002057/1.038, allocations: 167.4 kB / 1.101 GB, free: 8.016 MB / 0.7059 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003494/1.038, allocations: 0.5307 MB / 1.102 GB, free: 7.469 MB / 0.7059 GB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/1.038, allocations: 85 kB / 1.102 GB, free: 7.367 MB / 0.7059 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/1.038, allocations: 5.938 kB / 1.102 GB, free: 7.363 MB / 0.7059 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/1.038, allocations: 12 kB / 1.102 GB, free: 7.352 MB / 0.7059 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/1.038, allocations: 7.984 kB / 1.102 GB, free: 7.344 MB / 0.7059 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/1.038, allocations: 3.906 kB / 1.102 GB, free: 7.34 MB / 0.7059 GB Notification: Performance of sort global known variables: time 6.519e-05/1.039, allocations: 95.27 kB / 1.102 GB, free: 7.246 MB / 0.7059 GB Notification: Performance of remove unused functions: time 0.001153/1.04, allocations: 19.94 kB / 1.102 GB, free: 7.227 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.0002134/1.04, allocations: 111.2 kB / 1.102 GB, free: 7.105 MB / 0.7059 GB Notification: Performance of simCode: created initialization part: time 0.0001844/1.04, allocations: 51.86 kB / 1.102 GB, free: 7.055 MB / 0.7059 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.04, allocations: 1.781 kB / 1.102 GB, free: 7.055 MB / 0.7059 GB Notification: Performance of simCode: created simulation system equations: time 7.554e-05/1.04, allocations: 24 kB / 1.102 GB, free: 7.031 MB / 0.7059 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/1.04, allocations: 8 kB / 1.102 GB, free: 7.023 MB / 0.7059 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003838/1.041, allocations: 104.5 kB / 1.102 GB, free: 6.895 MB / 0.7059 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003745/1.041, allocations: 0.7103 MB / 1.103 GB, free: 6.164 MB / 0.7059 GB Notification: Performance of SimCode: time 6.61e-07/1.041, allocations: 0 / 1.103 GB, free: 6.164 MB / 0.7059 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1)