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.Less.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.Less,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Less",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.802/3.802, allocations: 433 MB / 440.3 MB, free: 4.738 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5429/4.345, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/4.632, allocations: 98.72 MB / 0.6283 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2333/4.866, allocations: 126.6 MB / 0.7519 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/4.866, allocations: 83.59 kB / 0.752 GB, free: 10.9 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin$tab.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin$tab.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin$tab.getTableTimeTmax. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin1$tab.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin1$tab.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin1$tab.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0469/4.913, allocations: 9.708 MB / 0.7615 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/4.913, allocations: 11.98 kB / 0.7615 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/4.913, allocations: 31.62 kB / 0.7615 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000893/4.914, allocations: 359.8 kB / 0.7619 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.238e-05/4.914, allocations: 16 kB / 0.7619 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.519e-05/4.914, allocations: 15.84 kB / 0.7619 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000297/4.915, allocations: 59.97 kB / 0.762 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/4.915, allocations: 100.6 kB / 0.7621 GB, free: 484 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/4.915, allocations: 0 / 0.7621 GB, free: 484 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/4.915, allocations: 0 / 0.7621 GB, free: 484 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/4.915, allocations: 3.984 kB / 0.7621 GB, free: 480 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001153/4.916, allocations: 0.5204 MB / 0.7626 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003442/4.917, allocations: 122.8 kB / 0.7627 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/4.917, allocations: 48.84 kB / 0.7627 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/4.917, allocations: 0 / 0.7627 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002436/4.917, allocations: 103.3 kB / 0.7628 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 2.164e-06/4.917, allocations: 0 / 0.7628 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0005353/4.918, allocations: 161.3 kB / 0.763 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/4.918, allocations: 51.41 kB / 0.763 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000914/4.918, allocations: 421.9 kB / 0.7634 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.756e-05/4.919, allocations: 33.7 kB / 0.7635 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/4.919, allocations: 120.3 kB / 0.7636 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.624e-05/4.919, allocations: 31.83 kB / 0.7636 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.334e-05/4.919, allocations: 4 kB / 0.7636 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001602/4.919, allocations: 346.8 kB / 0.7639 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002261/4.919, allocations: 72.22 kB / 0.764 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/4.919, allocations: 99.03 kB / 0.7641 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002613/4.92, allocations: 88.09 kB / 0.7642 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/4.92, allocations: 0 / 0.7642 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000704/4.92, allocations: 253 kB / 0.7644 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/4.92, allocations: 11.94 kB / 0.7644 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/4.921, allocations: 0 / 0.7644 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.168e-05/4.921, allocations: 3.984 kB / 0.7644 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002836/4.921, allocations: 23.98 kB / 0.7645 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/4.921, allocations: 7.984 kB / 0.7645 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/4.921, allocations: 23.69 kB / 0.7645 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/4.921, allocations: 11.98 kB / 0.7645 GB, free: 13.83 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * 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.0001287/4.921, allocations: 125 kB / 0.7646 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.694e-05/4.921, allocations: 27.62 kB / 0.7647 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005408/4.922, allocations: 172.5 kB / 0.7648 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.84e-06/4.922, allocations: 0 / 0.7648 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/4.922, allocations: 0 / 0.7648 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/4.922, allocations: 3.906 kB / 0.7648 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004249/4.922, allocations: 290 kB / 0.7651 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/4.922, allocations: 4 kB / 0.7651 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/4.923, allocations: 19.92 kB / 0.7651 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/4.923, allocations: 0 / 0.7651 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.388e-05/4.923, allocations: 7.906 kB / 0.7651 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/4.923, allocations: 0 / 0.7651 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/4.923, allocations: 4 kB / 0.7651 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004322/4.923, allocations: 184.9 kB / 0.7653 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005838/4.924, allocations: 0.5673 MB / 0.7659 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002502/4.924, allocations: 148.6 kB / 0.766 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/4.924, allocations: 7.938 kB / 0.766 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003185/4.924, allocations: 11.84 kB / 0.766 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/4.925, allocations: 19.97 kB / 0.766 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/4.925, allocations: 7.984 kB / 0.7661 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001026/4.926, allocations: 332.5 kB / 0.7664 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002878/4.929, allocations: 79.88 kB / 0.7664 GB, free: 11.73 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002133/4.931, allocations: 427.2 kB / 0.7669 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001043/4.932, allocations: 235.4 kB / 0.7671 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/4.932, allocations: 4.062 kB / 0.7671 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003453/4.932, allocations: 63.92 kB / 0.7671 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009308/4.933, allocations: 69.06 kB / 0.7672 GB, free: 11 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/4.935, allocations: 408.6 kB / 0.7676 GB, free: 10.58 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009519/4.936, allocations: 0.8253 MB / 0.7684 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of SimCode: time 1.392e-06/4.936, allocations: 3.938 kB / 0.7684 GB, free: 9.727 MB / 0.6511 GB