Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT.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.Fluid.FixedResistances.Validation.PlugFlowPipes.PlugFlowAIT,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_PlugFlowAIT",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.751/3.751, allocations: 433 MB / 440.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4746/4.226, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/4.483, allocations: 98.72 MB / 0.6283 GB, free: 9.762 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.103/5.586, allocations: 428.2 MB / 1.046 GB, free: 5.688 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003711/5.586, allocations: 100.2 kB / 1.047 GB, free: 5.633 MB / 0.7917 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$DataReader.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$DataReader.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$DataReader.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$DataReader.getTableTimeTmax. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 14.98/20.56, allocations: 2.648 GB / 3.695 GB, free: 31.16 MB / 0.9793 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/20.56, allocations: 8.688 kB / 3.695 GB, free: 31.16 MB / 0.9793 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01408/20.58, allocations: 4.397 MB / 3.699 GB, free: 28.71 MB / 0.9793 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3021/20.88, allocations: 65.74 MB / 3.763 GB, free: 15.68 MB / 0.9949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005772/20.88, allocations: 120 kB / 3.763 GB, free: 15.57 MB / 0.9949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002394/20.88, allocations: 234 kB / 3.764 GB, free: 15.34 MB / 0.9949 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0161/20.9, allocations: 2.838 MB / 3.766 GB, free: 13.8 MB / 0.9949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01877/20.92, allocations: 3.418 MB / 3.77 GB, free: 11.78 MB / 0.9949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002731/20.92, allocations: 11.84 kB / 3.77 GB, free: 11.77 MB / 0.9949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001294/20.92, allocations: 8.781 kB / 3.77 GB, free: 11.76 MB / 0.9949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001633/20.92, allocations: 94.19 kB / 3.77 GB, free: 11.67 MB / 0.9949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.34/22.26, allocations: 48.02 MB / 3.817 GB, free: 65.14 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004562/22.26, allocations: 1.48 MB / 3.818 GB, free: 65.12 MB / 1.011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003497/22.27, allocations: 1.29 MB / 3.819 GB, free: 65.11 MB / 1.011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005686/22.27, allocations: 6.426 MB / 3.826 GB, free: 57.89 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004353/22.28, allocations: 1.287 MB / 3.827 GB, free: 57.82 MB / 1.011 GB Notification: Performance of pre-optimization done (n=255): time 7.514e-06/22.28, allocations: 0 / 3.827 GB, free: 57.82 MB / 1.011 GB Notification: Performance of matching and sorting (n=255): time 0.02767/22.31, allocations: 7.006 MB / 3.834 GB, free: 55.93 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/22.31, allocations: 77.34 kB / 3.834 GB, free: 55.86 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.118/26.42, allocations: 73.63 MB / 3.906 GB, free: 53.52 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.000848/26.42, allocations: 31.55 kB / 3.906 GB, free: 53.49 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.04361/26.47, allocations: 6.656 MB / 3.912 GB, free: 52.71 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.02136/26.49, allocations: 0.851 MB / 3.913 GB, free: 52.26 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003361/26.49, allocations: 1.906 kB / 3.913 GB, free: 52.26 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.0002728/26.49, allocations: 416.2 kB / 3.913 GB, free: 51.96 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003272/26.49, allocations: 1.035 MB / 3.914 GB, free: 51.95 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004888/26.5, allocations: 1.663 MB / 3.916 GB, free: 51.28 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/26.51, allocations: 1.876 MB / 3.918 GB, free: 51.23 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.769e-05/26.51, allocations: 3.25 kB / 3.918 GB, free: 51.23 MB / 1.011 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.0306/26.54, allocations: 7.562 MB / 3.925 GB, free: 48.77 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.003561/26.54, allocations: 22.46 MB / 3.947 GB, free: 25.95 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002574/26.54, allocations: 30.45 kB / 3.947 GB, free: 25.95 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.681e-05/26.54, allocations: 27.97 kB / 3.947 GB, free: 25.95 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005311/26.55, allocations: 0.6113 MB / 3.948 GB, free: 25.95 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.594e-05/26.55, allocations: 38.38 kB / 3.948 GB, free: 25.95 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02016/26.57, allocations: 461.8 kB / 3.948 GB, free: 25.87 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001137/26.57, allocations: 152.4 kB / 3.948 GB, free: 25.87 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/26.57, allocations: 3.406 kB / 3.948 GB, free: 25.87 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01891/26.59, allocations: 3.341 MB / 3.952 GB, free: 25.79 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002449/26.59, allocations: 29.16 kB / 3.952 GB, free: 25.79 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.596e-05/26.59, allocations: 31.91 kB / 3.952 GB, free: 25.79 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005429/26.6, allocations: 0.6018 MB / 3.952 GB, free: 25.79 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.339e-05/26.6, allocations: 35.38 kB / 3.952 GB, free: 25.79 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01935/26.62, allocations: 429.3 kB / 3.953 GB, free: 25.73 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001147/26.62, allocations: 148 kB / 3.953 GB, free: 25.73 MB / 1.011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.DataReader.nextTimeEvent,DataReader.nextTimeEvent,$PRE.DataReader.nextTimeEventScaled,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (349): * Single equations (assignments): 336 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 12 * 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.001012/26.62, allocations: 173.2 kB / 3.953 GB, free: 25.62 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01456/26.63, allocations: 4.162 MB / 3.957 GB, free: 23.27 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05451/26.69, allocations: 10.39 MB / 3.967 GB, free: 22.59 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002427/26.69, allocations: 55.92 kB / 3.967 GB, free: 22.59 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-05/26.69, allocations: 3.562 kB / 3.967 GB, free: 22.59 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02392/26.71, allocations: 3.811 MB / 3.971 GB, free: 22.06 MB / 1.011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1622/26.87, allocations: 33.45 MB / 4.004 GB, free: 21.07 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001405/26.87, allocations: 14.77 kB / 4.004 GB, free: 21.07 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005093/26.88, allocations: 0.5235 MB / 4.004 GB, free: 21.07 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.373e-05/26.88, allocations: 14.59 kB / 4.004 GB, free: 21.07 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007671/26.88, allocations: 70.03 kB / 4.004 GB, free: 21.07 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.266e-05/26.88, allocations: 11.47 kB / 4.004 GB, free: 21.07 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/26.88, allocations: 0 / 4.004 GB, free: 21.07 MB / 1.011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04186/26.92, allocations: 10.58 MB / 4.015 GB, free: 17.86 MB / 1.011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04608/26.97, allocations: 14.25 MB / 4.029 GB, free: 14.26 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03407/27, allocations: 8.885 MB / 4.037 GB, free: 11.8 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01282/27.02, allocations: 9.375 kB / 4.037 GB, free: 11.8 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02629/27.04, allocations: 326.1 kB / 4.038 GB, free: 11.79 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00107/27.04, allocations: 204.5 kB / 4.038 GB, free: 11.78 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005233/27.04, allocations: 127.7 kB / 4.038 GB, free: 11.78 MB / 1.011 GB Notification: Performance of sort global known variables: time 0.205/27.25, allocations: 58.35 MB / 4.095 GB, free: 10.52 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.07265/27.32, allocations: 11.16 MB / 4.106 GB, free: 1.418 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 23 (pip1.cor.del.x,pip1.cor.timDel.x,pip1.vol.dynBal.U,pip4.cor.del.x,pip4.cor.timDel.x,pip4.vol.dynBal.U,pip5.cor.del.x,pip5.cor.timDel.x,pip5.vol.dynBal.U,pip2.cor.del.x,pip2.cor.timDel.x,pip2.vol.dynBal.U,pip3.cor.del.x,pip3.cor.timDel.x,pip3.vol.dynBal.U,senTem_p3.T,senTem_p2.T,senTem_p4.T,senTem_p1.T,pip0.cor.del.x,pip0.cor.timDel.x,pip0.vol.dynBal.U,senTemIn_p2.T) * Number of discrete variables: 4 ($whenCondition1,DataReader.nextTimeEvent,DataReader.nextTimeEventScaled,lessThreshold.y) * Number of discrete states: 2 (DataReader.nextTimeEvent,DataReader.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (346): * Single equations (assignments): 280 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 64 * 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.01042/27.33, allocations: 3.707 MB / 4.109 GB, free: 14.79 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.01982/27.35, allocations: 7.511 MB / 4.117 GB, free: 7.812 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/27.35, allocations: 0 / 4.117 GB, free: 7.812 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.007004/27.36, allocations: 2.165 MB / 4.119 GB, free: 5.758 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04485/27.4, allocations: 3.762 MB / 4.123 GB, free: 2.59 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4551/27.86, allocations: 84.35 MB / 4.205 GB, free: 7.367 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.7929/28.65, allocations: 21.69 MB / 4.226 GB, free: 129.6 MB / 1.104 GB Notification: Performance of SimCode: time 1.994e-06/28.65, allocations: 0 / 4.226 GB, free: 129.6 MB / 1.104 GB