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.Data.TestData.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.Data.TestData,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_Data_TestData",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.894/3.894, allocations: 433 MB / 440.3 MB, free: 4.773 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5759/4.47, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/4.709, allocations: 98.72 MB / 0.6283 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2355/4.945, allocations: 126.3 MB / 0.7516 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/4.945, allocations: 91.58 kB / 0.7517 GB, free: 11.22 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 3.438/8.383, allocations: 398.7 MB / 1.141 GB, free: 179.6 MB / 0.7918 GB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/8.383, allocations: 6.562 kB / 1.141 GB, free: 179.6 MB / 0.7918 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008132/8.391, allocations: 3.708 MB / 1.145 GB, free: 177.5 MB / 0.7918 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09376/8.485, allocations: 24.12 MB / 1.168 GB, free: 172.3 MB / 0.7918 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/8.485, allocations: 1.438 kB / 1.168 GB, free: 172.3 MB / 0.7918 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.815e-05/8.485, allocations: 10.22 kB / 1.168 GB, free: 172.3 MB / 0.7918 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005349/8.486, allocations: 184.4 kB / 1.168 GB, free: 172.3 MB / 0.7918 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/8.486, allocations: 114.8 kB / 1.168 GB, free: 172.2 MB / 0.7918 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/8.486, allocations: 0 / 1.168 GB, free: 172.2 MB / 0.7918 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/8.486, allocations: 5.438 kB / 1.168 GB, free: 172.2 MB / 0.7918 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/8.486, allocations: 1.062 kB / 1.168 GB, free: 172.2 MB / 0.7918 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05157/8.538, allocations: 19.38 MB / 1.187 GB, free: 164.4 MB / 0.7918 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006211/8.538, allocations: 152.1 kB / 1.188 GB, free: 164.3 MB / 0.7918 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002464/8.538, allocations: 68.03 kB / 1.188 GB, free: 164.2 MB / 0.7918 GB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/8.539, allocations: 0 / 1.188 GB, free: 164.2 MB / 0.7918 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002556/8.539, allocations: 121.5 kB / 1.188 GB, free: 164.1 MB / 0.7918 GB Notification: Performance of pre-optimization done (n=13): time 2.705e-06/8.539, allocations: 3.938 kB / 1.188 GB, free: 164.1 MB / 0.7918 GB Notification: Performance of matching and sorting (n=13): time 0.008702/8.548, allocations: 3.868 MB / 1.192 GB, free: 160.2 MB / 0.7918 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.206e-05/8.548, allocations: 55.41 kB / 1.192 GB, free: 160.1 MB / 0.7918 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.696/13.24, allocations: 70.55 MB / 1.26 GB, free: 97.96 MB / 0.7918 GB Notification: Performance of collectPreVariables (initialization): time 9.87e-05/13.24, allocations: 29.7 kB / 1.26 GB, free: 97.93 MB / 0.7918 GB Notification: Performance of collectInitialEqns (initialization): time 0.01237/13.26, allocations: 5.261 MB / 1.266 GB, free: 93.37 MB / 0.7918 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/13.26, allocations: 43.36 kB / 1.266 GB, free: 93.33 MB / 0.7918 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.696e-05/13.26, allocations: 4 kB / 1.266 GB, free: 93.32 MB / 0.7918 GB Notification: Performance of setup shared object (initialization): time 7.147e-05/13.26, allocations: 318 kB / 1.266 GB, free: 93.01 MB / 0.7918 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/13.26, allocations: 71.98 kB / 1.266 GB, free: 92.94 MB / 0.7918 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/13.26, allocations: 89.7 kB / 1.266 GB, free: 92.84 MB / 0.7918 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/13.26, allocations: 83.94 kB / 1.266 GB, free: 92.76 MB / 0.7918 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/13.26, allocations: 0 / 1.266 GB, free: 92.76 MB / 0.7918 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.01144/13.27, allocations: 3.944 MB / 1.27 GB, free: 88.76 MB / 0.7918 GB Notification: Performance of prepare postOptimizeDAE: time 2.437e-05/13.27, allocations: 12.03 kB / 1.27 GB, free: 88.75 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/13.27, allocations: 0 / 1.27 GB, free: 88.75 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/13.27, allocations: 3.906 kB / 1.27 GB, free: 88.75 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/13.27, allocations: 31.92 kB / 1.27 GB, free: 88.71 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/13.27, allocations: 0 / 1.27 GB, free: 88.71 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009772/13.28, allocations: 15.78 kB / 1.27 GB, free: 88.7 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-05/13.28, allocations: 11.98 kB / 1.27 GB, free: 88.69 MB / 0.7918 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 15 * 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.0001264/13.28, allocations: 105 kB / 1.27 GB, free: 88.58 MB / 0.7918 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01052/13.29, allocations: 3.704 MB / 1.274 GB, free: 84.82 MB / 0.7918 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0156/13.31, allocations: 4.963 MB / 1.279 GB, free: 79.85 MB / 0.7918 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/13.31, allocations: 4 kB / 1.279 GB, free: 79.84 MB / 0.7918 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/13.31, allocations: 0 / 1.279 GB, free: 79.84 MB / 0.7918 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/13.31, allocations: 11.88 kB / 1.279 GB, free: 79.83 MB / 0.7918 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04558/13.35, allocations: 17.34 MB / 1.296 GB, free: 62.44 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/13.35, allocations: 224 / 1.296 GB, free: 62.44 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003315/13.35, allocations: 35.92 kB / 1.296 GB, free: 62.41 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.779e-06/13.35, allocations: 3.938 kB / 1.296 GB, free: 62.4 MB / 0.7918 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.203e-05/13.35, allocations: 8 kB / 1.296 GB, free: 62.39 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/13.35, allocations: 0 / 1.296 GB, free: 62.39 MB / 0.7918 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/13.35, allocations: 0 / 1.296 GB, free: 62.39 MB / 0.7918 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01196/13.36, allocations: 4.184 MB / 1.3 GB, free: 58.14 MB / 0.7918 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01244/13.38, allocations: 5.373 MB / 1.305 GB, free: 52.7 MB / 0.7918 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03102/13.41, allocations: 7.941 MB / 1.313 GB, free: 44.69 MB / 0.7918 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01073/13.42, allocations: 4 kB / 1.313 GB, free: 44.69 MB / 0.7918 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01212/13.43, allocations: 7.984 kB / 1.313 GB, free: 44.68 MB / 0.7918 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001562/13.43, allocations: 7.984 kB / 1.313 GB, free: 44.67 MB / 0.7918 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.038e-05/13.43, allocations: 12 kB / 1.313 GB, free: 44.66 MB / 0.7918 GB Notification: Performance of sort global known variables: time 0.1655/13.6, allocations: 55.56 MB / 1.367 GB, free: 5.348 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.01562/13.61, allocations: 3.332 MB / 1.37 GB, free: 2.016 MB / 0.8074 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 20 * 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.0009767/13.61, allocations: 312.6 kB / 1.371 GB, free: 1.754 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.0006093/13.61, allocations: 221.5 kB / 1.371 GB, free: 1.531 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/13.61, allocations: 4 kB / 1.371 GB, free: 1.527 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 0.0002332/13.61, allocations: 87.92 kB / 1.371 GB, free: 1.441 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01938/13.63, allocations: 1.829 MB / 1.373 GB, free: 15.64 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.313/14.95, allocations: 68.5 MB / 1.44 GB, free: 283 MB / 0.8232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05688/15, allocations: 17.63 MB / 1.457 GB, free: 279.9 MB / 0.8232 GB Notification: Performance of SimCode: time 2.535e-06/15, allocations: 0 / 1.457 GB, free: 279.9 MB / 0.8232 GB