Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Validation.Edge,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.307/1.307, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0009387/0.0009387, allocations: 189.3 kB / 361.1 MB, free: 7.113 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9902/0.9902, 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.0007277/0.0007277, allocations: 89.5 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1787/0.1795, allocations: 121.5 MB / 0.8512 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4055/0.585, allocations: 115.3 MB / 0.9638 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1318/0.7168, allocations: 137.6 MB / 1.098 GB, free: 2.438 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.7171, allocations: 68.66 kB / 1.098 GB, free: 2.371 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.006111/0.7232, allocations: 2.182 MB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.7233, allocations: 12.5 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.7233, allocations: 9.406 kB / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.7234, allocations: 172 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.7234, allocations: 0.6562 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.7235, allocations: 11.91 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.554e-05/0.7235, allocations: 16 kB / 1.101 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.422e-05/0.7236, allocations: 58.41 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-06/0.7236, allocations: 0 / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.7236, allocations: 0 / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.7237, allocations: 0 / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.724, allocations: 311.8 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.764e-05/0.7241, allocations: 43.2 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.7242, allocations: 16.98 kB / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.7242, allocations: 0 / 1.101 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.726e-05/0.7243, allocations: 67.39 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.7243, allocations: 0 / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001672/0.7245, allocations: 82.3 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/0.7245, allocations: 59.34 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.189e-05/0.7246, allocations: 115.1 kB / 1.101 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.7246, allocations: 29.7 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.858e-05/0.7246, allocations: 88.12 kB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.722e-05/0.7247, allocations: 11.81 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.233e-05/0.7247, allocations: 4 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.525e-05/0.7248, allocations: 318.8 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.454e-05/0.7248, allocations: 36 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.685e-05/0.7249, allocations: 68.28 kB / 1.102 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.7251, allocations: 46.31 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7252, allocations: 0 / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003459/0.7255, allocations: 153.4 kB / 1.102 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.7255, allocations: 4 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.7255, allocations: 0 / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.7256, allocations: 7.906 kB / 1.102 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.683e-05/0.7257, allocations: 15.98 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.7257, allocations: 1.594 kB / 1.102 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002165/0.7259, allocations: 56.08 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.059e-05/0.7259, allocations: 8 kB / 1.102 GB, free: 14.27 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 8.369e-05/0.726, allocations: 112.9 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.726, allocations: 7.906 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.7261, allocations: 17.06 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.7261, allocations: 0 / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.7261, allocations: 7.906 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.7261, allocations: 0 / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.7264, allocations: 305 kB / 1.102 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7264, allocations: 7.938 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.253e-05/0.7265, allocations: 15.89 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.7265, allocations: 0 / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.7265, allocations: 4.516 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.7265, allocations: 0 / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.7265, allocations: 3.938 kB / 1.103 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000139/0.7267, allocations: 171.4 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002476/0.7269, allocations: 0.5468 MB / 1.103 GB, free: 13 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.266e-05/0.727, allocations: 85.02 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.727, allocations: 0 / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.764e-05/0.7271, allocations: 11.98 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.7271, allocations: 8.406 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.7272, allocations: 10.38 kB / 1.103 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-05/0.7272, allocations: 87.28 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008129/0.728, allocations: 27.98 kB / 1.103 GB, free: 12.76 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.0001501/0.7282, allocations: 107 kB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001912/0.7284, allocations: 105.6 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.7284, allocations: 4 kB / 1.104 GB, free: 12.53 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.939e-05/0.7284, allocations: 24 kB / 1.104 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.7286, allocations: 18.84 kB / 1.104 GB, free: 12.49 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002513/0.7289, allocations: 105.6 kB / 1.104 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002463/0.7292, allocations: 0.6997 MB / 1.104 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/0.7292, allocations: 0 / 1.104 GB, free: 11.64 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)