Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.715/2.715, allocations: 253.1 MB / 260.4 MB, free: 7.461 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001652/0.001652, allocations: 181.2 kB / 319.6 MB, free: 3.34 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.4 MB / 0.5704 GB, free: 15.07 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001268/0.001267, allocations: 93.81 kB / 0.6746 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.235e-05/1.25e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2235, allocations: 106.3 MB / 0.8881 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6833/0.9069, allocations: 131.8 MB / 1.017 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/0.9072, allocations: 77.31 kB / 1.017 GB, free: 6.516 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003892/0.9112, allocations: 0.6578 MB / 1.018 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.11e-05/0.9112, allocations: 3.438 kB / 1.018 GB, free: 5.953 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006522/0.9119, allocations: 378 kB / 1.018 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.9119, allocations: 8.031 kB / 1.018 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.015e-05/0.912, allocations: 7.906 kB / 1.018 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.9122, allocations: 171 kB / 1.018 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.9123, allocations: 0 / 1.018 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.9123, allocations: 7.984 kB / 1.018 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001118/0.9124, allocations: 18.75 kB / 1.018 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.9126, allocations: 52.3 kB / 1.018 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.9126, allocations: 0 / 1.018 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.9126, allocations: 0 / 1.018 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.9126, allocations: 3.938 kB / 1.018 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005749/0.9132, allocations: 282.4 kB / 1.018 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.9134, allocations: 45.88 kB / 1.018 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.9135, allocations: 19.17 kB / 1.018 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.9135, allocations: 4 kB / 1.018 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001253/0.9137, allocations: 64.5 kB / 1.019 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.9137, allocations: 6.625 kB / 1.019 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002208/0.9139, allocations: 63.34 kB / 1.019 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/0.914, allocations: 51.41 kB / 1.019 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.9141, allocations: 112.9 kB / 1.019 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.9141, allocations: 26.08 kB / 1.019 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.9142, allocations: 87.7 kB / 1.019 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.9143, allocations: 19.86 kB / 1.019 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-06/0.9143, allocations: 0 / 1.019 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.9144, allocations: 317.7 kB / 1.019 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.65e-05/0.9145, allocations: 14.69 kB / 1.019 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.124e-05/0.9146, allocations: 50.48 kB / 1.019 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.387e-05/0.9146, allocations: 11.88 kB / 1.019 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9147, allocations: 0 / 1.019 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002046/0.9149, allocations: 80.28 kB / 1.019 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.9149, allocations: 4 kB / 1.019 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.9149, allocations: 0 / 1.019 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.9149, allocations: 8 kB / 1.019 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.9151, allocations: 22.73 kB / 1.019 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.9152, allocations: 0 / 1.019 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.9154, allocations: 19.98 kB / 1.019 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.9154, allocations: 4 kB / 1.019 GB, free: 3.926 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.edge1.u,edge1.u,edge1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.000103/0.9155, allocations: 112.9 kB / 1.019 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.9155, allocations: 7.906 kB / 1.02 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.681e-05/0.9156, allocations: 11.31 kB / 1.02 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.9156, allocations: 0 / 1.02 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.9156, allocations: 0 / 1.02 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.9156, allocations: 0 / 1.02 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004447/0.9161, allocations: 310.6 kB / 1.02 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.9161, allocations: 0 / 1.02 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.9162, allocations: 15.8 kB / 1.02 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.9162, allocations: 0 / 1.02 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.9163, allocations: 7.344 kB / 1.02 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.9163, allocations: 0 / 1.02 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.9163, allocations: 4 kB / 1.02 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002147/0.9165, allocations: 165.7 kB / 1.02 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.827e-05/0.9166, allocations: 81.02 kB / 1.02 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.055e-05/0.9166, allocations: 3.984 kB / 1.02 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.9168, allocations: 15.98 kB / 1.02 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.9169, allocations: 11.98 kB / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.303e-05/0.9169, allocations: 4 kB / 1.02 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.316e-05/0.917, allocations: 90.97 kB / 1.02 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003256/0.9174, allocations: 19.88 kB / 1.02 GB, free: 3.039 MB / 0.6355 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 (edge1.y,$whenCondition2,$whenCondition1,booPul.pulseStart,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * 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.0001571/0.9175, allocations: 99.23 kB / 1.02 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000175/0.9177, allocations: 37.5 kB / 1.02 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.9177, allocations: 192 / 1.02 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.29e-05/0.9178, allocations: 30.62 kB / 1.02 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.9181, allocations: 7.125 kB / 1.02 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.9186, allocations: 107.2 kB / 1.02 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003941/0.919, allocations: 0.7036 MB / 1.021 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/0.919, allocations: 0 / 1.021 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of Templates: time 0.004182/0.9232, allocations: 0.8275 MB / 1.022 GB, free: 1.219 MB / 0.6355 GB