Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.866/1.866, allocations: 171.2 MB / 186.1 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003763, allocations: 15.98 kB / 233.4 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07993/0.08034, allocations: 38.76 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3611/0.4415, allocations: 71.93 MB / 344 MB, free: 1.27 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003784/0.4419, allocations: 80.02 kB / 344.1 MB, free: 1.227 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1056/0.5475, allocations: 15.67 MB / 359.8 MB, free: 4.016 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.5476, allocations: 0 / 359.8 MB, free: 4.016 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.837e-05/0.5477, allocations: 12 kB / 359.8 MB, free: 4.004 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.005224/0.5529, allocations: 1.173 MB / 361 MB, free: 2.824 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.967e-05/0.553, allocations: 12.03 kB / 361 MB, free: 2.812 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005853/0.5536, allocations: 112.6 kB / 361.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004501/0.5541, allocations: 102.9 kB / 361.2 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/0.5563, allocations: 0.5193 MB / 361.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004883/0.5569, allocations: 153.5 kB / 361.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003021/0.5572, allocations: 55 kB / 361.9 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003613/0.5608, allocations: 0.8701 MB / 362.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.659e-05/0.561, allocations: 0 / 362.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/0.5612, allocations: 27.31 kB / 362.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/0.5613, allocations: 16 kB / 362.8 MB, free: 1.188 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004016/0.5653, allocations: 0.648 MB / 363.5 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008912/0.5743, allocations: 2.085 MB / 365.6 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00291/0.5772, allocations: 1.07 MB / 366.6 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000117/0.5774, allocations: 16.66 kB / 366.7 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.514e-05/0.5775, allocations: 49.7 kB / 366.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of pre-optimization done (n=74): time 4.098e-06/0.5775, allocations: 0 / 366.7 MB, free: 14.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.009854/0.5874, allocations: 1.992 MB / 368.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004032/0.5878, allocations: 0.8194 MB / 369.5 MB, free: 11.31 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001147/0.589, allocations: 0.537 MB / 370.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002478/0.5893, allocations: 47.39 kB / 370.1 MB, free: 10.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/0.5896, allocations: 329.9 kB / 370.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003348/0.5899, allocations: 258.4 kB / 370.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.884e-05/0.59, allocations: 14.12 kB / 370.7 MB, free: 10.44 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.5902, allocations: 386.4 kB / 371.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001248/0.5915, allocations: 292.8 kB / 371.4 MB, free: 9.879 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.5931, allocations: 0.5659 MB / 371.9 MB, free: 9.344 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.5944, allocations: 414.7 kB / 372.3 MB, free: 9.035 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.5945, allocations: 3.938 kB / 372.3 MB, free: 9.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004768/0.5993, allocations: 1.183 MB / 373.5 MB, free: 8.055 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.359e-05/0.5994, allocations: 81.11 kB / 373.6 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.5994, allocations: 0 / 373.6 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.6006, allocations: 251.6 kB / 373.8 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.6019, allocations: 145.9 kB / 374 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01279/0.6147, allocations: 6.577 MB / 380.6 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/0.617, allocations: 115.3 kB / 380.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000233/0.6173, allocations: 19.12 kB / 380.7 MB, free: 1.008 MB / 298.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 (69): * Single equations (assignments): 62 * 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 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000917/0.6182, allocations: 228.7 kB / 380.9 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004645/0.6187, allocations: 83.14 kB / 381 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004215/0.6192, allocations: 87.92 kB / 381.1 MB, free: 0.7031 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/0.6192, allocations: 8 kB / 381.1 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.6192, allocations: 0 / 381.1 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006432/0.6257, allocations: 1.328 MB / 382.4 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/0.6361, allocations: 2.004 MB / 384.4 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.6361, allocations: 0 / 384.4 MB, free: 13.4 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002035/0.6382, allocations: 151.7 kB / 384.6 MB, free: 13.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001419/0.6397, allocations: 214.5 kB / 384.8 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001785/0.6399, allocations: 15.98 kB / 384.8 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01526/0.6552, allocations: 5.118 MB / 389.9 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.6552, allocations: 0 / 389.9 MB, free: 7.496 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009286/0.6645, allocations: 1.519 MB / 391.4 MB, free: 5.949 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005028/0.6651, allocations: 164.1 kB / 391.6 MB, free: 5.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003751/0.6655, allocations: 19.98 kB / 391.6 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/0.6669, allocations: 59.88 kB / 391.7 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003849/0.6673, allocations: 68.55 kB / 391.7 MB, free: 5.625 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.6675, allocations: 19.94 kB / 391.8 MB, free: 5.605 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001326/0.6688, allocations: 435.1 kB / 392.2 MB, free: 5.188 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.6688, allocations: 0 / 392.2 MB, free: 5.188 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001438/0.6703, allocations: 283.7 kB / 392.5 MB, free: 4.91 MB / 314.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.00668/0.677, allocations: 2.087 MB / 394.5 MB, free: 2.781 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003899/0.6809, allocations: 1.399 MB / 395.9 MB, free: 1.297 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/0.681, allocations: 3.938 kB / 395.9 MB, free: 1.293 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002574/0.6836, allocations: 0.8043 MB / 396.7 MB, free: 464 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.6852, allocations: 200 kB / 396.9 MB, free: 260 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007145/0.6924, allocations: 2.577 MB / 399.5 MB, free: 13.62 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007514/0.6932, allocations: 0.9477 MB / 400.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0007675/0.694, allocations: 90.06 kB / 400.6 MB, free: 12.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006472/0.6947, allocations: 287.3 kB / 400.8 MB, free: 12.28 MB / 330.7 MB Notification: Performance of SimCode: time 1.242e-06/0.6947, allocations: 0 / 400.8 MB, free: 12.28 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07689/0.7716, allocations: 21.92 MB / 422.8 MB, free: 6.402 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/0.7719, allocations: 201.5 kB / 423 MB, free: 6.164 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.785/4.557, allocations: 0 / 423 MB, free: 6.164 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat does not exist to compare? outputFormat=mat