Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.267/2.267, allocations: 234.9 MB / 250.5 MB, free: 9.707 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005548/0.000555, allocations: 12 kB / 314.4 MB, free: 9.648 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3627, allocations: 54.85 MB / 369.3 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.0225/0.3852, allocations: 14.1 MB / 383.4 MB, free: 14.53 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009107/0.3944, allocations: 4.083 MB / 387.5 MB, free: 10.44 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009517/0.3954, allocations: 19.81 kB / 387.5 MB, free: 10.42 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.3965, allocations: 270.6 kB / 387.7 MB, free: 10.16 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002592/0.3991, allocations: 0.6997 MB / 388.4 MB, free: 9.457 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003006/0.4022, allocations: 0.6977 MB / 389.1 MB, free: 8.758 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002413/0.4046, allocations: 1.141 MB / 390.3 MB, free: 7.617 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008453/0.4055, allocations: 385.3 kB / 390.7 MB, free: 7.234 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001903/0.4074, allocations: 0.627 MB / 391.3 MB, free: 6.605 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009625/0.4084, allocations: 430.5 kB / 391.7 MB, free: 6.184 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001361/0.4085, allocations: 32 kB / 391.7 MB, free: 6.152 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.4096, allocations: 239.7 kB / 392 MB, free: 5.918 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003314/0.41, allocations: 203.4 kB / 392.2 MB, free: 5.719 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.4102, allocations: 169.3 kB / 392.3 MB, free: 5.547 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001313/0.4116, allocations: 0.7646 MB / 393.1 MB, free: 4.777 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.4116, allocations: 0 / 393.1 MB, free: 4.777 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4116, allocations: 0 / 393.1 MB, free: 4.777 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.088e-06/0.4116, allocations: 0 / 393.1 MB, free: 4.777 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002797/0.4144, allocations: 0.9192 MB / 394 MB, free: 3.809 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.4145, allocations: 8.031 kB / 394 MB, free: 3.801 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001902/0.4147, allocations: 102.5 kB / 394.1 MB, free: 3.691 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004265/0.4151, allocations: 91.08 kB / 394.2 MB, free: 3.602 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.4163, allocations: 0.4927 MB / 394.7 MB, free: 3.066 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.4164, allocations: 100.4 kB / 394.8 MB, free: 2.957 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001326/0.4166, allocations: 47.98 kB / 394.9 MB, free: 2.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/0.4186, allocations: 0.8143 MB / 395.7 MB, free: 2.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/0.4186, allocations: 7.938 kB / 395.7 MB, free: 2.012 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.4187, allocations: 24 kB / 395.7 MB, free: 1.988 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.858e-05/0.4188, allocations: 36.98 kB / 395.7 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.4206, allocations: 0.6439 MB / 396.4 MB, free: 1.309 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007062/0.4277, allocations: 4.225 MB / 400.6 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.4291, allocations: 400 kB / 401 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006543/0.4298, allocations: 0.5029 MB / 401.5 MB, free: 11.78 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.4298, allocations: 42.83 kB / 401.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=40): time 3.106e-06/0.4298, allocations: 0 / 401.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.00488/0.4347, allocations: 1.506 MB / 403 MB, free: 10.17 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.159e-05/0.4348, allocations: 140.5 kB / 403.2 MB, free: 10 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009385/0.4358, allocations: 0.5458 MB / 403.7 MB, free: 9.445 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.029e-05/0.4359, allocations: 37.7 kB / 403.8 MB, free: 9.402 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/0.4362, allocations: 401.9 kB / 404.2 MB, free: 9.004 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.4364, allocations: 169.7 kB / 404.3 MB, free: 8.836 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/0.4365, allocations: 12 kB / 404.3 MB, free: 8.824 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4367, allocations: 338.8 kB / 404.7 MB, free: 8.484 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00065/0.4373, allocations: 225.9 kB / 404.9 MB, free: 8.266 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009532/0.4383, allocations: 0.5372 MB / 405.4 MB, free: 7.574 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008295/0.4391, allocations: 328.5 kB / 405.7 MB, free: 7.258 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.4392, allocations: 4 kB / 405.7 MB, free: 7.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00302/0.4422, allocations: 0.9418 MB / 406.7 MB, free: 6.301 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.4422, allocations: 8 kB / 406.7 MB, free: 6.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/0.4423, allocations: 12 kB / 406.7 MB, free: 6.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001792/0.4441, allocations: 264.7 kB / 407 MB, free: 6.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008099/0.4449, allocations: 135.7 kB / 407.1 MB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.4463, allocations: 0.8566 MB / 408 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009168/0.4473, allocations: 51.94 kB / 408 MB, free: 4.953 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.108e-05/0.4474, allocations: 40 kB / 408 MB, free: 4.914 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004801/0.4479, allocations: 249.4 kB / 408.3 MB, free: 4.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.448, allocations: 67.25 kB / 408.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002133/0.4502, allocations: 0.7152 MB / 409.1 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.4502, allocations: 8 kB / 409.1 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.4502, allocations: 0 / 409.1 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.4502, allocations: 3.984 kB / 409.1 MB, free: 3.859 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003335/0.4536, allocations: 1.376 MB / 410.5 MB, free: 2.402 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.897e-06/0.4536, allocations: 4 kB / 410.5 MB, free: 2.398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001865/0.4555, allocations: 191.7 kB / 410.6 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004925/0.456, allocations: 68.91 kB / 410.7 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.546e-05/0.4561, allocations: 15.98 kB / 410.7 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003198/0.4593, allocations: 2.809 MB / 413.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.4593, allocations: 0 / 413.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002513/0.4618, allocations: 0.9874 MB / 414.5 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004261/0.4623, allocations: 204.3 kB / 414.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.4624, allocations: 12 kB / 414.7 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006802/0.4631, allocations: 31.98 kB / 414.8 MB, free: 13.76 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.4633, allocations: 43.88 kB / 414.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-05/0.4634, allocations: 23.92 kB / 414.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006935/0.4641, allocations: 378.8 kB / 415.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4641, allocations: 0 / 415.2 MB, free: 13.33 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001113/0.4652, allocations: 207.9 kB / 415.4 MB, free: 13.12 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003238/0.4685, allocations: 1.653 MB / 417.1 MB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001851/0.4703, allocations: 0.6127 MB / 417.7 MB, free: 10.81 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.4704, allocations: 0 / 417.7 MB, free: 10.81 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001916/0.4723, allocations: 470.6 kB / 418.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/0.4748, allocations: 309.3 kB / 418.4 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.4853, allocations: 4.393 MB / 422.8 MB, free: 5.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007581/0.4861, allocations: 0.9464 MB / 423.8 MB, free: 4.449 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006075/0.4868, allocations: 239.5 kB / 424 MB, free: 4.215 MB / 346.7 MB Notification: Performance of SimCode: time 1.293e-06/0.4868, allocations: 0 / 424 MB, free: 4.215 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.031/3.517, allocations: 17.69 MB / 441.7 MB, free: 2.535 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat