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.Change.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.Change,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Change",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.003/4.003, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.527/4.53, allocations: 104.3 MB / 0.5319 GB, free: 13 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/4.791, allocations: 98.72 MB / 0.6283 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2294/5.02, allocations: 127 MB / 0.7523 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/5.021, allocations: 87.53 kB / 0.7524 GB, free: 10.46 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. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.02844/5.049, allocations: 6.249 MB / 0.7585 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/5.049, allocations: 8 kB / 0.7585 GB, free: 4.141 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/5.049, allocations: 23.72 kB / 0.7586 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006317/5.05, allocations: 273.9 kB / 0.7588 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/5.05, allocations: 7.906 kB / 0.7588 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.582e-05/5.05, allocations: 15.98 kB / 0.7588 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002301/5.05, allocations: 56.36 kB / 0.7589 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/5.051, allocations: 124.4 kB / 0.759 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/5.051, allocations: 0 / 0.759 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.026e-05/5.051, allocations: 0 / 0.759 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/5.051, allocations: 3.938 kB / 0.759 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001197/5.052, allocations: 0.5367 MB / 0.7595 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/5.052, allocations: 122.5 kB / 0.7597 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/5.052, allocations: 36.86 kB / 0.7597 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/5.052, allocations: 3.984 kB / 0.7597 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/5.053, allocations: 107.4 kB / 0.7598 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 5.4e-06/5.053, allocations: 4.203 kB / 0.7598 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0004869/5.053, allocations: 141.3 kB / 0.7599 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/5.053, allocations: 63.28 kB / 0.76 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004882/5.054, allocations: 272.2 kB / 0.7603 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.244e-05/5.054, allocations: 33.7 kB / 0.7603 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/5.054, allocations: 116.4 kB / 0.7604 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.638e-05/5.054, allocations: 35.52 kB / 0.7604 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.132e-05/5.054, allocations: 4 kB / 0.7604 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001676/5.054, allocations: 330.8 kB / 0.7608 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/5.054, allocations: 56 kB / 0.7608 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/5.055, allocations: 110 kB / 0.7609 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/5.055, allocations: 63.97 kB / 0.761 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/5.055, allocations: 0 / 0.761 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006257/5.056, allocations: 221.2 kB / 0.7612 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/5.056, allocations: 4 kB / 0.7612 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/5.056, allocations: 0 / 0.7612 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/5.056, allocations: 4 kB / 0.7612 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003855/5.056, allocations: 39.83 kB / 0.7612 GB, free: 1.191 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/5.056, allocations: 8.172 kB / 0.7612 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/5.056, allocations: 27.83 kB / 0.7613 GB, free: 1.156 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.251e-05/5.056, allocations: 12 kB / 0.7613 GB, free: 1.145 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.cha.y,$PRE.decreaseSampler.y,decreaseSampler.y,$PRE.increaseSampler.y,increaseSampler.y,$PRE.changeSampler.y,changeSampler.y,$whenCondition2,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition1,$PRE.cha.u,cha.u,cha.y,cha.up,cha.down,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,cha.u_start) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * 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.0001324/5.057, allocations: 118.7 kB / 0.7614 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.742e-05/5.057, allocations: 23.72 kB / 0.7614 GB, free: 1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005077/5.057, allocations: 163.4 kB / 0.7616 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/5.057, allocations: 0 / 0.7616 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/5.057, allocations: 0 / 0.7616 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/5.057, allocations: 0 / 0.7616 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/5.058, allocations: 0.5015 MB / 0.7621 GB, free: 300 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/5.058, allocations: 3.906 kB / 0.7621 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001993/5.058, allocations: 19.92 kB / 0.7621 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/5.059, allocations: 4 kB / 0.7621 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.31e-05/5.059, allocations: 3.984 kB / 0.7621 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/5.059, allocations: 0 / 0.7621 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/5.059, allocations: 0 / 0.7621 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004402/5.059, allocations: 247.1 kB / 0.7623 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006154/5.06, allocations: 0.6152 MB / 0.7629 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001815/5.06, allocations: 120.8 kB / 0.763 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.057e-05/5.06, allocations: 0 / 0.763 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002977/5.06, allocations: 23.97 kB / 0.7631 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.575e-05/5.06, allocations: 15.98 kB / 0.7631 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/5.06, allocations: 11.98 kB / 0.7631 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003639/5.061, allocations: 204.5 kB / 0.7633 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001335/5.062, allocations: 63.83 kB / 0.7633 GB, free: 14.92 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: 13 (cha.y,cha.up,cha.down,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cha.u,changeSampler.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,increaseSampler.y,decreaseSampler.y) * Number of discrete states: 3 (timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,cha.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0008912/5.063, allocations: 316.7 kB / 0.7637 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005806/5.064, allocations: 181.6 kB / 0.7638 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/5.064, allocations: 0 / 0.7638 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001815/5.064, allocations: 62.28 kB / 0.7639 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005377/5.064, allocations: 36.31 kB / 0.7639 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/5.065, allocations: 289.9 kB / 0.7642 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005786/5.066, allocations: 0.7861 MB / 0.765 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of SimCode: time 1.723e-06/5.066, allocations: 0 / 0.765 GB, free: 13.24 MB / 0.6511 GB