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.And.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.And,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.847/3.847, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5499/4.397, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/4.692, allocations: 98.72 MB / 0.6283 GB, free: 9.805 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2575/4.949, allocations: 123.5 MB / 0.7489 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002883/4.95, allocations: 75.59 kB / 0.749 GB, free: 14.07 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.004269/4.954, allocations: 0.9558 MB / 0.7499 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/4.954, allocations: 11.98 kB / 0.7499 GB, free: 13.06 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/4.954, allocations: 11.91 kB / 0.7499 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/4.954, allocations: 170.9 kB / 0.7501 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/4.954, allocations: 0 / 0.7501 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/4.954, allocations: 7.938 kB / 0.7501 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001048/4.954, allocations: 16 kB / 0.7501 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/4.955, allocations: 49.62 kB / 0.7502 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/4.955, allocations: 0 / 0.7502 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/4.955, allocations: 0 / 0.7502 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/4.955, allocations: 3.984 kB / 0.7502 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006557/4.955, allocations: 289.3 kB / 0.7504 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/4.955, allocations: 38.58 kB / 0.7505 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.73e-05/4.956, allocations: 16.98 kB / 0.7505 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/4.956, allocations: 3.984 kB / 0.7505 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001178/4.956, allocations: 63.34 kB / 0.7506 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.315e-06/4.956, allocations: 0 / 0.7506 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002312/4.956, allocations: 61.59 kB / 0.7506 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/4.956, allocations: 55.41 kB / 0.7507 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/4.956, allocations: 108.9 kB / 0.7508 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.269e-05/4.956, allocations: 25.7 kB / 0.7508 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/4.956, allocations: 84.14 kB / 0.7509 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/4.956, allocations: 7.906 kB / 0.7509 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/4.956, allocations: 0 / 0.7509 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001359/4.956, allocations: 326.7 kB / 0.7512 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.369e-05/4.956, allocations: 8 kB / 0.7512 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-05/4.957, allocations: 42.59 kB / 0.7512 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.541e-05/4.957, allocations: 19.91 kB / 0.7513 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/4.957, allocations: 0 / 0.7513 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001677/4.957, allocations: 69.53 kB / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/4.957, allocations: 4 kB / 0.7513 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/4.957, allocations: 480 / 0.7513 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/4.957, allocations: 4 kB / 0.7513 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.036e-05/4.957, allocations: 8.062 kB / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/4.957, allocations: 0 / 0.7513 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/4.957, allocations: 19.98 kB / 0.7514 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/4.957, allocations: 4 kB / 0.7514 GB, free: 11.41 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,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.booPul2.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.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 9.524e-05/4.957, allocations: 109 kB / 0.7515 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.408e-05/4.957, allocations: 7.906 kB / 0.7515 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.141e-05/4.957, allocations: 12.36 kB / 0.7515 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/4.957, allocations: 3.938 kB / 0.7515 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/4.957, allocations: 7.906 kB / 0.7515 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/4.957, allocations: 192 / 0.7515 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/4.958, allocations: 146.2 kB / 0.7516 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/4.958, allocations: 3.938 kB / 0.7516 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.255e-05/4.958, allocations: 0 / 0.7516 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/4.958, allocations: 4 kB / 0.7516 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/4.958, allocations: 3.984 kB / 0.7516 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/4.958, allocations: 4 kB / 0.7517 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/4.958, allocations: 3.984 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001893/4.958, allocations: 89.02 kB / 0.7517 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002866/4.958, allocations: 473.3 kB / 0.7522 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/4.958, allocations: 77.11 kB / 0.7523 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.631e-05/4.958, allocations: 7.984 kB / 0.7523 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000162/4.959, allocations: 15.98 kB / 0.7523 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/4.959, allocations: 11.89 kB / 0.7523 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/4.959, allocations: 4 kB / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.453e-05/4.959, allocations: 87.28 kB / 0.7524 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001068/4.96, allocations: 16 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.pulseStart,booPul2.pulseStart,and1.u1,and1.u2,and1.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.0001691/4.96, allocations: 107.2 kB / 0.7525 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001803/4.96, 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.645e-06/4.96, allocations: 0 / 0.7525 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.442e-05/4.96, allocations: 27.98 kB / 0.7526 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/4.961, allocations: 16.05 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.0003859/4.961, allocations: 99.48 kB / 0.7527 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004579/4.962, allocations: 0.6958 MB / 0.7534 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of SimCode: time 1.233e-06/4.962, allocations: 4 kB / 0.7534 GB, free: 9.191 MB / 0.6355 GB