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.Or.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.Or,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.006/4.006, allocations: 433 MB / 440.3 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5527/4.559, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.255/4.814, allocations: 98.73 MB / 0.6283 GB, free: 9.77 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2283/5.043, allocations: 123.5 MB / 0.7489 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/5.043, allocations: 79.58 kB / 0.749 GB, free: 14.03 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.004308/5.047, allocations: 0.9519 MB / 0.7499 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/5.047, allocations: 8 kB / 0.7499 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.485e-05/5.047, allocations: 7.906 kB / 0.7499 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/5.048, allocations: 174.9 kB / 0.7501 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.801e-05/5.048, allocations: 0 / 0.7501 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/5.048, allocations: 4 kB / 0.7501 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000103/5.048, allocations: 20 kB / 0.7501 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/5.048, allocations: 49.66 kB / 0.7502 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/5.048, allocations: 0 / 0.7502 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/5.048, allocations: 7.984 kB / 0.7502 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/5.048, allocations: 4 kB / 0.7502 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004223/5.048, allocations: 245.4 kB / 0.7504 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/5.048, allocations: 42.52 kB / 0.7504 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.616e-05/5.049, allocations: 16.98 kB / 0.7505 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/5.049, allocations: 0 / 0.7505 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001248/5.049, allocations: 63.41 kB / 0.7505 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.375e-06/5.049, allocations: 0 / 0.7505 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000234/5.049, allocations: 57.59 kB / 0.7506 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/5.049, allocations: 59.41 kB / 0.7506 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/5.049, allocations: 109.3 kB / 0.7507 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/5.049, allocations: 29.64 kB / 0.7508 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/5.049, allocations: 88.14 kB / 0.7508 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/5.049, allocations: 7.891 kB / 0.7509 GB, free: 11.92 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-06/5.049, allocations: 4 kB / 0.7509 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001566/5.049, allocations: 322.8 kB / 0.7512 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.436e-05/5.05, allocations: 12 kB / 0.7512 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.78e-05/5.05, allocations: 30.58 kB / 0.7512 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.312e-05/5.05, allocations: 16.23 kB / 0.7512 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/5.05, allocations: 3.938 kB / 0.7512 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001731/5.05, allocations: 77.47 kB / 0.7513 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/5.05, allocations: 4 kB / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/5.05, allocations: 4 kB / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/5.05, allocations: 0 / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.879e-05/5.05, allocations: 8 kB / 0.7513 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/5.05, allocations: 0 / 0.7513 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/5.05, allocations: 20.05 kB / 0.7513 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/5.05, allocations: 8 kB / 0.7513 GB, free: 11.39 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001088/5.05, allocations: 106.3 kB / 0.7514 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/5.051, allocations: 11.89 kB / 0.7515 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.301e-05/5.051, allocations: 8.375 kB / 0.7515 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/5.051, allocations: 4 kB / 0.7515 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/5.051, allocations: 3.906 kB / 0.7515 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/5.051, allocations: 0 / 0.7515 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/5.051, allocations: 146.2 kB / 0.7516 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/5.051, allocations: 4 kB / 0.7516 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.066e-05/5.051, allocations: 11.98 kB / 0.7516 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/5.051, allocations: 0 / 0.7516 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/5.051, allocations: 0 / 0.7516 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/5.051, allocations: 0 / 0.7516 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/5.051, allocations: 0 / 0.7516 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001834/5.051, allocations: 88.97 kB / 0.7517 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000335/5.051, allocations: 473.3 kB / 0.7522 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/5.052, allocations: 81.09 kB / 0.7522 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/5.052, allocations: 4 kB / 0.7522 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/5.052, allocations: 11.98 kB / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/5.052, allocations: 15.89 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/5.052, allocations: 4 kB / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.012e-05/5.052, allocations: 91.27 kB / 0.7524 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001061/5.053, allocations: 8 kB / 0.7524 GB, free: 10.23 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: 7 ($whenCondition2,$whenCondition1,booPul1.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001945/5.053, allocations: 111.2 kB / 0.7525 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001725/5.053, allocations: 35.94 kB / 0.7525 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/5.053, allocations: 128 / 0.7525 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.932e-05/5.054, allocations: 24 kB / 0.7525 GB, free: 10.06 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/5.054, allocations: 23.86 kB / 0.7526 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004013/5.054, allocations: 92.33 kB / 0.7526 GB, free: 9.922 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004909/5.055, allocations: 0.6997 MB / 0.7533 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of SimCode: time 8.51e-07/5.055, allocations: 0 / 0.7533 GB, free: 9.195 MB / 0.6355 GB