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.MultiAnd.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.MultiAnd,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",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 4.106/4.106, allocations: 433 MB / 440.3 MB, free: 10.81 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2693/4.376, allocations: 104.4 MB / 0.5319 GB, free: 2.348 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4984/4.874, allocations: 98.69 MB / 0.6283 GB, free: 112 kB / 0.4949 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2284/5.102, allocations: 123.8 MB / 0.7492 GB, free: 4.145 MB / 0.6199 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002641/5.103, allocations: 71.95 kB / 0.7493 GB, free: 4.074 MB / 0.6199 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.01099/5.114, allocations: 2.348 MB / 0.7516 GB, free: 1.68 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/5.114, allocations: 8 kB / 0.7516 GB, free: 1.672 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.012e-05/5.114, allocations: 15.81 kB / 0.7516 GB, free: 1.656 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/5.114, allocations: 222.9 kB / 0.7518 GB, free: 1.398 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/5.114, allocations: 4 kB / 0.7518 GB, free: 1.395 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/5.114, allocations: 8 kB / 0.7518 GB, free: 1.387 MB / 0.6199 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003274/5.115, allocations: 91.97 kB / 0.7519 GB, free: 1.297 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/5.115, allocations: 147.3 kB / 0.752 GB, free: 1.141 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/5.115, allocations: 0 / 0.752 GB, free: 1.141 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/5.115, allocations: 3.984 kB / 0.752 GB, free: 1.137 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/5.115, allocations: 4 kB / 0.752 GB, free: 1.133 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/5.117, allocations: 0.5557 MB / 0.7526 GB, free: 0.5352 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004139/5.117, allocations: 207.5 kB / 0.7528 GB, free: 312 kB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/5.117, allocations: 52.84 kB / 0.7528 GB, free: 256 kB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 1.752e-05/5.117, allocations: 0 / 0.7528 GB, free: 256 kB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002553/5.118, allocations: 119.1 kB / 0.753 GB, free: 128 kB / 0.6199 GB Notification: Performance of pre-optimization done (n=20): time 2.134e-06/5.118, allocations: 3.938 kB / 0.753 GB, free: 124 kB / 0.6199 GB Notification: Performance of matching and sorting (n=20): time 0.0004487/5.118, allocations: 137.5 kB / 0.7531 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/5.118, allocations: 63.39 kB / 0.7531 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/5.118, allocations: 150.9 kB / 0.7533 GB, free: 15.75 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/5.118, allocations: 29.7 kB / 0.7533 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/5.119, allocations: 100.4 kB / 0.7534 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.599e-05/5.119, allocations: 43.59 kB / 0.7535 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.338e-05/5.119, allocations: 0 / 0.7535 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002086/5.119, allocations: 330.7 kB / 0.7538 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001438/5.119, allocations: 43.98 kB / 0.7538 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/5.119, allocations: 93.72 kB / 0.7539 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/5.119, allocations: 47.92 kB / 0.754 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/5.119, allocations: 4 kB / 0.754 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005332/5.12, allocations: 153.3 kB / 0.7541 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/5.12, allocations: 8 kB / 0.7541 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/5.12, allocations: 192 / 0.7541 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.454e-05/5.12, allocations: 8 kB / 0.7541 GB, free: 14.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/5.12, allocations: 15.92 kB / 0.7541 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/5.12, allocations: 4 kB / 0.7541 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004143/5.121, allocations: 47.81 kB / 0.7542 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/5.121, allocations: 12 kB / 0.7542 GB, free: 14.79 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulAnd2.u[1],mulAnd2.u[2],mulAnd2.y,mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y,mulAnd5.uTemp[2],mulAnd5.uTemp[3],mulAnd5.uTemp[4],$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.booPul3.pulseStart,booPul3.pulseStart,$PRE.booPul4.pulseStart,booPul4.pulseStart,$PRE.booPul5.pulseStart,booPul5.pulseStart,mulAnd0.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001582/5.121, allocations: 130.2 kB / 0.7543 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.367e-05/5.121, allocations: 11.81 kB / 0.7543 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.55e-05/5.121, allocations: 24.69 kB / 0.7544 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/5.121, allocations: 4 kB / 0.7544 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/5.121, allocations: 0 / 0.7544 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/5.121, allocations: 0 / 0.7544 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008793/5.122, allocations: 450.8 kB / 0.7548 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/5.122, allocations: 4 kB / 0.7548 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.059e-05/5.122, allocations: 0 / 0.7548 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/5.122, allocations: 0 / 0.7548 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/5.122, allocations: 8 kB / 0.7548 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/5.122, allocations: 11.89 kB / 0.7548 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/5.122, allocations: 0 / 0.7548 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004019/5.123, allocations: 235.2 kB / 0.755 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005466/5.123, allocations: 0.6067 MB / 0.7556 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.215e-05/5.123, allocations: 96.86 kB / 0.7557 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.875e-05/5.123, allocations: 4 kB / 0.7557 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004238/5.124, allocations: 39.95 kB / 0.7558 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/5.124, allocations: 31.95 kB / 0.7558 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/5.124, allocations: 4 kB / 0.7558 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001307/5.124, allocations: 115.2 kB / 0.7559 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001286/5.125, allocations: 32 kB / 0.7559 GB, free: 12.91 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: 20 (mulAnd5.uTemp[2],$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulAnd2.u[1],mulAnd2.u[2],mulAnd2.y,mulAnd5.u[3],mulAnd5.u[4],mulAnd5.u[5],mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.pulseStart,booPul2.pulseStart,booPul3.pulseStart,booPul4.pulseStart,booPul5.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0002047/5.126, allocations: 115.2 kB / 0.756 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004086/5.126, allocations: 123.9 kB / 0.7562 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/5.126, allocations: 0 / 0.7562 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002057/5.126, allocations: 74.16 kB / 0.7562 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/5.127, allocations: 36.34 kB / 0.7563 GB, free: 12.56 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009202/5.128, allocations: 252.5 kB / 0.7565 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004986/5.128, allocations: 0.751 MB / 0.7572 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of SimCode: time 1.162e-06/5.128, allocations: 0 / 0.7572 GB, free: 11.51 MB / 0.6355 GB