Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Validation.Edge,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",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.137/2.137, 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.001586/0.001586, allocations: 185.2 kB / 360.3 MB, free: 7.488 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.622/1.622, allocations: 205.1 MB / 0.6187 GB, free: 12.43 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.001301/0.0013, allocations: 93.81 kB / 0.7317 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2438/0.2451, allocations: 121.4 MB / 0.8502 GB, free: 3.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5527/0.7978, allocations: 115.2 MB / 0.9628 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2061/1.004, allocations: 137.4 MB / 1.097 GB, free: 3.398 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/1.004, allocations: 70.44 kB / 1.097 GB, free: 3.332 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.01063/1.015, allocations: 2.191 MB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/1.015, allocations: 8.5 kB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.537e-05/1.015, allocations: 11.91 kB / 1.099 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/1.015, allocations: 169.2 kB / 1.099 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/1.015, allocations: 4 kB / 1.099 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.891e-05/1.015, allocations: 11.89 kB / 1.099 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001062/1.015, allocations: 16.89 kB / 1.099 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/1.016, allocations: 41.69 kB / 1.099 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/1.016, allocations: 3.938 kB / 1.099 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/1.016, allocations: 8 kB / 1.099 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/1.016, allocations: 0 / 1.099 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005529/1.016, allocations: 307.9 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/1.016, allocations: 43.75 kB / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.88e-05/1.016, allocations: 26.36 kB / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/1.016, allocations: 0 / 1.1 GB, free: 432 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001215/1.017, allocations: 63.34 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 4.058e-06/1.017, allocations: 0 / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0002427/1.017, allocations: 81.52 kB / 1.1 GB, free: 268 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/1.017, allocations: 56.25 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/1.017, allocations: 108.9 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/1.017, allocations: 33.69 kB / 1.1 GB, free: 44 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.134e-05/1.017, allocations: 88.14 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/1.017, allocations: 11.81 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.965e-05/1.017, allocations: 0 / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001365/1.017, allocations: 322.8 kB / 1.1 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/1.018, allocations: 32 kB / 1.101 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/1.018, allocations: 68.22 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003233/1.018, allocations: 54 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.018, allocations: 0 / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005774/1.019, allocations: 145.5 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/1.019, allocations: 12.12 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/1.019, allocations: 0 / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/1.019, allocations: 7.906 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/1.019, allocations: 15.92 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/1.019, allocations: 4 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/1.019, allocations: 51.95 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/1.019, allocations: 12 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$PRE.edge1.u,edge1.u,edge1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001214/1.02, allocations: 118.5 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/1.02, allocations: 7.906 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.472e-05/1.02, allocations: 8.375 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/1.02, allocations: 1.375 kB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/1.02, allocations: 3.906 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/1.02, allocations: 4 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000433/1.02, allocations: 311.1 kB / 1.101 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.02, allocations: 0 / 1.101 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/1.02, allocations: 15.89 kB / 1.101 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/1.02, allocations: 4 kB / 1.101 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/1.02, allocations: 0 / 1.101 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/1.02, allocations: 4.594 kB / 1.101 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.02, allocations: 1.438 kB / 1.101 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000239/1.021, allocations: 177 kB / 1.101 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003949/1.021, allocations: 0.5372 MB / 1.102 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/1.021, allocations: 85 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/1.021, allocations: 0 / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/1.021, allocations: 12 kB / 1.102 GB, free: 13.81 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/1.021, allocations: 15.08 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/1.021, allocations: 4 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.777e-05/1.021, allocations: 92.69 kB / 1.102 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001181/1.023, allocations: 20 kB / 1.102 GB, free: 13.69 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: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.000219/1.023, allocations: 123.2 kB / 1.102 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003403/1.023, allocations: 101.7 kB / 1.102 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.023, allocations: 3.938 kB / 1.102 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.477e-05/1.023, allocations: 24 kB / 1.102 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/1.024, allocations: 4 kB / 1.102 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000387/1.024, allocations: 100.2 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003819/1.024, allocations: 0.7116 MB / 1.103 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of SimCode: time 6.92e-07/1.024, allocations: 0 / 1.103 GB, free: 12.56 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)