Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.And3.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And3,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And3",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 loadModel(Buildings): time 3.916/3.916, allocations: 433 MB / 440.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6514/4.568, allocations: 104.4 MB / 0.5319 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2224/4.79, allocations: 98.72 MB / 0.6283 GB, free: 9.789 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2452/5.036, allocations: 123.5 MB / 0.7489 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/5.036, allocations: 83.58 kB / 0.749 GB, free: 14.01 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.005959/5.042, allocations: 1.252 MB / 0.7502 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/5.042, allocations: 8 kB / 0.7502 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.751e-05/5.042, allocations: 7.906 kB / 0.7503 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/5.042, allocations: 186.9 kB / 0.7504 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/5.042, allocations: 0 / 0.7504 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/5.042, allocations: 7.906 kB / 0.7504 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001341/5.043, allocations: 27.94 kB / 0.7505 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/5.043, allocations: 57.67 kB / 0.7505 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/5.043, allocations: 0 / 0.7505 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/5.043, allocations: 0 / 0.7505 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/5.043, allocations: 4 kB / 0.7505 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008172/5.044, allocations: 321.2 kB / 0.7508 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/5.044, allocations: 42.58 kB / 0.7509 GB, free: 11.97 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.156e-05/5.044, allocations: 24.86 kB / 0.7509 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/5.044, allocations: 4 kB / 0.7509 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/5.044, allocations: 67.39 kB / 0.751 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.224e-06/5.044, allocations: 0 / 0.751 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.000269/5.044, allocations: 73.62 kB / 0.751 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/5.044, allocations: 59.41 kB / 0.7511 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/5.044, allocations: 112.9 kB / 0.7512 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.702e-05/5.045, allocations: 29.7 kB / 0.7512 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/5.045, allocations: 96.06 kB / 0.7513 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.232e-05/5.045, allocations: 23.86 kB / 0.7513 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/5.045, allocations: 0 / 0.7513 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001501/5.045, allocations: 322.8 kB / 0.7516 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.405e-05/5.045, allocations: 12 kB / 0.7517 GB, free: 11.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/5.045, allocations: 47.47 kB / 0.7517 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.743e-05/5.045, allocations: 27.92 kB / 0.7517 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/5.045, allocations: 0 / 0.7517 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002074/5.045, allocations: 81.53 kB / 0.7518 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/5.045, allocations: 4 kB / 0.7518 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/5.045, allocations: 4 kB / 0.7518 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/5.045, allocations: 4 kB / 0.7518 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.631e-05/5.045, allocations: 11.94 kB / 0.7518 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/5.046, allocations: 4.078 kB / 0.7518 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/5.046, allocations: 31.89 kB / 0.7519 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/5.046, allocations: 4 kB / 0.7519 GB, free: 10.87 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: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.y,$PRE.booPul3.pulseStart,booPul3.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.893e-05/5.046, allocations: 112.9 kB / 0.752 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/5.046, allocations: 7.906 kB / 0.752 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.346e-05/5.046, allocations: 16.3 kB / 0.752 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/5.046, allocations: 4 kB / 0.752 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/5.046, allocations: 3.984 kB / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/5.046, allocations: 0 / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001934/5.046, allocations: 162.1 kB / 0.7522 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/5.046, allocations: 0 / 0.7522 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.992e-05/5.046, allocations: 7.984 kB / 0.7522 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/5.046, allocations: 0 / 0.7522 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/5.046, allocations: 4 kB / 0.7522 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/5.046, allocations: 0 / 0.7522 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/5.046, allocations: 0 / 0.7522 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002074/5.047, allocations: 108.9 kB / 0.7523 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003271/5.047, allocations: 489.4 kB / 0.7527 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.116e-05/5.047, allocations: 85.02 kB / 0.7528 GB, free: 9.781 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/5.047, allocations: 7.984 kB / 0.7528 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/5.047, allocations: 19.98 kB / 0.7529 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.237e-05/5.047, allocations: 19.97 kB / 0.7529 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/5.047, allocations: 4 kB / 0.7529 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.532e-05/5.047, allocations: 95.22 kB / 0.753 GB, free: 9.637 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00108/5.049, allocations: 23.89 kB / 0.753 GB, free: 9.613 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,booPul1.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.u3,and1.y,booPul3.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001472/5.049, allocations: 99.25 kB / 0.7531 GB, free: 9.508 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002675/5.049, allocations: 55.94 kB / 0.7531 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/5.049, allocations: 0 / 0.7531 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/5.049, allocations: 36.12 kB / 0.7532 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/5.049, allocations: 15.98 kB / 0.7532 GB, free: 9.402 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004435/5.05, allocations: 115.5 kB / 0.7533 GB, free: 9.266 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000346/5.05, allocations: 0.7075 MB / 0.754 GB, free: 8.531 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/5.05, allocations: 4 kB / 0.754 GB, free: 8.527 MB / 0.6355 GB