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.FlowReversal.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.FlowReversal,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",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.112/4.112, allocations: 433 MB / 440.3 MB, free: 4.797 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4882/4.6, allocations: 104.3 MB / 0.5319 GB, free: 13.09 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/4.815, allocations: 98.71 MB / 0.6283 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/5.837, allocations: 423.2 MB / 1.042 GB, free: 13.95 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004214/5.838, allocations: 101.4 kB / 1.042 GB, free: 13.9 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 2.24/8.078, allocations: 451.1 MB / 1.482 GB, free: 166.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/8.078, allocations: 10.59 kB / 1.482 GB, free: 166.2 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005338/8.079, allocations: 129.9 kB / 1.482 GB, free: 166.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03299/8.112, allocations: 8.919 MB / 1.491 GB, free: 165.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/8.112, allocations: 25.02 kB / 1.491 GB, free: 165.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/8.112, allocations: 38.31 kB / 1.491 GB, free: 165.6 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001479/8.113, allocations: 460.1 kB / 1.491 GB, free: 165.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/8.115, allocations: 0.6254 MB / 1.492 GB, free: 165.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.885e-05/8.115, allocations: 3.188 kB / 1.492 GB, free: 165.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.758e-05/8.115, allocations: 3.906 kB / 1.492 GB, free: 165.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/8.115, allocations: 21.89 kB / 1.492 GB, free: 165.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01023/8.126, allocations: 4.312 MB / 1.496 GB, free: 162.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/8.127, allocations: 272.8 kB / 1.497 GB, free: 162.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007932/8.128, allocations: 182.2 kB / 1.497 GB, free: 162.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002172/8.13, allocations: 1.513 MB / 1.498 GB, free: 161.1 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/8.13, allocations: 37.95 kB / 1.498 GB, free: 161.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=41): time 5.17e-06/8.13, allocations: 0 / 1.498 GB, free: 161.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=41): time 0.006411/8.137, allocations: 0.6229 MB / 1.499 GB, free: 161 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/8.137, allocations: 62.67 kB / 1.499 GB, free: 160.9 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/8.138, allocations: 0.6504 MB / 1.5 GB, free: 160.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001302/8.138, allocations: 25.7 kB / 1.5 GB, free: 160.8 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002581/8.139, allocations: 356.9 kB / 1.5 GB, free: 160.6 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002049/8.139, allocations: 142.1 kB / 1.5 GB, free: 160.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/8.139, allocations: 0 / 1.5 GB, free: 160.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.523e-05/8.139, allocations: 321.7 kB / 1.5 GB, free: 160.2 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/8.139, allocations: 155.2 kB / 1.501 GB, free: 160.2 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004992/8.14, allocations: 301.4 kB / 1.501 GB, free: 160.1 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001923/8.142, allocations: 332.1 kB / 1.501 GB, free: 160.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/8.142, allocations: 0 / 1.501 GB, free: 160.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003809/8.146, allocations: 0.7392 MB / 1.502 GB, free: 160 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003462/8.146, allocations: 1.48 MB / 1.503 GB, free: 158.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-05/8.146, allocations: 7.844 kB / 1.503 GB, free: 158.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006053/8.147, allocations: 87.08 kB / 1.503 GB, free: 158.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007466/8.148, allocations: 104.4 kB / 1.504 GB, free: 158.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007535/8.148, allocations: 0.6085 MB / 1.504 GB, free: 157.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/8.15, allocations: 81.03 kB / 1.504 GB, free: 157.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/8.15, allocations: 35.47 kB / 1.504 GB, free: 157.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/8.15, allocations: 4.844 kB / 1.504 GB, free: 157.9 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00456/8.155, allocations: 0.6311 MB / 1.505 GB, free: 157.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.065e-05/8.155, allocations: 3.781 kB / 1.505 GB, free: 157.9 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005402/8.155, allocations: 81.48 kB / 1.505 GB, free: 157.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007149/8.156, allocations: 101.3 kB / 1.505 GB, free: 157.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007088/8.157, allocations: 0.6193 MB / 1.506 GB, free: 157.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/8.158, allocations: 73.34 kB / 1.506 GB, free: 157.3 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/8.158, allocations: 33.19 kB / 1.506 GB, free: 157.3 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002233/8.159, allocations: 110.8 kB / 1.506 GB, free: 157.2 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002563/8.159, allocations: 89.22 kB / 1.506 GB, free: 157.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004368/8.163, allocations: 1.103 MB / 1.507 GB, free: 157.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.103e-05/8.163, allocations: 11.64 kB / 1.507 GB, free: 157.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/8.163, allocations: 3.969 kB / 1.507 GB, free: 157.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002899/8.166, allocations: 0.9054 MB / 1.508 GB, free: 156.7 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005776/8.172, allocations: 1.719 MB / 1.51 GB, free: 156.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.623e-05/8.172, allocations: 3.938 kB / 1.51 GB, free: 156.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006074/8.173, allocations: 77.92 kB / 1.51 GB, free: 156.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002651/8.173, allocations: 51.83 kB / 1.51 GB, free: 156.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.79e-05/8.173, allocations: 10.34 kB / 1.51 GB, free: 156.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006539/8.174, allocations: 0.6066 MB / 1.51 GB, free: 155.9 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/8.174, allocations: 6.641 kB / 1.51 GB, free: 155.9 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003958/8.178, allocations: 1.211 MB / 1.511 GB, free: 155.6 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004974/8.183, allocations: 1.987 MB / 1.513 GB, free: 155 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008279/8.184, allocations: 250.7 kB / 1.514 GB, free: 154.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002244/8.184, allocations: 3.75 kB / 1.514 GB, free: 154.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/8.185, allocations: 58.31 kB / 1.514 GB, free: 154.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/8.185, allocations: 35.83 kB / 1.514 GB, free: 154.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.187e-05/8.185, allocations: 18 kB / 1.514 GB, free: 154.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001108/8.187, allocations: 0.4989 MB / 1.514 GB, free: 154.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005406/8.192, allocations: 0.82 MB / 1.515 GB, free: 154.7 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001995/8.194, allocations: 0.7336 MB / 1.516 GB, free: 154.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002313/8.196, allocations: 0.8875 MB / 1.517 GB, free: 154.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/8.196, allocations: 0 / 1.517 GB, free: 154.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007486/8.197, allocations: 362.2 kB / 1.517 GB, free: 154.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00661/8.204, allocations: 387.6 kB / 1.517 GB, free: 154.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008484/8.212, allocations: 1.345 MB / 1.519 GB, free: 153.9 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/8.214, allocations: 1.176 MB / 1.52 GB, free: 153.2 MB / 0.823 GB Notification: Performance of SimCode: time 2.224e-06/8.214, allocations: 0 / 1.52 GB, free: 153.2 MB / 0.823 GB