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.MultiOr.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.MultiOr,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",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.114/4.114, allocations: 433 MB / 440.3 MB, free: 10.79 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2614/4.376, allocations: 104.4 MB / 0.5319 GB, free: 2.344 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.512/4.888, allocations: 98.7 MB / 0.6283 GB, free: 128 kB / 0.4949 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2312/5.119, allocations: 123.8 MB / 0.7492 GB, free: 4.148 MB / 0.6199 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/5.119, allocations: 67.95 kB / 0.7493 GB, free: 4.082 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.01095/5.13, allocations: 2.336 MB / 0.7516 GB, free: 1.699 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/5.13, allocations: 8 kB / 0.7516 GB, free: 1.691 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/5.13, allocations: 19.81 kB / 0.7516 GB, free: 1.672 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003585/5.131, allocations: 218.9 kB / 0.7518 GB, free: 1.418 MB / 0.6199 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/5.131, allocations: 15.92 kB / 0.7518 GB, free: 1.402 MB / 0.6199 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.914e-05/5.131, allocations: 8 kB / 0.7518 GB, free: 1.395 MB / 0.6199 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003302/5.131, allocations: 87.97 kB / 0.7519 GB, free: 1.309 MB / 0.6199 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/5.132, allocations: 143.3 kB / 0.752 GB, free: 1.156 MB / 0.6199 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/5.132, allocations: 4 kB / 0.752 GB, free: 1.152 MB / 0.6199 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/5.132, allocations: 0 / 0.752 GB, free: 1.152 MB / 0.6199 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.034e-05/5.132, allocations: 4 kB / 0.752 GB, free: 1.148 MB / 0.6199 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001538/5.133, allocations: 0.5674 MB / 0.7526 GB, free: 0.5391 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/5.134, allocations: 203.6 kB / 0.7528 GB, free: 320 kB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/5.134, allocations: 48.86 kB / 0.7528 GB, free: 268 kB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/5.134, allocations: 7.938 kB / 0.7528 GB, free: 260 kB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002354/5.134, allocations: 114.4 kB / 0.753 GB, free: 136 kB / 0.6199 GB Notification: Performance of pre-optimization done (n=20): time 3.346e-06/5.134, allocations: 0 / 0.753 GB, free: 136 kB / 0.6199 GB Notification: Performance of matching and sorting (n=20): time 0.0005579/5.135, allocations: 137.5 kB / 0.7531 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/5.135, allocations: 55.41 kB / 0.7531 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/5.135, allocations: 158.9 kB / 0.7533 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/5.135, allocations: 25.7 kB / 0.7533 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.871e-05/5.135, allocations: 108.4 kB / 0.7534 GB, free: 15.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.5e-05/5.135, allocations: 39.59 kB / 0.7535 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.306e-05/5.135, allocations: 4 kB / 0.7535 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001455/5.135, allocations: 326.7 kB / 0.7538 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/5.135, allocations: 43.98 kB / 0.7538 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001802/5.136, allocations: 90 kB / 0.7539 GB, free: 15.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/5.136, allocations: 55.86 kB / 0.754 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/5.136, allocations: 0 / 0.754 GB, free: 15.05 MB / 0.6355 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000401/5.136, allocations: 156.7 kB / 0.7541 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/5.136, allocations: 4 kB / 0.7541 GB, free: 14.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/5.136, allocations: 4 kB / 0.7541 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/5.136, allocations: 4.188 kB / 0.7541 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/5.136, allocations: 23.92 kB / 0.7541 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/5.136, allocations: 4 kB / 0.7541 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/5.137, allocations: 43.88 kB / 0.7542 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.836e-05/5.137, allocations: 19.91 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,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[2],mulOr5.uTemp[3],mulOr5.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,mulOr0.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.0001252/5.137, allocations: 115.8 kB / 0.7543 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.399e-05/5.137, allocations: 15.81 kB / 0.7543 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.014e-05/5.137, allocations: 24.69 kB / 0.7543 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/5.137, allocations: 0 / 0.7543 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/5.137, allocations: 0 / 0.7543 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/5.137, allocations: 7.984 kB / 0.7544 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007795/5.138, allocations: 446.8 kB / 0.7548 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/5.138, allocations: 0 / 0.7548 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.533e-05/5.138, allocations: 7.984 kB / 0.7548 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/5.138, allocations: 0 / 0.7548 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/5.138, allocations: 0 / 0.7548 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.473e-06/5.138, allocations: 15.84 kB / 0.7548 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/5.138, allocations: 0 / 0.7548 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003969/5.139, allocations: 239.2 kB / 0.755 GB, free: 13.87 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005122/5.139, allocations: 0.6075 MB / 0.7556 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.818e-05/5.139, allocations: 88.92 kB / 0.7557 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.529e-05/5.139, allocations: 7.984 kB / 0.7557 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004223/5.14, allocations: 39.97 kB / 0.7558 GB, free: 13.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/5.14, allocations: 27.95 kB / 0.7558 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/5.14, allocations: 11.98 kB / 0.7558 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001193/5.14, allocations: 118.6 kB / 0.7559 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001187/5.141, allocations: 31.98 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 (mulOr5.uTemp[2],$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mulOr2.u[1],mulOr2.u[2],mulOr2.y,mulOr5.u[3],mulOr5.u[4],mulOr5.u[5],mulOr5.y,mulOr5.uTemp[3],mulOr5.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.0001768/5.141, allocations: 111.2 kB / 0.756 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003867/5.142, allocations: 127.9 kB / 0.7562 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/5.142, allocations: 0 / 0.7562 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002018/5.142, allocations: 71.92 kB / 0.7562 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005615/5.143, allocations: 41.83 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.0009069/5.144, allocations: 248.5 kB / 0.7565 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005526/5.144, allocations: 0.7471 MB / 0.7572 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of SimCode: time 1.733e-06/5.144, allocations: 0 / 0.7572 GB, free: 11.52 MB / 0.6355 GB