Running: ./testmodel.py --libraries=/home/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 (/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.243/2.243, allocations: 248.6 MB / 255.9 MB, free: 384 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00163/0.00163, allocations: 185.1 kB / 315.1 MB, free: 7.801 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.285/2.285, allocations: 205.1 MB / 0.5658 GB, free: 25.46 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001325/0.001324, allocations: 91.33 kB / 0.67 GB, free: 2.977 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.3503/0.3517, allocations: 112.4 MB / 0.7797 GB, free: 2.488 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6041/0.9558, allocations: 106.2 MB / 0.8835 GB, free: 77.32 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2381/1.194, allocations: 130.8 MB / 1.011 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002798/1.194, allocations: 71.94 kB / 1.011 GB, free: 10.24 MB / 0.6667 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.004647/1.199, allocations: 1.03 MB / 1.012 GB, free: 9.168 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/1.199, allocations: 8 kB / 1.012 GB, free: 9.16 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/1.199, allocations: 7.906 kB / 1.012 GB, free: 9.152 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/1.199, allocations: 175 kB / 1.012 GB, free: 8.941 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.13e-05/1.199, allocations: 4 kB / 1.013 GB, free: 8.938 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/1.199, allocations: 0 / 1.013 GB, free: 8.938 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001151/1.199, allocations: 20 kB / 1.013 GB, free: 8.918 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/1.2, allocations: 49.67 kB / 1.013 GB, free: 8.863 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/1.2, allocations: 3.938 kB / 1.013 GB, free: 8.859 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/1.2, allocations: 7.938 kB / 1.013 GB, free: 8.852 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.2, allocations: 8 kB / 1.013 GB, free: 8.844 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005613/1.2, allocations: 273.3 kB / 1.013 GB, free: 8.539 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/1.2, allocations: 46.62 kB / 1.013 GB, free: 8.484 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.604e-05/1.201, allocations: 16.98 kB / 1.013 GB, free: 8.465 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/1.201, allocations: 3.938 kB / 1.013 GB, free: 8.461 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/1.201, allocations: 67.25 kB / 1.013 GB, free: 8.383 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/1.201, allocations: 0 / 1.013 GB, free: 8.383 MB / 0.6667 GB Notification: Performance of matching and sorting (n=7): time 0.0002314/1.201, allocations: 65.66 kB / 1.013 GB, free: 8.312 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.405e-05/1.201, allocations: 59.41 kB / 1.013 GB, free: 8.242 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/1.201, allocations: 109.2 kB / 1.013 GB, free: 8.125 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/1.201, allocations: 25.7 kB / 1.013 GB, free: 8.094 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/1.201, allocations: 88.12 kB / 1.013 GB, free: 8.004 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/1.201, allocations: 11.81 kB / 1.013 GB, free: 7.992 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/1.201, allocations: 0 / 1.013 GB, free: 7.992 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000151/1.202, allocations: 318.8 kB / 1.014 GB, free: 7.672 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.605e-05/1.202, allocations: 12 kB / 1.014 GB, free: 7.66 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.62e-05/1.202, allocations: 47.36 kB / 1.014 GB, free: 7.602 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.137e-05/1.202, allocations: 12 kB / 1.014 GB, free: 7.59 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.202, allocations: 4 kB / 1.014 GB, free: 7.586 MB / 0.6667 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002002/1.202, allocations: 77.53 kB / 1.014 GB, free: 7.504 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/1.202, allocations: 8 kB / 1.014 GB, free: 7.496 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/1.202, allocations: 4.094 kB / 1.014 GB, free: 7.492 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/1.202, allocations: 7.891 kB / 1.014 GB, free: 7.484 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/1.202, allocations: 12 kB / 1.014 GB, free: 7.473 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/1.202, allocations: 4 kB / 1.014 GB, free: 7.469 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001868/1.202, allocations: 24.03 kB / 1.014 GB, free: 7.445 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/1.202, allocations: 11.94 kB / 1.014 GB, free: 7.434 MB / 0.6667 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 9.569e-05/1.203, allocations: 105 kB / 1.014 GB, free: 7.324 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.208e-05/1.203, allocations: 7.906 kB / 1.014 GB, free: 7.316 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.669e-05/1.203, allocations: 8.375 kB / 1.014 GB, free: 7.309 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/1.203, allocations: 4 kB / 1.014 GB, free: 7.305 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.203, allocations: 0.5625 kB / 1.014 GB, free: 7.305 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/1.203, allocations: 0 / 1.014 GB, free: 7.305 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004721/1.203, allocations: 310.9 kB / 1.014 GB, free: 6.957 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/1.203, allocations: 0 / 1.014 GB, free: 6.957 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/1.203, allocations: 15.98 kB / 1.014 GB, free: 6.941 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/1.203, allocations: 0 / 1.014 GB, free: 6.941 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/1.203, allocations: 11.84 kB / 1.014 GB, free: 6.93 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/1.203, allocations: 0 / 1.014 GB, free: 6.93 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.203, allocations: 4 kB / 1.014 GB, free: 6.926 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002038/1.204, allocations: 155.5 kB / 1.014 GB, free: 6.758 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003207/1.204, allocations: 0.5339 MB / 1.015 GB, free: 6.207 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 5.505e-05/1.204, allocations: 85.02 kB / 1.015 GB, free: 6.105 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/1.204, allocations: 0 / 1.015 GB, free: 6.105 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/1.204, allocations: 23.98 kB / 1.015 GB, free: 6.082 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.096e-05/1.204, allocations: 11.97 kB / 1.015 GB, free: 6.07 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/1.204, allocations: 0 / 1.015 GB, free: 6.07 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.509e-05/1.204, allocations: 91.27 kB / 1.015 GB, free: 5.98 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001128/1.206, allocations: 15.94 kB / 1.015 GB, free: 5.965 MB / 0.6667 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.0001647/1.206, allocations: 104.8 kB / 1.015 GB, free: 5.855 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001976/1.206, allocations: 47.92 kB / 1.015 GB, free: 5.809 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.206, allocations: 0 / 1.015 GB, free: 5.809 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 8.318e-05/1.206, allocations: 24 kB / 1.015 GB, free: 5.785 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/1.206, allocations: 7.984 kB / 1.015 GB, free: 5.777 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/1.207, allocations: 111.5 kB / 1.015 GB, free: 5.645 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003499/1.207, allocations: 0.6997 MB / 1.016 GB, free: 4.918 MB / 0.6667 GB Notification: Performance of SimCode: time 9.92e-07/1.207, allocations: 0 / 1.016 GB, free: 4.918 MB / 0.6667 GB