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.Nand.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.Nand,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Nand",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.924/3.924, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4892/4.413, allocations: 104.3 MB / 0.5319 GB, free: 12.95 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/4.635, allocations: 98.73 MB / 0.6283 GB, free: 9.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2238/4.858, allocations: 123.5 MB / 0.7489 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/4.859, allocations: 79.58 kB / 0.749 GB, free: 14.02 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.004072/4.863, allocations: 0.9636 MB / 0.7499 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/4.863, allocations: 8 kB / 0.7499 GB, free: 13.01 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/4.863, allocations: 7.906 kB / 0.7499 GB, free: 13 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/4.863, allocations: 170.9 kB / 0.7501 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/4.863, allocations: 4 kB / 0.7501 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/4.863, allocations: 7.938 kB / 0.7501 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001292/4.863, allocations: 20 kB / 0.7501 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/4.863, allocations: 45.67 kB / 0.7502 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/4.863, allocations: 0 / 0.7502 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/4.864, allocations: 3.984 kB / 0.7502 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/4.864, allocations: 0 / 0.7502 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004066/4.864, allocations: 253.4 kB / 0.7504 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/4.864, allocations: 42.52 kB / 0.7505 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.638e-05/4.864, allocations: 16.98 kB / 0.7505 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/4.864, allocations: 0 / 0.7505 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001156/4.864, allocations: 67.47 kB / 0.7505 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/4.864, allocations: 0 / 0.7505 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002093/4.865, allocations: 57.59 kB / 0.7506 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/4.865, allocations: 55.41 kB / 0.7506 GB, free: 12.14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/4.865, allocations: 108.9 kB / 0.7507 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/4.865, allocations: 25.7 kB / 0.7508 GB, free: 12 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.209e-05/4.865, allocations: 84.14 kB / 0.7508 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/4.865, allocations: 15.83 kB / 0.7509 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/4.865, allocations: 0 / 0.7509 GB, free: 11.9 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001251/4.865, allocations: 326.8 kB / 0.7512 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.383e-05/4.865, allocations: 8 kB / 0.7512 GB, free: 11.56 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.056e-05/4.865, allocations: 38.52 kB / 0.7512 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.212e-05/4.865, allocations: 7.984 kB / 0.7512 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/4.865, allocations: 3.938 kB / 0.7512 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001715/4.865, allocations: 85.89 kB / 0.7513 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/4.865, allocations: 4 kB / 0.7513 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/4.865, allocations: 0 / 0.7513 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/4.865, allocations: 4 kB / 0.7513 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.849e-05/4.866, allocations: 4 kB / 0.7513 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/4.866, allocations: 0 / 0.7513 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/4.866, allocations: 20.05 kB / 0.7513 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/4.866, allocations: 4 kB / 0.7513 GB, free: 11.38 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,nand1.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 8.719e-05/4.866, allocations: 110.5 kB / 0.7515 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/4.866, allocations: 11.89 kB / 0.7515 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.479e-05/4.866, allocations: 8.375 kB / 0.7515 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/4.866, allocations: 0 / 0.7515 GB, free: 11.24 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/4.866, allocations: 7.906 kB / 0.7515 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/4.866, allocations: 0 / 0.7515 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/4.866, allocations: 142.2 kB / 0.7516 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/4.866, allocations: 4 kB / 0.7516 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.748e-05/4.866, allocations: 7.984 kB / 0.7516 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/4.866, allocations: 0 / 0.7516 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/4.866, allocations: 4 kB / 0.7516 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/4.866, allocations: 0 / 0.7516 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/4.866, allocations: 0 / 0.7516 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001698/4.866, allocations: 92.95 kB / 0.7517 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003036/4.867, allocations: 473.3 kB / 0.7522 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/4.867, allocations: 81.09 kB / 0.7522 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/4.867, allocations: 0 / 0.7522 GB, free: 10.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/4.867, allocations: 19.98 kB / 0.7523 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/4.867, allocations: 15.89 kB / 0.7523 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/4.867, allocations: 4 kB / 0.7523 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.318e-05/4.867, allocations: 83.28 kB / 0.7524 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001578/4.869, allocations: 12 kB / 0.7524 GB, free: 10.21 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,nand1.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.0002515/4.869, allocations: 107.2 kB / 0.7525 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002201/4.869, allocations: 35.94 kB / 0.7525 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/4.869, allocations: 0 / 0.7525 GB, free: 10.07 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/4.869, allocations: 28.12 kB / 0.7525 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/4.87, allocations: 16.05 kB / 0.7526 GB, free: 10.02 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004695/4.87, allocations: 95.56 kB / 0.7526 GB, free: 9.906 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004123/4.871, allocations: 0.6964 MB / 0.7533 GB, free: 9.184 MB / 0.6355 GB Notification: Performance of SimCode: time 1.193e-06/4.871, allocations: 0 / 0.7533 GB, free: 9.184 MB / 0.6355 GB