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.SampleTriggerPositiveStartTime.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.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.208/2.208, allocations: 284.8 MB / 292.1 MB, free: 9.777 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.001581/0.001581, allocations: 177.3 kB / 360.3 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 205.1 MB / 0.6187 GB, free: 3.211 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001257/0.001257, allocations: 88.77 kB / 0.7317 GB, free: 1.691 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4833/0.4846, allocations: 121.4 MB / 0.8502 GB, free: 150.3 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.6771, allocations: 115.3 MB / 0.9628 GB, free: 56.93 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5728/1.25, allocations: 137 MB / 1.097 GB, free: 44.42 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/1.25, allocations: 77.36 kB / 1.097 GB, free: 44.42 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.01021/1.261, allocations: 2.512 MB / 1.099 GB, free: 43.97 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/1.261, allocations: 11.62 kB / 1.099 GB, free: 43.97 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/1.261, allocations: 12.28 kB / 1.099 GB, free: 43.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.943e-05/1.261, allocations: 174.7 kB / 1.099 GB, free: 43.76 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/1.261, allocations: 0 / 1.099 GB, free: 43.76 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/1.261, allocations: 3.875 kB / 1.099 GB, free: 43.76 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001001/1.261, allocations: 18.44 kB / 1.099 GB, free: 43.76 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/1.261, allocations: 47.08 kB / 1.099 GB, free: 43.73 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/1.261, allocations: 3.938 kB / 1.099 GB, free: 43.72 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/1.261, allocations: 4 kB / 1.099 GB, free: 43.72 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/1.261, allocations: 0 / 1.099 GB, free: 43.72 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003653/1.261, allocations: 270.1 kB / 1.1 GB, free: 43.48 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.69e-05/1.262, allocations: 46.8 kB / 1.1 GB, free: 43.46 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.63e-05/1.262, allocations: 15.98 kB / 1.1 GB, free: 43.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.655e-05/1.262, allocations: 7.906 kB / 1.1 GB, free: 43.44 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.141e-05/1.262, allocations: 65.08 kB / 1.1 GB, free: 43.39 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/1.262, allocations: 0 / 1.1 GB, free: 43.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002017/1.262, allocations: 66.94 kB / 1.1 GB, free: 43.36 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/1.262, allocations: 57.41 kB / 1.1 GB, free: 43.29 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.047e-05/1.262, allocations: 110.2 kB / 1.1 GB, free: 43.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/1.262, allocations: 25.7 kB / 1.1 GB, free: 43.17 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.279e-05/1.262, allocations: 94.75 kB / 1.1 GB, free: 43.08 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/1.262, allocations: 18.62 kB / 1.1 GB, free: 43.07 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-06/1.262, allocations: 0 / 1.1 GB, free: 43.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 5.695e-05/1.262, allocations: 321.1 kB / 1.1 GB, free: 42.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.633e-05/1.262, allocations: 14.12 kB / 1.1 GB, free: 42.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.669e-05/1.262, allocations: 55.55 kB / 1.1 GB, free: 42.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004076/1.263, allocations: 56.83 kB / 1.101 GB, free: 42.69 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.263, allocations: 0 / 1.101 GB, free: 42.69 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005096/1.263, allocations: 123 kB / 1.101 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/1.263, allocations: 3.75 kB / 1.101 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/1.263, allocations: 3.594 kB / 1.101 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/1.263, allocations: 0 / 1.101 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002057/1.264, allocations: 26.55 kB / 1.101 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/1.264, allocations: 9.891 kB / 1.101 GB, free: 42.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/1.264, allocations: 14.41 kB / 1.101 GB, free: 42.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/1.264, allocations: 3.875 kB / 1.101 GB, free: 42.63 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.364e-05/1.264, allocations: 108.7 kB / 1.101 GB, free: 42.53 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/1.264, allocations: 7.75 kB / 1.101 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/1.264, allocations: 14.98 kB / 1.101 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/1.264, allocations: 3.844 kB / 1.101 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.264, allocations: 0 / 1.101 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/1.264, allocations: 0 / 1.101 GB, free: 42.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/1.264, allocations: 310.8 kB / 1.101 GB, free: 42.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/1.264, allocations: 3.625 kB / 1.101 GB, free: 42.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/1.265, allocations: 15.17 kB / 1.101 GB, free: 42.24 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/1.265, allocations: 3.938 kB / 1.101 GB, free: 42.24 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/1.265, allocations: 3.906 kB / 1.101 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/1.265, allocations: 80 / 1.101 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.265, allocations: 11.58 kB / 1.101 GB, free: 42.23 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001512/1.265, allocations: 166 kB / 1.101 GB, free: 42.09 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002579/1.265, allocations: 0.5313 MB / 1.102 GB, free: 57.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.698e-05/1.265, allocations: 84.89 kB / 1.102 GB, free: 57.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/1.265, allocations: 3.844 kB / 1.102 GB, free: 57.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/1.265, allocations: 14 kB / 1.102 GB, free: 57.48 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/1.265, allocations: 7.672 kB / 1.102 GB, free: 57.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/1.265, allocations: 0 / 1.102 GB, free: 57.48 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.845e-05/1.265, allocations: 95.91 kB / 1.102 GB, free: 57.41 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001241/1.267, allocations: 27.19 kB / 1.102 GB, free: 57.39 MB / 0.7292 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.00018/1.267, allocations: 107 kB / 1.102 GB, free: 57.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001687/1.267, allocations: 49.48 kB / 1.102 GB, free: 57.3 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.267, allocations: 3.938 kB / 1.102 GB, free: 57.3 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.36e-05/1.267, allocations: 20.19 kB / 1.102 GB, free: 57.3 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/1.267, allocations: 17.02 kB / 1.102 GB, free: 57.29 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003392/1.268, allocations: 101.2 kB / 1.102 GB, free: 57.21 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/1.268, allocations: 0.7052 MB / 1.103 GB, free: 56.51 MB / 0.7292 GB Notification: Performance of SimCode: time 7.71e-07/1.268, allocations: 0 / 1.103 GB, free: 56.51 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime_fmu --startTime=1 --stopTime=6 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)