Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.IO.Files.Examples.CSVReader.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.Utilities.IO.Files.Examples.CSVReader,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_IO_Files_Examples_CSVReader",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.067/4.067, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5268/4.594, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/4.822, allocations: 98.72 MB / 0.6283 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.242/5.064, allocations: 126.9 MB / 0.7522 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/5.064, allocations: 83.59 kB / 0.7523 GB, free: 10.7 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getDerTableValue. [/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$combiTimeTable.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$combiTimeTable.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$combiTimeTable.getTableTimeTmax. 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.02621/5.09, allocations: 5.582 MB / 0.7577 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/5.09, allocations: 15.92 kB / 0.7577 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.51e-05/5.09, allocations: 15.81 kB / 0.7577 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000422/5.091, allocations: 207.6 kB / 0.7579 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/5.091, allocations: 0 / 0.7579 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/5.091, allocations: 4 kB / 0.7579 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001766/5.091, allocations: 39.91 kB / 0.758 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/5.091, allocations: 89.09 kB / 0.7581 GB, free: 4.625 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/5.091, allocations: 4 kB / 0.7581 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.185e-05/5.091, allocations: 3.906 kB / 0.7581 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/5.091, allocations: 0 / 0.7581 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/5.092, allocations: 188 kB / 0.7582 GB, free: 4.391 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/5.092, allocations: 107.9 kB / 0.7584 GB, free: 4.258 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/5.092, allocations: 42.83 kB / 0.7584 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.699e-05/5.092, allocations: 7.906 kB / 0.7584 GB, free: 4.199 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/5.092, allocations: 105.9 kB / 0.7585 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=8): time 2.084e-06/5.092, allocations: 0 / 0.7585 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.0004107/5.093, allocations: 101.5 kB / 0.7586 GB, free: 3.969 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.994e-05/5.093, allocations: 128.5 kB / 0.7587 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/5.093, allocations: 161.3 kB / 0.7589 GB, free: 3.648 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/5.093, allocations: 25.7 kB / 0.7589 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/5.093, allocations: 96.19 kB / 0.759 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/5.093, allocations: 19.72 kB / 0.759 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.139e-05/5.093, allocations: 0 / 0.759 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001304/5.093, allocations: 322.8 kB / 0.7593 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/5.094, allocations: 31.98 kB / 0.7593 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/5.094, allocations: 72.22 kB / 0.7594 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/5.094, allocations: 43.89 kB / 0.7595 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/5.094, allocations: 4 kB / 0.7595 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003751/5.094, allocations: 133.4 kB / 0.7596 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/5.094, allocations: 4 kB / 0.7596 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/5.094, allocations: 0 / 0.7596 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/5.094, allocations: 8.047 kB / 0.7596 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/5.095, allocations: 28.08 kB / 0.7596 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/5.095, allocations: 4 kB / 0.7596 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/5.095, allocations: 15.84 kB / 0.7596 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/5.095, allocations: 15.92 kB / 0.7597 GB, free: 2.801 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001134/5.095, allocations: 111.5 kB / 0.7598 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/5.095, allocations: 15.81 kB / 0.7598 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/5.095, allocations: 107 kB / 0.7599 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/5.095, allocations: 4 kB / 0.7599 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/5.095, allocations: 0 / 0.7599 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/5.095, allocations: 0 / 0.7599 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002614/5.096, allocations: 182.1 kB / 0.7601 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/5.096, allocations: 4 kB / 0.7601 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/5.096, allocations: 19.92 kB / 0.7601 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/5.096, allocations: 4 kB / 0.7601 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/5.096, allocations: 4 kB / 0.7601 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/5.096, allocations: 4 kB / 0.7601 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/5.096, allocations: 0 / 0.7601 GB, free: 2.309 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004876/5.097, allocations: 181.8 kB / 0.7603 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005047/5.097, allocations: 0.5414 MB / 0.7608 GB, free: 1.512 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/5.097, allocations: 108.8 kB / 0.7609 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/5.097, allocations: 4 kB / 0.7609 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/5.097, allocations: 8 kB / 0.7609 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/5.097, allocations: 7.984 kB / 0.7609 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.016e-05/5.098, allocations: 11.98 kB / 0.7609 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001589/5.098, allocations: 128.3 kB / 0.7611 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001254/5.099, allocations: 51.88 kB / 0.7611 GB, free: 1.18 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001508/5.1, allocations: 374.1 kB / 0.7615 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003906/5.101, allocations: 109.6 kB / 0.7616 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/5.101, allocations: 8.188 kB / 0.7616 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001244/5.101, allocations: 31.98 kB / 0.7616 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003737/5.101, allocations: 28.53 kB / 0.7616 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006824/5.102, allocations: 156.7 kB / 0.7618 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004332/5.103, allocations: 0.7393 MB / 0.7625 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of SimCode: time 8.42e-07/5.103, allocations: 0 / 0.7625 GB, free: 15.73 MB / 0.6511 GB