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.MSLAIT2Nodes.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.MSLAIT2Nodes,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_MSLAIT2Nodes",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.023/4.023, allocations: 433 MB / 440.3 MB, free: 4.836 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4935/4.517, allocations: 104.3 MB / 0.5319 GB, free: 12.94 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/4.734, allocations: 98.73 MB / 0.6283 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.119/5.853, allocations: 452.4 MB / 1.07 GB, free: 1.848 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/5.854, allocations: 92.5 kB / 1.07 GB, free: 1.801 MB / 0.8073 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: 1031 * Number of variables: 1031 Notification: Performance of Generate backend data structure: time 9.353/15.21, allocations: 1.315 GB / 2.386 GB, free: 56.3 MB / 0.87 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/15.21, allocations: 8.75 kB / 2.386 GB, free: 56.3 MB / 0.87 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01746/15.22, allocations: 4.28 MB / 2.39 GB, free: 53.93 MB / 0.87 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1223/15.35, allocations: 27.89 MB / 2.417 GB, free: 48.24 MB / 0.87 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003455/15.35, allocations: 121 kB / 2.417 GB, free: 48.23 MB / 0.87 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002403/15.35, allocations: 237.6 kB / 2.417 GB, free: 48.23 MB / 0.87 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01743/15.37, allocations: 5.088 MB / 2.422 GB, free: 48.21 MB / 0.87 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01956/15.39, allocations: 5.405 MB / 2.428 GB, free: 47.42 MB / 0.87 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001867/15.39, allocations: 15.06 kB / 2.428 GB, free: 47.42 MB / 0.87 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001154/15.39, allocations: 13.34 kB / 2.428 GB, free: 47.42 MB / 0.87 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000536/15.39, allocations: 406 kB / 2.428 GB, free: 47.41 MB / 0.87 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1581/15.55, allocations: 49.16 MB / 2.476 GB, free: 33.38 MB / 0.87 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/15.56, allocations: 3.979 MB / 2.48 GB, free: 33.34 MB / 0.87 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006738/15.57, allocations: 2.269 MB / 2.482 GB, free: 33.31 MB / 0.87 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07651/15.64, allocations: 19.52 MB / 2.501 GB, free: 27.71 MB / 0.87 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005411/15.65, allocations: 2.016 MB / 2.503 GB, free: 27.61 MB / 0.87 GB Notification: Performance of pre-optimization done (n=304): time 9.378e-06/15.65, allocations: 0 / 2.503 GB, free: 27.61 MB / 0.87 GB Notification: Performance of matching and sorting (n=328): time 0.1802/15.83, allocations: 27.29 MB / 2.53 GB, free: 19.98 MB / 0.87 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/15.83, allocations: 85.27 kB / 2.53 GB, free: 19.91 MB / 0.87 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.253/20.08, allocations: 72.43 MB / 2.601 GB, free: 5.902 MB / 0.87 GB Notification: Performance of collectPreVariables (initialization): time 0.001451/20.08, allocations: 29.7 kB / 2.601 GB, free: 5.867 MB / 0.87 GB Notification: Performance of collectInitialEqns (initialization): time 0.01829/20.1, allocations: 6.707 MB / 2.607 GB, free: 2.43 MB / 0.87 GB Notification: Performance of collectInitialBindings (initialization): time 0.003467/20.1, allocations: 1.097 MB / 2.608 GB, free: 1.555 MB / 0.87 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00147/20.11, allocations: 7.625 kB / 2.608 GB, free: 1.551 MB / 0.87 GB Notification: Performance of setup shared object (initialization): time 0.0007576/20.11, allocations: 471.4 kB / 2.609 GB, free: 1.191 MB / 0.87 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009257/20.12, allocations: 1.893 MB / 2.611 GB, free: 164 kB / 0.87 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02258/20.14, allocations: 3.35 MB / 2.614 GB, free: 14.78 MB / 0.8857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05473/20.19, allocations: 5.185 MB / 2.619 GB, free: 11.42 MB / 0.8857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.429e-05/20.19, allocations: 8 kB / 2.619 GB, free: 11.41 MB / 0.8857 GB Notification: Performance of matching and sorting (n=517) (initialization): time 0.07558/20.27, allocations: 11.7 MB / 2.63 GB, free: 1.441 MB / 0.8857 GB Notification: Performance of prepare postOptimizeDAE: time 0.02095/20.29, allocations: 42.66 MB / 2.672 GB, free: 6.105 MB / 0.9325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002082/20.29, allocations: 28 kB / 2.672 GB, free: 6.078 MB / 0.9325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002266/20.29, allocations: 52 kB / 2.672 GB, free: 6.027 MB / 0.9325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.07012/20.36, allocations: 2.941 MB / 2.675 GB, free: 3.992 MB / 0.9325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03524/20.4, allocations: 5.389 MB / 2.68 GB, free: 15.06 MB / 0.9482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02469/20.42, allocations: 292 kB / 2.681 GB, free: 14.87 MB / 0.9482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001734/20.42, allocations: 206.5 kB / 2.681 GB, free: 14.69 MB / 0.9482 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/20.42, allocations: 4 kB / 2.681 GB, free: 14.68 MB / 0.9482 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04036/20.46, allocations: 6.187 MB / 2.687 GB, free: 9.848 MB / 0.9482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-05/20.46, allocations: 28 kB / 2.687 GB, free: 9.82 MB / 0.9482 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.388e-05/20.46, allocations: 52 kB / 2.687 GB, free: 9.77 MB / 0.9482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01455/20.48, allocations: 1.338 MB / 2.688 GB, free: 8.762 MB / 0.9482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001278/20.48, allocations: 71.83 kB / 2.688 GB, free: 8.711 MB / 0.9482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02175/20.5, allocations: 286.2 kB / 2.688 GB, free: 8.523 MB / 0.9482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001742/20.5, allocations: 203.4 kB / 2.689 GB, free: 8.348 MB / 0.9482 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 125 * 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 (513): * Single equations (assignments): 506 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001682/20.5, allocations: 219.2 kB / 2.689 GB, free: 8.184 MB / 0.9482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01879/20.52, allocations: 4.048 MB / 2.693 GB, free: 4.082 MB / 0.9482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1087/20.63, allocations: 13.04 MB / 2.706 GB, free: 10.61 MB / 0.9638 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001391/20.63, allocations: 43.8 kB / 2.706 GB, free: 10.57 MB / 0.9638 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.348e-05/20.63, allocations: 0 / 2.706 GB, free: 10.57 MB / 0.9638 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.08273/20.71, allocations: 6.836 MB / 2.712 GB, free: 5.184 MB / 0.9638 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8089/21.52, allocations: 44.23 MB / 2.755 GB, free: 201.5 MB / 0.9638 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.972e-05/21.52, allocations: 13.59 kB / 2.756 GB, free: 201.5 MB / 0.9638 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0508/21.57, allocations: 2.556 MB / 2.758 GB, free: 201.5 MB / 0.9638 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.896e-05/21.57, allocations: 32.41 kB / 2.758 GB, free: 201.5 MB / 0.9638 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001037/21.58, allocations: 70.72 kB / 2.758 GB, free: 201.5 MB / 0.9638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01978/21.6, allocations: 5.247 MB / 2.763 GB, free: 198 MB / 0.9638 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.099e-05/21.6, allocations: 20.41 kB / 2.763 GB, free: 198 MB / 0.9638 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0814/21.68, allocations: 31.05 MB / 2.794 GB, free: 180.1 MB / 0.9638 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.09003/21.77, allocations: 35.29 MB / 2.828 GB, free: 160 MB / 0.9638 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03395/21.8, allocations: 8.703 MB / 2.837 GB, free: 157.6 MB / 0.9638 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01374/21.81, allocations: 33.19 kB / 2.837 GB, free: 157.6 MB / 0.9638 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.019/21.83, allocations: 199.3 kB / 2.837 GB, free: 157.6 MB / 0.9638 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001465/21.84, allocations: 243.9 kB / 2.837 GB, free: 157.5 MB / 0.9638 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008894/21.84, allocations: 140.5 kB / 2.837 GB, free: 157.5 MB / 0.9638 GB Notification: Performance of sort global known variables: time 0.1758/22.01, allocations: 57.01 MB / 2.893 GB, free: 156.2 MB / 0.9638 GB Notification: Performance of remove unused functions: time 0.05035/22.06, allocations: 9.375 MB / 2.902 GB, free: 156.2 MB / 0.9638 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 17 (pip0.mediums[1].T,pip0.mediums[2].T,pip1.mediums[1].T,pip1.mediums[2].T,pip2.mediums[1].T,pip2.mediums[2].T,pip3.mediums[1].T,pip3.mediums[2].T,pip4.mediums[1].T,pip4.mediums[2].T,pip5.mediums[1].T,pip5.mediums[2].T,senTem_p2.T,senTem_p3.T,senTemIn_p2.T,senTem_p1.T,senTem_p4.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 (389): * Single equations (assignments): 365 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005724/22.07, allocations: 1.701 MB / 2.904 GB, free: 156 MB / 0.9638 GB Notification: Performance of simCode: created initialization part: time 0.09266/22.16, allocations: 11.69 MB / 2.915 GB, free: 155.5 MB / 0.9638 GB Notification: Performance of simCode: created event and clocks part: time 2.588e-05/22.16, allocations: 2.344 kB / 2.915 GB, free: 155.5 MB / 0.9638 GB Notification: Performance of simCode: created simulation system equations: time 0.07377/22.23, allocations: 4.587 MB / 2.92 GB, free: 155.5 MB / 0.9638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03155/22.27, allocations: 3.053 MB / 2.922 GB, free: 155.4 MB / 0.9638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2812/22.55, allocations: 79.15 MB / 3 GB, free: 124.3 MB / 0.9638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.06908/22.62, allocations: 20.78 MB / 3.02 GB, free: 111.9 MB / 0.9638 GB Notification: Performance of SimCode: time 2.053e-06/22.62, allocations: 2.625 kB / 3.02 GB, free: 111.9 MB / 0.9638 GB