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.Or3.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.Or3,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Or3",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.029/4.029, allocations: 433 MB / 440.3 MB, free: 4.836 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5334/4.563, allocations: 104.4 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/4.81, allocations: 98.72 MB / 0.6283 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2465/5.056, allocations: 123.5 MB / 0.7489 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003712/5.057, allocations: 75.59 kB / 0.749 GB, free: 14.04 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.008077/5.065, allocations: 1.264 MB / 0.7502 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/5.065, allocations: 8 kB / 0.7503 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.822e-05/5.065, allocations: 7.906 kB / 0.7503 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/5.065, allocations: 171 kB / 0.7504 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/5.065, allocations: 7.938 kB / 0.7504 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/5.065, allocations: 7.906 kB / 0.7504 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002808/5.066, allocations: 24 kB / 0.7505 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/5.066, allocations: 57.61 kB / 0.7505 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/5.066, allocations: 4 kB / 0.7505 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/5.066, allocations: 7.984 kB / 0.7505 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/5.066, allocations: 0 / 0.7505 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007023/5.067, allocations: 265.3 kB / 0.7508 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/5.067, allocations: 50.61 kB / 0.7508 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/5.067, allocations: 20.86 kB / 0.7508 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/5.067, allocations: 0 / 0.7508 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/5.068, allocations: 71.55 kB / 0.7509 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=10): time 2.775e-06/5.068, allocations: 0 / 0.7509 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10): time 0.0004051/5.068, allocations: 77.53 kB / 0.751 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.488e-05/5.068, allocations: 59.39 kB / 0.751 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/5.068, allocations: 116.9 kB / 0.7512 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/5.068, allocations: 33.64 kB / 0.7512 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.849e-05/5.068, allocations: 92.12 kB / 0.7513 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.2e-05/5.069, allocations: 19.72 kB / 0.7513 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.289e-05/5.069, allocations: 0 / 0.7513 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002543/5.069, allocations: 314.8 kB / 0.7516 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/5.069, allocations: 20 kB / 0.7516 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/5.069, allocations: 39.44 kB / 0.7517 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/5.069, allocations: 31.95 kB / 0.7517 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/5.069, allocations: 0 / 0.7517 GB, free: 11.08 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003779/5.07, allocations: 85.53 kB / 0.7518 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/5.07, allocations: 4 kB / 0.7518 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/5.07, allocations: 0 / 0.7518 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/5.07, allocations: 4 kB / 0.7518 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/5.07, allocations: 11.94 kB / 0.7518 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.201e-05/5.07, allocations: 12.06 kB / 0.7518 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004138/5.07, allocations: 27.89 kB / 0.7518 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/5.07, allocations: 8 kB / 0.7518 GB, free: 10.93 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,booPul1.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,or1.y,booPul3.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 0.0001586/5.071, allocations: 112.9 kB / 0.7519 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/5.071, allocations: 7.906 kB / 0.7519 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.124e-05/5.071, allocations: 12.36 kB / 0.752 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/5.071, allocations: 0 / 0.752 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/5.071, allocations: 0 / 0.752 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/5.071, allocations: 4 kB / 0.752 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003378/5.071, allocations: 166.1 kB / 0.7521 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/5.071, allocations: 0 / 0.7521 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.241e-05/5.071, allocations: 3.938 kB / 0.7521 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/5.071, allocations: 7.984 kB / 0.7521 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/5.071, allocations: 4 kB / 0.7521 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/5.071, allocations: 0 / 0.7521 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/5.071, allocations: 0 / 0.7521 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000353/5.072, allocations: 104.9 kB / 0.7522 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005464/5.072, allocations: 489.5 kB / 0.7527 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.49e-05/5.072, allocations: 85.02 kB / 0.7528 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.019e-05/5.072, allocations: 3.984 kB / 0.7528 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003891/5.073, allocations: 19.98 kB / 0.7528 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/5.073, allocations: 27.91 kB / 0.7528 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/5.073, allocations: 3.938 kB / 0.7528 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001174/5.073, allocations: 91.28 kB / 0.7529 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001843/5.075, allocations: 23.91 kB / 0.7529 GB, free: 9.676 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.y,booPul1.pulseStart,booPul2.y,booPul2.pulseStart,or1.y,booPul3.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.0002356/5.075, allocations: 102.8 kB / 0.753 GB, free: 9.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003297/5.076, allocations: 55.94 kB / 0.7531 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/5.076, allocations: 0 / 0.7531 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001565/5.076, allocations: 36.12 kB / 0.7531 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/5.076, allocations: 15.98 kB / 0.7531 GB, free: 9.465 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006201/5.077, allocations: 115.5 kB / 0.7533 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005647/5.078, allocations: 0.7036 MB / 0.7539 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of SimCode: time 1.643e-06/5.078, allocations: 4 kB / 0.7539 GB, free: 8.594 MB / 0.6355 GB