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.Continuous.Sources.Validation.TimeTable.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.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",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.012/4.012, allocations: 433 MB / 440.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5673/4.579, allocations: 104.4 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/4.835, allocations: 98.74 MB / 0.6283 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2673/5.102, allocations: 126.4 MB / 0.7517 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/5.103, allocations: 79.59 kB / 0.7518 GB, free: 11.12 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLin$tab.getTableValue. [/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:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLinHol$tab.getTableValue. [/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$timTabLinHol$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$timTabLinHol$tab.getTableTimeTmax. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLinDer$tab.getTableValue. [/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$timTabLinDer$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$timTabLinDer$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$timTabCon$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$timTabCon$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$timTabCon$tab.getTableTimeTmax. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$timTabLinCon$tab.getTableValue. [/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$timTabLinCon$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$timTabLinCon$tab.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.1021/5.205, allocations: 21.47 MB / 0.7728 GB, free: 5.508 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/5.205, allocations: 12 kB / 0.7728 GB, free: 5.496 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003978/5.205, allocations: 71.16 kB / 0.7729 GB, free: 5.426 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002828/5.208, allocations: 0.6009 MB / 0.7734 GB, free: 4.785 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.267e-05/5.208, allocations: 7.984 kB / 0.7735 GB, free: 4.777 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/5.208, allocations: 20 kB / 0.7735 GB, free: 4.758 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005578/5.209, allocations: 95.97 kB / 0.7736 GB, free: 4.664 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000728/5.21, allocations: 201.8 kB / 0.7738 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/5.21, allocations: 0 / 0.7738 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.017e-05/5.21, allocations: 0 / 0.7738 GB, free: 4.445 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/5.21, allocations: 8 kB / 0.7738 GB, free: 4.438 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003354/5.213, allocations: 1.161 MB / 0.7749 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009446/5.214, allocations: 261.5 kB / 0.7752 GB, free: 2.922 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003899/5.215, allocations: 104.3 kB / 0.7752 GB, free: 2.805 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-05/5.215, allocations: 4 kB / 0.7753 GB, free: 2.801 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007046/5.215, allocations: 203.5 kB / 0.7754 GB, free: 2.574 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=25): time 4.288e-06/5.215, allocations: 0 / 0.7754 GB, free: 2.574 MB / 0.6511 GB Notification: Performance of matching and sorting (n=25): time 0.0014/5.217, allocations: 292.7 kB / 0.7757 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/5.217, allocations: 162.2 kB / 0.7759 GB, free: 2.086 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002765/5.22, allocations: 0.816 MB / 0.7767 GB, free: 1.262 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001708/5.22, allocations: 33.7 kB / 0.7767 GB, free: 1.223 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/5.22, allocations: 168.7 kB / 0.7769 GB, free: 1.051 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/5.22, allocations: 67.16 kB / 0.7769 GB, free: 0.9844 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.413e-05/5.22, allocations: 8 kB / 0.7769 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000287/5.221, allocations: 394.7 kB / 0.7773 GB, free: 0.582 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007895/5.222, allocations: 148.8 kB / 0.7775 GB, free: 444 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007802/5.222, allocations: 227.9 kB / 0.7777 GB, free: 188 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000846/5.223, allocations: 187.8 kB / 0.7779 GB, free: 0 / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/5.223, allocations: 0 / 0.7779 GB, free: 0 / 0.6511 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.299/5.522, allocations: 0.5152 MB / 0.7784 GB, free: 219.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/5.522, allocations: 7.5 kB / 0.7784 GB, free: 219.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/5.522, allocations: 3.062 kB / 0.7784 GB, free: 219.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.834e-05/5.522, allocations: 6.625 kB / 0.7784 GB, free: 219.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004577/5.523, allocations: 58.05 kB / 0.7784 GB, free: 219.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/5.523, allocations: 7.094 kB / 0.7784 GB, free: 219.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005538/5.523, allocations: 50.25 kB / 0.7785 GB, free: 219.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.437e-05/5.524, allocations: 24.12 kB / 0.7785 GB, free: 219.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * 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.0001719/5.524, allocations: 137.3 kB / 0.7786 GB, free: 219.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/5.524, allocations: 73.28 kB / 0.7787 GB, free: 219.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/5.525, allocations: 341.6 kB / 0.779 GB, free: 219.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/5.525, allocations: 7.281 kB / 0.779 GB, free: 219.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/5.525, allocations: 1.969 kB / 0.779 GB, free: 219.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/5.525, allocations: 0 / 0.779 GB, free: 219.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007692/5.526, allocations: 462.1 kB / 0.7795 GB, free: 219.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/5.526, allocations: 7.281 kB / 0.7795 GB, free: 219.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/5.526, allocations: 27.52 kB / 0.7795 GB, free: 219.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/5.526, allocations: 7 kB / 0.7795 GB, free: 219.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/5.526, allocations: 6.375 kB / 0.7795 GB, free: 219.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/5.526, allocations: 6.188 kB / 0.7795 GB, free: 219.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/5.526, allocations: 0 / 0.7795 GB, free: 219.2 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008939/5.527, allocations: 408.9 kB / 0.7799 GB, free: 219 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009243/5.528, allocations: 0.7868 MB / 0.7807 GB, free: 218.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004089/5.529, allocations: 219.7 kB / 0.7809 GB, free: 218.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/5.529, allocations: 9.562 kB / 0.7809 GB, free: 218.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003659/5.529, allocations: 19.39 kB / 0.7809 GB, free: 218.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.008e-05/5.529, allocations: 22.17 kB / 0.781 GB, free: 218.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/5.529, allocations: 13.38 kB / 0.781 GB, free: 218.3 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001196/5.53, allocations: 0.6242 MB / 0.7816 GB, free: 218.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001883/5.532, allocations: 183.9 kB / 0.7818 GB, free: 218.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.002177/5.535, allocations: 0.8092 MB / 0.7825 GB, free: 218 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001135/5.536, allocations: 0.518 MB / 0.783 GB, free: 217.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/5.536, allocations: 0 / 0.783 GB, free: 217.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003239/5.536, allocations: 120.2 kB / 0.7832 GB, free: 217.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/5.537, allocations: 157.8 kB / 0.7833 GB, free: 217.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/5.54, allocations: 0.8507 MB / 0.7841 GB, free: 217.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009092/5.541, allocations: 0.9944 MB / 0.7851 GB, free: 216.9 MB / 0.6511 GB Notification: Performance of SimCode: time 1.654e-06/5.541, allocations: 0 / 0.7851 GB, free: 216.9 MB / 0.6511 GB