Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.974/1.974, allocations: 194.8 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005986/0.0005986, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09627/0.09691, allocations: 44.51 MB / 308.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4173/0.5143, allocations: 76.74 MB / 385.3 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.5146, allocations: 76.81 kB / 385.4 MB, free: 14.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06933/0.5839, allocations: 15.54 MB / 400.9 MB, free: 13.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.584, allocations: 0 / 400.9 MB, free: 13.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.838e-05/0.5841, allocations: 18.52 kB / 400.9 MB, free: 13.02 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.004032/0.5881, allocations: 1.134 MB / 402 MB, free: 12.18 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.5882, allocations: 11.75 kB / 402.1 MB, free: 12.18 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004705/0.5887, allocations: 120.9 kB / 402.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000359/0.589, allocations: 109.4 kB / 402.3 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/0.5907, allocations: 0.5096 MB / 402.8 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003412/0.591, allocations: 147.5 kB / 402.9 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001918/0.5913, allocations: 67.53 kB / 403 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002646/0.5939, allocations: 0.8429 MB / 403.8 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.066e-05/0.594, allocations: 0 / 403.8 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.5942, allocations: 29.31 kB / 403.9 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.032e-05/0.5942, allocations: 23.44 kB / 403.9 MB, free: 11.18 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002662/0.5969, allocations: 0.583 MB / 404.5 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006768/0.6037, allocations: 2.1 MB / 406.6 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003998/0.6077, allocations: 1.031 MB / 407.6 MB, free: 9.625 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001247/0.6079, allocations: 15.97 kB / 407.6 MB, free: 9.621 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.912e-05/0.608, allocations: 50.92 kB / 407.7 MB, free: 9.578 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 4.027e-06/0.608, allocations: 3.938 kB / 407.7 MB, free: 9.574 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.01078/0.6188, allocations: 1.842 MB / 409.5 MB, free: 8.789 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000249/0.6191, allocations: 0.8303 MB / 410.4 MB, free: 7.777 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.6204, allocations: 0.536 MB / 410.9 MB, free: 7.594 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002533/0.6207, allocations: 46.89 kB / 410.9 MB, free: 7.562 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003145/0.621, allocations: 336.9 kB / 411.3 MB, free: 7.359 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003957/0.6214, allocations: 255 kB / 411.5 MB, free: 7.172 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.163e-05/0.6215, allocations: 15.31 kB / 411.5 MB, free: 7.172 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.925e-05/0.6216, allocations: 336.7 kB / 411.9 MB, free: 6.852 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.6229, allocations: 258.7 kB / 412.1 MB, free: 6.816 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/0.6245, allocations: 0.5253 MB / 412.6 MB, free: 6.5 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.6258, allocations: 389.4 kB / 413 MB, free: 6.363 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.6259, allocations: 0 / 413 MB, free: 6.363 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.005228/0.6311, allocations: 1.06 MB / 414.1 MB, free: 6.027 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.132e-05/0.6312, allocations: 84.89 kB / 414.2 MB, free: 5.934 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/0.6313, allocations: 1.641 kB / 414.2 MB, free: 5.934 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/0.6327, allocations: 252.2 kB / 414.4 MB, free: 5.852 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/0.6342, allocations: 131.3 kB / 414.5 MB, free: 5.824 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/0.6459, allocations: 6.582 MB / 421.1 MB, free: 16.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/0.6472, allocations: 95.75 kB / 421.2 MB, free: 16.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.083e-05/0.6473, allocations: 26.19 kB / 421.2 MB, free: 16.24 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 1,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005722/0.6479, allocations: 215.2 kB / 421.4 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002395/0.6481, allocations: 89.27 kB / 421.5 MB, free: 16.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002368/0.6484, allocations: 90.69 kB / 421.6 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.6484, allocations: 7.656 kB / 421.6 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.6484, allocations: 0 / 421.6 MB, free: 16.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003784/0.6522, allocations: 1.259 MB / 422.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005913/0.6582, allocations: 1.917 MB / 424.8 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.6582, allocations: 3.938 kB / 424.8 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/0.6595, allocations: 132.5 kB / 424.9 MB, free: 14.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009261/0.6604, allocations: 210.9 kB / 425.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001573/0.6606, allocations: 22.86 kB / 425.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01144/0.6721, allocations: 5.121 MB / 430.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.884e-06/0.6721, allocations: 3.984 kB / 430.3 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005342/0.6775, allocations: 1.385 MB / 431.7 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003633/0.6779, allocations: 170.4 kB / 431.8 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002196/0.6781, allocations: 19.03 kB / 431.9 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008044/0.6789, allocations: 46.69 kB / 431.9 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002447/0.6792, allocations: 59.19 kB / 432 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-05/0.6793, allocations: 23.05 kB / 432 MB, free: 9.656 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007845/0.6801, allocations: 436.6 kB / 432.4 MB, free: 9.512 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6801, allocations: 0 / 432.4 MB, free: 9.512 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001358/0.6815, allocations: 287.8 kB / 432.7 MB, free: 9.492 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005432/0.6869, allocations: 1.974 MB / 434.7 MB, free: 8.562 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003088/0.69, allocations: 1.313 MB / 436 MB, free: 7.801 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/0.6901, allocations: 2.906 kB / 436 MB, free: 7.801 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002143/0.6922, allocations: 0.7721 MB / 436.8 MB, free: 7.367 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/0.6938, allocations: 193.3 kB / 436.9 MB, free: 7.316 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005549/0.6993, allocations: 2.503 MB / 439.4 MB, free: 5.625 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006682/0.7, allocations: 0.9539 MB / 440.4 MB, free: 4.801 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006852/0.7007, allocations: 287.7 kB / 440.7 MB, free: 4.77 MB / 330.7 MB Notification: Performance of SimCode: time 1.563e-06/0.7008, allocations: 0 / 440.7 MB, free: 4.77 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.381/4.082, allocations: 23.21 MB / 463.9 MB, free: 0.6406 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat does not exist to compare? outputFormat=mat