Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2.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 ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.332/2.332, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.451e-05/2.459e-05, allocations: 4 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3795/0.3795, allocations: 54.85 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.902/8.282, allocations: 2.596 GB / 2.946 GB, free: 119 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/8.282, allocations: 82.27 kB / 2.946 GB, free: 119 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.265/12.55, allocations: 0.7951 GB / 3.741 GB, free: 37.05 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.285e-06/12.55, allocations: 0 / 3.741 GB, free: 37.05 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001837/12.55, allocations: 52.73 kB / 3.741 GB, free: 37.05 MB / 0.4948 GB 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.01357/12.56, allocations: 2.971 MB / 3.744 GB, free: 35.66 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/12.56, allocations: 11.03 kB / 3.744 GB, free: 35.66 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009632/12.57, allocations: 0.8453 MB / 3.745 GB, free: 35.57 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003979/12.57, allocations: 1.138 MB / 3.746 GB, free: 35.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004956/12.58, allocations: 403 kB / 3.746 GB, free: 34.92 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006741/12.58, allocations: 111.5 kB / 3.746 GB, free: 34.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005819/12.58, allocations: 1.854 MB / 3.748 GB, free: 34.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006601/12.59, allocations: 2.356 MB / 3.75 GB, free: 34.16 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001117/12.59, allocations: 15.25 kB / 3.75 GB, free: 34.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003742/12.59, allocations: 16.88 kB / 3.75 GB, free: 34.16 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001392/12.59, allocations: 86.98 kB / 3.751 GB, free: 34.16 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or 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.05966/12.65, allocations: 24.4 MB / 3.774 GB, free: 18.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/12.65, allocations: 0.6665 MB / 3.775 GB, free: 18.74 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007598/12.65, allocations: 351.5 kB / 3.775 GB, free: 18.73 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07641/12.73, allocations: 18.42 MB / 3.793 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.416e-05/12.73, allocations: 45.16 kB / 3.793 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=95): time 3.616e-06/12.73, allocations: 3.719 kB / 3.793 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of matching and sorting (n=111): time 0.01403/12.74, allocations: 3.314 MB / 3.797 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/12.74, allocations: 168.8 kB / 3.797 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/12.74, allocations: 1.001 MB / 3.798 GB, free: 25.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001381/12.74, allocations: 29.36 kB / 3.798 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007679/12.74, allocations: 1.001 MB / 3.799 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004122/12.75, allocations: 398.6 kB / 3.799 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/12.75, allocations: 0 / 3.799 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002549/12.75, allocations: 407 kB / 3.799 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/12.75, allocations: 0.4929 MB / 3.8 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/12.75, allocations: 1.779 MB / 3.802 GB, free: 22.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002532/12.75, allocations: 0.8821 MB / 3.803 GB, free: 22.42 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.689e-05/12.75, allocations: 13.88 kB / 3.803 GB, free: 22.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.006043/12.76, allocations: 2.248 MB / 3.805 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.576e-05/12.76, allocations: 28.06 kB / 3.805 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.097e-05/12.76, allocations: 44.69 kB / 3.805 GB, free: 22.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001455/12.76, allocations: 397.1 kB / 3.805 GB, free: 22.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002844/12.76, allocations: 0.5256 MB / 3.806 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003338/12.77, allocations: 2.771 MB / 3.808 GB, free: 19.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003392/12.77, allocations: 164.7 kB / 3.809 GB, free: 19.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003268/12.77, allocations: 143.8 kB / 3.809 GB, free: 19.91 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 28 (source2.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],sink2.medium.phase,volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],sink1.medium.phase,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 () * 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 {2 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006773/12.77, allocations: 242 kB / 3.809 GB, free: 19.73 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004054/12.77, allocations: 1.192 MB / 3.81 GB, free: 19.53 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002853/12.77, allocations: 151.4 kB / 3.81 GB, free: 19.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006772/12.78, allocations: 3.977 MB / 3.814 GB, free: 18.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.865e-05/12.78, allocations: 39.66 kB / 3.814 GB, free: 18.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/12.78, allocations: 0 / 3.814 GB, free: 18.97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/12.78, allocations: 6.516 kB / 3.814 GB, free: 18.97 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/12.79, allocations: 5.875 MB / 3.82 GB, free: 18.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/12.79, allocations: 7.969 kB / 3.82 GB, free: 18.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/12.79, allocations: 201.9 kB / 3.82 GB, free: 18.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001429/12.79, allocations: 382.8 kB / 3.821 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.172e-05/12.79, allocations: 11.59 kB / 3.821 GB, free: 18.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003186/12.8, allocations: 2.867 MB / 3.823 GB, free: 16.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/12.8, allocations: 11.17 kB / 3.823 GB, free: 16.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006192/12.8, allocations: 3.56 MB / 3.827 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/12.8, allocations: 428.7 kB / 3.827 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003086/12.81, allocations: 10.16 kB / 3.827 GB, free: 15.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/12.81, allocations: 100.5 kB / 3.827 GB, free: 15.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/12.81, allocations: 88.75 kB / 3.827 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/12.81, allocations: 42.69 kB / 3.827 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001432/12.81, allocations: 0.7363 MB / 3.828 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.21e-07/12.81, allocations: 0 / 3.828 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007528/12.82, allocations: 1.369 MB / 3.83 GB, free: 14.72 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 26 ($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,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.01591/12.83, allocations: 7.243 MB / 3.837 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004522/12.84, allocations: 1.825 MB / 3.838 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/12.84, allocations: 0 / 3.838 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002448/12.84, allocations: 1.109 MB / 3.839 GB, free: 8.891 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00473/12.84, allocations: 0.5744 MB / 3.84 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.16/14, allocations: 214.5 MB / 4.049 GB, free: 23.89 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001377/14.01, allocations: 1.6 MB / 4.051 GB, free: 22.58 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00152/14.01, allocations: 0.8395 MB / 4.052 GB, free: 21.82 MB / 0.5261 GB Notification: Performance of SimCode: time 1.422e-06/14.01, allocations: 0 / 4.052 GB, free: 21.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.098/19.11, allocations: 85.75 MB / 4.136 GB, free: 48.23 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat does not exist to compare? outputFormat=mat