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.Integers.Validation.Min.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.Integers.Validation.Min,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Min",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.07/4.07, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.513/4.583, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/4.81, allocations: 98.73 MB / 0.6283 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.23/5.04, allocations: 123.8 MB / 0.7493 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/5.04, allocations: 71.61 kB / 0.7493 GB, free: 13.69 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.007765/5.048, allocations: 1.529 MB / 0.7508 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/5.048, allocations: 12 kB / 0.7508 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/5.048, allocations: 11.81 kB / 0.7508 GB, free: 12.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001864/5.048, allocations: 174.9 kB / 0.751 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.868e-05/5.048, allocations: 7.906 kB / 0.751 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/5.048, allocations: 7.938 kB / 0.751 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002024/5.048, allocations: 47.98 kB / 0.7511 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/5.049, allocations: 65.66 kB / 0.7511 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/5.049, allocations: 4 kB / 0.7511 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/5.049, allocations: 0 / 0.7511 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/5.049, allocations: 0 / 0.7511 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000722/5.049, allocations: 325.1 kB / 0.7514 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007911/5.05, allocations: 86.66 kB / 0.7515 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.797e-05/5.05, allocations: 32.86 kB / 0.7516 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/5.05, allocations: 4 kB / 0.7516 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/5.05, allocations: 38.44 kB / 0.7516 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 4.098e-06/5.05, allocations: 3.984 kB / 0.7516 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003415/5.051, allocations: 85.72 kB / 0.7517 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.593e-05/5.051, allocations: 55.41 kB / 0.7517 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/5.051, allocations: 109 kB / 0.7518 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/5.051, allocations: 25.7 kB / 0.7519 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/5.051, allocations: 96.03 kB / 0.752 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.605e-05/5.051, allocations: 15.75 kB / 0.752 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.158e-05/5.051, allocations: 3.938 kB / 0.752 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001239/5.051, allocations: 322.8 kB / 0.7523 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.222e-05/5.051, allocations: 23.98 kB / 0.7523 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.698e-05/5.051, allocations: 20.06 kB / 0.7523 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.224e-05/5.052, allocations: 19.98 kB / 0.7523 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/5.052, allocations: 0 / 0.7523 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002552/5.052, allocations: 85.53 kB / 0.7524 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/5.052, allocations: 8 kB / 0.7524 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/5.052, allocations: 0 / 0.7524 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/5.052, allocations: 0 / 0.7524 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/5.052, allocations: 35.95 kB / 0.7525 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/5.052, allocations: 0 / 0.7525 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002757/5.053, allocations: 23.98 kB / 0.7525 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/5.053, allocations: 0 / 0.7525 GB, free: 10.24 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.u1,min1.u2,min1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.792e-05/5.053, allocations: 112.9 kB / 0.7526 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/5.053, allocations: 0 / 0.7526 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003419/5.053, allocations: 109.8 kB / 0.7527 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/5.053, allocations: 0 / 0.7527 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/5.053, allocations: 0 / 0.7527 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/5.053, allocations: 4 kB / 0.7527 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002628/5.053, allocations: 166.2 kB / 0.7529 GB, free: 9.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/5.053, allocations: 4 kB / 0.7529 GB, free: 9.801 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003443/5.054, allocations: 35.97 kB / 0.7529 GB, free: 9.766 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/5.054, allocations: 7.891 kB / 0.7529 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/5.054, allocations: 4 kB / 0.7529 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/5.054, allocations: 0 / 0.7529 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/5.054, allocations: 0 / 0.7529 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003029/5.054, allocations: 179.4 kB / 0.7531 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004149/5.055, allocations: 0.5545 MB / 0.7536 GB, free: 8.988 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.23e-05/5.055, allocations: 84.95 kB / 0.7537 GB, free: 8.887 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.525e-05/5.055, allocations: 4 kB / 0.7537 GB, free: 8.883 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/5.055, allocations: 23.97 kB / 0.7537 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/5.055, allocations: 19.97 kB / 0.7538 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/5.055, allocations: 7.906 kB / 0.7538 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.908e-05/5.055, allocations: 91.22 kB / 0.7538 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001159/5.056, allocations: 19.98 kB / 0.7539 GB, free: 8.723 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: 3 (min1.u1,min1.u2,min1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.0001866/5.057, allocations: 107.2 kB / 0.754 GB, free: 8.609 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000249/5.057, allocations: 55.92 kB / 0.754 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/5.057, allocations: 4 kB / 0.754 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001342/5.057, allocations: 32.61 kB / 0.7541 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/5.057, allocations: 8 kB / 0.7541 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005228/5.058, allocations: 115.4 kB / 0.7542 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003978/5.058, allocations: 0.7153 MB / 0.7549 GB, free: 7.633 MB / 0.6355 GB Notification: Performance of SimCode: time 8.51e-07/5.058, allocations: 0 / 0.7549 GB, free: 7.633 MB / 0.6355 GB