Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.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) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.031/2.031, allocations: 209.2 MB / 224.8 MB, free: 1.547 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005986/0.0005988, allocations: 11.98 kB / 282.7 MB, free: 9.676 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1109, allocations: 48.71 MB / 331.4 MB, free: 8.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.869/7.98, allocations: 2.486 GB / 2.81 GB, free: 30 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/7.98, allocations: 88.89 kB / 2.81 GB, free: 29.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.213/12.19, allocations: 0.7845 GB / 3.594 GB, free: 31.92 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.134e-06/12.19, allocations: 2.406 kB / 3.594 GB, free: 31.92 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001626/12.19, allocations: 47.38 kB / 3.594 GB, free: 31.91 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.01382/12.21, allocations: 3.049 MB / 3.597 GB, free: 30.45 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/12.21, allocations: 7.062 kB / 3.597 GB, free: 30.45 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001064/12.21, allocations: 269.4 kB / 3.597 GB, free: 30.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009264/12.22, allocations: 0.7855 MB / 3.598 GB, free: 30.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003893/12.22, allocations: 1.148 MB / 3.599 GB, free: 29.97 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004573/12.22, allocations: 462.8 kB / 3.6 GB, free: 29.65 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005825/12.22, allocations: 166.5 kB / 3.6 GB, free: 29.65 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01117/12.23, allocations: 3.174 MB / 3.603 GB, free: 28.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-05/12.23, allocations: 13.72 kB / 3.603 GB, free: 28.91 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004085/12.23, allocations: 81.75 kB / 3.603 GB, free: 28.91 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001277/12.23, allocations: 84.03 kB / 3.603 GB, free: 28.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01193/12.25, allocations: 2.766 MB / 3.606 GB, free: 28.83 MB / 458.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.02358/12.27, allocations: 15.48 MB / 3.621 GB, free: 17.86 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005734/12.28, allocations: 1.278 MB / 3.622 GB, free: 17.82 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07416/12.35, allocations: 18.21 MB / 3.64 GB, free: 9.668 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.651e-05/12.35, allocations: 49 kB / 3.64 GB, free: 9.629 MB / 458.7 MB Notification: Performance of pre-optimization done (n=101): time 3.456e-06/12.35, allocations: 0 / 3.64 GB, free: 9.629 MB / 458.7 MB Notification: Performance of matching and sorting (n=117): time 0.02432/12.37, allocations: 4.81 MB / 3.645 GB, free: 8.852 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/12.37, allocations: 174.7 kB / 3.645 GB, free: 8.66 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/12.38, allocations: 1.054 MB / 3.646 GB, free: 8.465 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002206/12.38, allocations: 49.55 kB / 3.646 GB, free: 8.434 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006577/12.38, allocations: 0.988 MB / 3.647 GB, free: 7.793 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000428/12.38, allocations: 421.5 kB / 3.647 GB, free: 7.547 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001406/12.38, allocations: 47.34 kB / 3.648 GB, free: 7.547 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/12.38, allocations: 408.5 kB / 3.648 GB, free: 7.23 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002202/12.38, allocations: 0.6374 MB / 3.649 GB, free: 7.215 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002851/12.38, allocations: 1.941 MB / 3.65 GB, free: 5.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002778/12.39, allocations: 0.9844 MB / 3.651 GB, free: 5.367 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.61e-05/12.39, allocations: 12 kB / 3.651 GB, free: 5.367 MB / 458.7 MB Notification: Performance of matching and sorting (n=305) (initialization): time 0.007585/12.39, allocations: 2.74 MB / 3.654 GB, free: 4.91 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.444e-05/12.39, allocations: 25.81 kB / 3.654 GB, free: 4.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.093e-05/12.39, allocations: 45.91 kB / 3.654 GB, free: 4.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001723/12.4, allocations: 409.5 kB / 3.655 GB, free: 4.871 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002931/12.4, allocations: 0.5235 MB / 3.655 GB, free: 4.824 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003056/12.4, allocations: 2.721 MB / 3.658 GB, free: 18.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003062/12.4, allocations: 197.2 kB / 3.658 GB, free: 18.56 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002658/12.41, allocations: 147.9 kB / 3.658 GB, free: 18.54 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.medium.phase,source1.medium.phase,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (277): * Single equations (assignments): 273 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 7,1 7,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.001309/12.41, allocations: 0.5458 MB / 3.659 GB, free: 18.19 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003369/12.41, allocations: 157.6 kB / 3.659 GB, free: 18.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009338/12.42, allocations: 4.654 MB / 3.663 GB, free: 15.96 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.466e-05/12.42, allocations: 53.48 kB / 3.663 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/12.42, allocations: 0 / 3.663 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.29e-05/12.42, allocations: 7.172 kB / 3.663 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01461/12.43, allocations: 6.799 MB / 3.67 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/12.43, allocations: 3.875 kB / 3.67 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/12.43, allocations: 225.8 kB / 3.67 GB, free: 10.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00197/12.43, allocations: 394.7 kB / 3.671 GB, free: 10.66 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001989/12.43, allocations: 31.52 kB / 3.671 GB, free: 10.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003401/12.44, allocations: 2.767 MB / 3.673 GB, free: 7.887 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/12.44, allocations: 7.938 kB / 3.673 GB, free: 7.879 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01022/12.45, allocations: 4.073 MB / 3.677 GB, free: 4.027 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/12.45, allocations: 444.9 kB / 3.678 GB, free: 3.621 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004192/12.45, allocations: 35.47 kB / 3.678 GB, free: 3.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001826/12.45, allocations: 113 kB / 3.678 GB, free: 3.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002947/12.45, allocations: 101.5 kB / 3.678 GB, free: 3.438 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/12.45, allocations: 43.94 kB / 3.678 GB, free: 3.398 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001843/12.45, allocations: 0.8111 MB / 3.679 GB, free: 2.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.7e-07/12.45, allocations: 4 kB / 3.679 GB, free: 2.727 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008562/12.46, allocations: 1.455 MB / 3.68 GB, free: 1.305 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 32 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,sink1.medium.phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.02231/12.49, allocations: 7.309 MB / 3.687 GB, free: 10.85 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.006987/12.49, allocations: 2.172 MB / 3.689 GB, free: 8.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.406e-05/12.49, allocations: 5 kB / 3.689 GB, free: 8.926 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003864/12.5, allocations: 1.298 MB / 3.691 GB, free: 7.758 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005447/12.5, allocations: 0.6114 MB / 3.691 GB, free: 7.309 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.373/13.87, allocations: 251.8 MB / 3.937 GB, free: 18.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001499/13.88, allocations: 1.641 MB / 3.939 GB, free: 17.69 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/13.88, allocations: 0.8709 MB / 3.94 GB, free: 17.69 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/13.88, allocations: 0 / 3.94 GB, free: 17.69 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.404/18.28, allocations: 85.65 MB / 4.023 GB, free: 8.688 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat does not exist to compare? outputFormat=mat