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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.396/1.396, allocations: 289.8 MB / 297.1 MB, free: 6.691 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.0009998/0.0009995, allocations: 181.2 kB / 366.3 MB, free: 2.012 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.068/1.068, allocations: 205.2 MB / 0.6256 GB, free: 5.848 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.0007879/0.0007878, allocations: 97.84 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1925/0.1934, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.6343, allocations: 116.3 MB / 0.9727 GB, free: 68.54 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1406/0.7749, allocations: 138.5 MB / 1.108 GB, free: 9.977 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001803/0.7751, allocations: 71.89 kB / 1.108 GB, free: 9.906 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.006084/0.7812, allocations: 2.187 MB / 1.11 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.7813, allocations: 12 kB / 1.11 GB, free: 7.676 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.67e-05/0.7813, allocations: 11.91 kB / 1.11 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.7815, allocations: 171 kB / 1.11 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.7815, allocations: 0.75 kB / 1.11 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.7815, allocations: 11.91 kB / 1.11 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.443e-05/0.7816, allocations: 12 kB / 1.11 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.532e-05/0.7817, allocations: 53.62 kB / 1.11 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.944e-06/0.7817, allocations: 0 / 1.11 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.7817, allocations: 3.984 kB / 1.11 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.7817, allocations: 0 / 1.11 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.7822, allocations: 311.9 kB / 1.111 GB, free: 7.031 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.812e-05/0.7823, allocations: 39.39 kB / 1.111 GB, free: 6.984 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.869e-05/0.7823, allocations: 16.98 kB / 1.111 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.7823, allocations: 3.938 kB / 1.111 GB, free: 6.961 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.118e-05/0.7824, allocations: 71.39 kB / 1.111 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 2.815e-06/0.7824, allocations: 0 / 1.111 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001823/0.7826, allocations: 81.59 kB / 1.111 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.7827, allocations: 51.41 kB / 1.111 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.492e-05/0.7828, allocations: 112.9 kB / 1.111 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.7828, allocations: 30.36 kB / 1.111 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.548e-05/0.7829, allocations: 84.14 kB / 1.111 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.145e-05/0.7829, allocations: 15.8 kB / 1.111 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/0.7829, allocations: 8 kB / 1.111 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.7831, allocations: 314.8 kB / 1.112 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.098e-05/0.7831, allocations: 39.98 kB / 1.112 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.623e-05/0.7832, allocations: 72.23 kB / 1.112 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002122/0.7835, allocations: 48.98 kB / 1.112 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.7835, allocations: 0 / 1.112 GB, free: 5.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003474/0.7838, allocations: 148.1 kB / 1.112 GB, free: 5.832 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.7838, allocations: 4 kB / 1.112 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.7839, allocations: 0 / 1.112 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.7839, allocations: 7.906 kB / 1.112 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001081/0.784, allocations: 24.05 kB / 1.112 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.784, allocations: 0 / 1.112 GB, free: 5.797 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.7842, allocations: 47.97 kB / 1.112 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.7843, allocations: 11.98 kB / 1.112 GB, free: 5.738 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 9.15e-05/0.7844, allocations: 112.9 kB / 1.112 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.407e-05/0.7844, allocations: 9.031 kB / 1.112 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.319e-05/0.7844, allocations: 12.38 kB / 1.112 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.7844, allocations: 0 / 1.112 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.7844, allocations: 3.906 kB / 1.112 GB, free: 5.598 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.7845, allocations: 3.984 kB / 1.112 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.7847, allocations: 303.1 kB / 1.112 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7847, allocations: 4 kB / 1.112 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.111e-05/0.7848, allocations: 19.89 kB / 1.112 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.7848, allocations: 0 / 1.112 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.7848, allocations: 0 / 1.112 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.7849, allocations: 7.922 kB / 1.112 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7849, allocations: 0 / 1.112 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001461/0.785, allocations: 172.7 kB / 1.113 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002297/0.7853, allocations: 0.5467 MB / 1.113 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.177e-05/0.7853, allocations: 85.02 kB / 1.113 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.7853, allocations: 0 / 1.113 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.7855, allocations: 7.984 kB / 1.113 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.7855, allocations: 15.89 kB / 1.113 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-06/0.7855, allocations: 8 kB / 1.113 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.146e-05/0.7856, allocations: 89.36 kB / 1.113 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008338/0.7864, allocations: 27.98 kB / 1.113 GB, free: 4.227 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.0001363/0.7865, allocations: 103.2 kB / 1.113 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001874/0.7867, allocations: 108 kB / 1.113 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-06/0.7868, allocations: 4 kB / 1.113 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.667e-05/0.7868, allocations: 28.25 kB / 1.113 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.787, allocations: 13.3 kB / 1.114 GB, free: 3.965 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/0.7873, allocations: 95.61 kB / 1.114 GB, free: 3.848 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002672/0.7876, allocations: 0.6997 MB / 1.114 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of SimCode: time 2.6e-07/0.7876, allocations: 0 / 1.114 GB, free: 3.121 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)