Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",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.1.4-maint.8.1.x/package.mo): time 1.409/1.409, allocations: 289.8 MB / 297.1 MB, free: 9.133 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.0009259/0.0009259, allocations: 188.2 kB / 366.3 MB, free: 11.34 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.094/1.094, allocations: 205.1 MB / 0.6255 GB, free: 11.48 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008455/0.0008455, allocations: 88.38 kB / 0.7396 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.381/0.3819, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.5485, allocations: 116.3 MB / 0.9727 GB, free: 31.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4431/0.9917, allocations: 138.5 MB / 1.108 GB, free: 16.2 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001793/0.9919, allocations: 69.02 kB / 1.108 GB, free: 16.2 MB / 0.6823 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.006079/0.998, allocations: 2.194 MB / 1.11 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.998, allocations: 9.156 kB / 1.11 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.9981, allocations: 11.84 kB / 1.11 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.385e-05/0.9982, allocations: 171.5 kB / 1.11 GB, free: 15.49 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.9982, allocations: 5.625 kB / 1.11 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.9982, allocations: 7.453 kB / 1.11 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.946e-05/0.9983, allocations: 21.41 kB / 1.11 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.982e-05/0.9984, allocations: 53.91 kB / 1.11 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.9984, allocations: 0.5938 kB / 1.11 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.9984, allocations: 0.6562 kB / 1.11 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.9984, allocations: 0.6562 kB / 1.11 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003593/0.9988, allocations: 314.8 kB / 1.111 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.954e-05/0.9989, allocations: 46.5 kB / 1.111 GB, free: 15.18 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.645e-05/0.9989, allocations: 16.36 kB / 1.111 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.999, allocations: 0.5938 kB / 1.111 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.721e-05/0.999, allocations: 70.86 kB / 1.111 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.999, allocations: 5.219 kB / 1.111 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of matching and sorting (n=8): time 0.0001534/0.9992, allocations: 68.41 kB / 1.111 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.722e-05/0.9992, allocations: 53.59 kB / 1.111 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.931e-05/0.9993, allocations: 110.7 kB / 1.111 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.287e-05/0.9993, allocations: 33.19 kB / 1.111 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.783e-05/0.9993, allocations: 88.77 kB / 1.111 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.9994, allocations: 15.28 kB / 1.111 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.333e-05/0.9994, allocations: 1.062 kB / 1.111 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 4.07e-05/0.9994, allocations: 326.2 kB / 1.112 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.428e-05/0.9995, allocations: 37.08 kB / 1.112 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.085e-05/0.9996, allocations: 67.69 kB / 1.112 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001964/0.9998, allocations: 50.94 kB / 1.112 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.9998, allocations: 4 kB / 1.112 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000324/1, allocations: 149 kB / 1.112 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.092e-05/1, allocations: 4.094 kB / 1.112 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/1, allocations: 9.797 kB / 1.112 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/1, allocations: 1.344 kB / 1.112 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.914e-05/1, allocations: 23.16 kB / 1.112 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/1, allocations: 1.5 kB / 1.112 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/1.001, allocations: 48.19 kB / 1.112 GB, free: 14.38 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/1.001, allocations: 7.812 kB / 1.112 GB, free: 14.38 MB / 0.6823 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,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * 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 5.679e-05/1.001, allocations: 122.9 kB / 1.112 GB, free: 14.26 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/1.001, allocations: 6.594 kB / 1.112 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/1.001, allocations: 14.58 kB / 1.112 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/1.001, allocations: 1.094 kB / 1.112 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/1.001, allocations: 1.094 kB / 1.112 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/1.001, allocations: 1.219 kB / 1.112 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/1.001, allocations: 311.6 kB / 1.112 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.001, allocations: 1.188 kB / 1.112 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.22e-05/1.001, allocations: 15.83 kB / 1.112 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/1.001, allocations: 7.875 kB / 1.112 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/1.001, allocations: 5.125 kB / 1.112 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/1.001, allocations: 2.734 kB / 1.112 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.001, allocations: 0 / 1.112 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001164/1.001, allocations: 163.8 kB / 1.113 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001552/1.001, allocations: 0.5476 MB / 1.113 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.826e-05/1.001, allocations: 78.48 kB / 1.113 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/1.001, allocations: 6.5 kB / 1.113 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.827e-05/1.002, allocations: 9.641 kB / 1.113 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.637e-05/1.002, allocations: 5.703 kB / 1.113 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/1.002, allocations: 7.703 kB / 1.113 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.083e-05/1.002, allocations: 94.8 kB / 1.113 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008327/1.002, allocations: 25.72 kB / 1.113 GB, free: 13.14 MB / 0.6823 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 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0001431/1.003, allocations: 110.8 kB / 1.113 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001846/1.003, allocations: 107.6 kB / 1.113 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/1.003, allocations: 0 / 1.113 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.711e-05/1.003, allocations: 23.53 kB / 1.114 GB, free: 13.02 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/1.003, allocations: 12.56 kB / 1.114 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002305/1.003, allocations: 106.3 kB / 1.114 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/1.004, allocations: 0.7033 MB / 1.114 GB, free: 28.23 MB / 0.698 GB Notification: Performance of SimCode: time 2.8e-07/1.004, allocations: 0 / 1.114 GB, free: 28.23 MB / 0.698 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)