Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") [: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.358/1.358, allocations: 289.8 MB / 297.1 MB, free: 6.719 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.000907/0.000907, allocations: 181.3 kB / 366.3 MB, free: 2.02 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.069/1.069, allocations: 205.1 MB / 0.6256 GB, free: 7.508 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.0007664/0.0007664, allocations: 88.91 kB / 0.7395 GB, free: 39.94 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.215e-06/8.245e-06, allocations: 4 kB / 0.859 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4717/0.4717, allocations: 116.3 MB / 0.9726 GB, free: 75.89 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1391/0.6109, allocations: 138.5 MB / 1.108 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.6111, allocations: 68.62 kB / 1.108 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.005624/0.6167, allocations: 1.783 MB / 1.11 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.6168, allocations: 5 kB / 1.11 GB, free: 10.08 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003929/0.6172, allocations: 405.9 kB / 1.11 GB, free: 9.633 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.6172, allocations: 8.031 kB / 1.11 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.601e-05/0.6173, allocations: 7.906 kB / 1.11 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.984e-05/0.6174, allocations: 167.8 kB / 1.11 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.37e-05/0.6174, allocations: 4 kB / 1.11 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.6174, allocations: 7.906 kB / 1.11 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.618e-05/0.6175, allocations: 20 kB / 1.11 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.599e-05/0.6176, allocations: 45.67 kB / 1.11 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.6176, allocations: 3.938 kB / 1.11 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.6176, allocations: 4 kB / 1.11 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.6176, allocations: 7.984 kB / 1.11 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.618, allocations: 305.3 kB / 1.111 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.302e-05/0.6181, allocations: 38.64 kB / 1.111 GB, free: 8.934 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.004e-05/0.6181, allocations: 25.91 kB / 1.111 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.6182, allocations: 7.938 kB / 1.111 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.57e-05/0.6182, allocations: 67.22 kB / 1.111 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.6182, allocations: 0 / 1.111 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001645/0.6184, allocations: 73.59 kB / 1.111 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.6184, allocations: 55.41 kB / 1.111 GB, free: 8.68 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.638e-05/0.6185, allocations: 110.3 kB / 1.111 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.6185, allocations: 29.7 kB / 1.111 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.102e-05/0.6186, allocations: 92.12 kB / 1.111 GB, free: 8.438 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.026e-05/0.6186, allocations: 15.81 kB / 1.111 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.6186, allocations: 1.031 kB / 1.111 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.097e-05/0.6187, allocations: 322.8 kB / 1.111 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.503e-05/0.6188, allocations: 32 kB / 1.111 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.071e-05/0.6189, allocations: 68.22 kB / 1.112 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.6191, allocations: 56.02 kB / 1.112 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6191, allocations: 0 / 1.112 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003287/0.6194, allocations: 141.5 kB / 1.112 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.6195, allocations: 8.125 kB / 1.112 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.6195, allocations: 8.516 kB / 1.112 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.6195, allocations: 3.906 kB / 1.112 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.946e-05/0.6196, allocations: 19.92 kB / 1.112 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.6196, allocations: 4.562 kB / 1.112 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.6198, allocations: 47.95 kB / 1.112 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.6199, allocations: 12 kB / 1.112 GB, free: 7.688 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 7.691e-05/0.6199, allocations: 112.9 kB / 1.112 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.62, allocations: 7.906 kB / 1.112 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.62, allocations: 12.36 kB / 1.112 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.62, allocations: 1.594 kB / 1.112 GB, free: 7.551 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.62, allocations: 3.906 kB / 1.112 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.62, allocations: 4 kB / 1.112 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.6203, allocations: 311.1 kB / 1.112 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.6203, allocations: 0 / 1.112 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.819e-05/0.6204, allocations: 19.83 kB / 1.112 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.6204, allocations: 0 / 1.112 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.6204, allocations: 4 kB / 1.112 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.6204, allocations: 0 / 1.112 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6204, allocations: 0 / 1.112 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001349/0.6205, allocations: 173 kB / 1.112 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.6206, allocations: 89 kB / 1.113 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.6206, allocations: 0 / 1.113 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.6207, allocations: 11.98 kB / 1.113 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.6208, allocations: 4 kB / 1.113 GB, free: 6.867 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.6208, allocations: 7.984 kB / 1.113 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.959e-05/0.6208, allocations: 92.27 kB / 1.113 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002381/0.6211, allocations: 24.75 kB / 1.113 GB, free: 6.746 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.0001372/0.6212, allocations: 107.2 kB / 1.113 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001902/0.6214, allocations: 105.6 kB / 1.113 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.6214, allocations: 0 / 1.113 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.092e-05/0.6215, allocations: 35.92 kB / 1.113 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.6217, allocations: 12.81 kB / 1.113 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.6219, allocations: 97.27 kB / 1.113 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.6222, allocations: 0.7036 MB / 1.114 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of SimCode: time 2.11e-07/0.6222, allocations: 0 / 1.114 GB, free: 5.629 MB / 0.7136 GB Notification: Performance of Templates: time 0.00313/0.6253, allocations: 1.285 MB / 1.115 GB, free: 4.387 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)