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.TestTemperature1.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.TestTemperature1,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.968/1.968, allocations: 209.2 MB / 224.8 MB, free: 0.5391 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004364, allocations: 16 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3386, allocations: 48.7 MB / 331.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1): time 0.1044/0.443, allocations: 59.9 MB / 391.2 MB, free: 2.508 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04897/0.492, allocations: 24.01 MB / 415.2 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002387/0.4945, allocations: 51.56 kB / 415.2 MB, free: 10.39 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003667/0.4982, allocations: 0.7271 MB / 416 MB, free: 9.66 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02133/0.5196, allocations: 4.578 MB / 420.5 MB, free: 5.07 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01618/0.5358, allocations: 3.705 MB / 424.3 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005762/0.5416, allocations: 2.387 MB / 426.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002098/0.5437, allocations: 0.8323 MB / 427.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01256/0.5564, allocations: 3.952 MB / 431.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002272/0.5587, allocations: 0.8056 MB / 432.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005473/0.5593, allocations: 72 kB / 432.3 MB, free: 9.273 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02219/0.5815, allocations: 6.809 MB / 439.1 MB, free: 2.457 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009803/0.5825, allocations: 386.8 kB / 439.5 MB, free: 2.078 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007216/0.5833, allocations: 317 kB / 439.8 MB, free: 1.762 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.5943, allocations: 3.96 MB / 443.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.5944, allocations: 8 kB / 443.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.5944, allocations: 0 / 443.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.811e-05/0.5945, allocations: 0 / 443.8 MB, free: 13.79 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 321 * Number of variables: 321 Notification: Performance of Generate backend data structure: time 0.008485/0.603, allocations: 2.094 MB / 445.9 MB, free: 11.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.6031, allocations: 8.031 kB / 445.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006167/0.6037, allocations: 202 kB / 446.1 MB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007958/0.6117, allocations: 0.7047 MB / 446.8 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002683/0.6144, allocations: 0.8644 MB / 447.6 MB, free: 9.809 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004222/0.6149, allocations: 237.3 kB / 447.9 MB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004586/0.6153, allocations: 124 kB / 448 MB, free: 9.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009343/0.6247, allocations: 2.279 MB / 450.3 MB, free: 6.969 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.037e-05/0.6249, allocations: 7.938 kB / 450.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003391/0.6252, allocations: 67.94 kB / 450.3 MB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001153/0.6253, allocations: 54.03 kB / 450.4 MB, free: 6.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009826/0.6352, allocations: 2.045 MB / 452.4 MB, free: 4.785 MB / 378.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.02046/0.6557, allocations: 10.58 MB / 463 MB, free: 9.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00607/0.6618, allocations: 1.156 MB / 464.2 MB, free: 8.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07854/0.7404, allocations: 19.37 MB / 483.5 MB, free: 2.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.792e-05/0.7405, allocations: 55.5 kB / 483.6 MB, free: 2.848 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008625/0.7414, allocations: 102.9 kB / 483.7 MB, free: 2.746 MB / 410.7 MB Notification: Performance of pre-optimization done (n=88): time 3.927e-06/0.7414, allocations: 4 kB / 483.7 MB, free: 2.742 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.291/1.032, allocations: 3.837 MB / 487.5 MB, free: 137.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.257e-05/1.033, allocations: 169.7 kB / 487.7 MB, free: 137.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/1.034, allocations: 0.8803 MB / 488.6 MB, free: 136.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002363/1.035, allocations: 43.48 kB / 488.6 MB, free: 136.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005347/1.035, allocations: 0.7024 MB / 489.3 MB, free: 136.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004294/1.036, allocations: 347.8 kB / 489.7 MB, free: 136 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/1.036, allocations: 29.94 kB / 489.7 MB, free: 136 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/1.036, allocations: 371.1 kB / 490.1 MB, free: 135.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002063/1.038, allocations: 479.7 kB / 490.5 MB, free: 135.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002496/1.04, allocations: 1.17 MB / 491.7 MB, free: 134.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002485/1.043, allocations: 0.6557 MB / 492.3 MB, free: 134.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.217e-05/1.043, allocations: 7.094 kB / 492.4 MB, free: 134.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.00624/1.049, allocations: 1.74 MB / 494.1 MB, free: 133.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004378/1.05, allocations: 0.7558 MB / 494.9 MB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.154e-05/1.05, allocations: 26.69 kB / 494.9 MB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000842/1.051, allocations: 146 kB / 495 MB, free: 132.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002962/1.054, allocations: 432.8 kB / 495.4 MB, free: 132.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000947/1.055, allocations: 1.207 MB / 496.6 MB, free: 131.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/1.057, allocations: 154.4 kB / 496.8 MB, free: 131.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002867/1.057, allocations: 92.52 kB / 496.9 MB, free: 131.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/1.057, allocations: 7.844 kB / 496.9 MB, free: 131.3 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005666/1.063, allocations: 1.646 MB / 498.5 MB, free: 130.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.564e-05/1.063, allocations: 22.62 kB / 498.6 MB, free: 130.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007681/1.064, allocations: 142 kB / 498.7 MB, free: 130.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002938/1.067, allocations: 436 kB / 499.1 MB, free: 130.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009134/1.068, allocations: 1.209 MB / 0.4886 GB, free: 129.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001994/1.07, allocations: 151.9 kB / 0.4888 GB, free: 129.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002499/1.07, allocations: 92.55 kB / 0.4888 GB, free: 129.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 18 (sink2.medium.phase,sink1.medium.phase,volume1.heatTransfer.states[1].phase,source1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase,volume1.regularFlow[1],volume1.regularFlow[2],volume2.regularFlow[1],volume2.regularFlow[2],volume2.inFlow[2],volume2.inFlow[1],volume1.inFlow[2],volume1.inFlow[1],orifice2.state_b.phase,orifice2.state_a.phase,orifice1.state_b.phase,orifice1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (200): * Single equations (assignments): 198 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001171/1.071, allocations: 459.4 kB / 0.4893 GB, free: 129.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003897/1.072, allocations: 117.5 kB / 0.4894 GB, free: 129 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01015/1.082, allocations: 4.833 MB / 0.4941 GB, free: 126.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.746e-05/1.082, allocations: 69.45 kB / 0.4942 GB, free: 126.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/1.082, allocations: 7.922 kB / 0.4942 GB, free: 126.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-05/1.082, allocations: 5.141 kB / 0.4942 GB, free: 126.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01198/1.094, allocations: 6.793 MB / 0.5008 GB, free: 123 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/1.094, allocations: 3.984 kB / 0.5008 GB, free: 123 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/1.096, allocations: 262.5 kB / 0.5011 GB, free: 122.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00118/1.097, allocations: 185.4 kB / 0.5013 GB, free: 122.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001578/1.098, allocations: 31.7 kB / 0.5013 GB, free: 122.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007962/1.098, allocations: 1.228 MB / 0.5025 GB, free: 121.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.098, allocations: 2.078 kB / 0.5025 GB, free: 121.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008071/1.106, allocations: 4.009 MB / 0.5064 GB, free: 118.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009776/1.107, allocations: 437.6 kB / 0.5068 GB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002919/1.108, allocations: 20 kB / 0.5068 GB, free: 118.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/1.109, allocations: 119.8 kB / 0.507 GB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002374/1.11, allocations: 88.81 kB / 0.507 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/1.11, allocations: 35.98 kB / 0.5071 GB, free: 118.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001075/1.111, allocations: 0.6221 MB / 0.5077 GB, free: 117.6 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.111, allocations: 0 / 0.5077 GB, free: 117.6 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006042/1.117, allocations: 1.491 MB / 0.5091 GB, free: 116.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume1.medium.p,volume1.medium.h,volume2.medium.p,volume2.medium.h) * Number of discrete variables: 40 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse12.phase,$cse12.region,$cse13.region3boundary,$cse14.region3boundary,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,volume1.heatTransfer.states[1].phase,source1.medium.phase,sink1.medium.phase,volume2.heatTransfer.states[1].phase,source2.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01466/1.132, allocations: 5.744 MB / 0.5147 GB, free: 110.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007813/1.14, allocations: 2.687 MB / 0.5174 GB, free: 107.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.14, allocations: 0 / 0.5174 GB, free: 107.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002844/1.142, allocations: 1.324 MB / 0.5187 GB, free: 106.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004454/1.147, allocations: 0.5106 MB / 0.5192 GB, free: 106.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02382/1.171, allocations: 10.6 MB / 0.5295 GB, free: 94.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001033/1.172, allocations: 1.551 MB / 0.531 GB, free: 93.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001394/1.173, allocations: 0.8273 MB / 0.5318 GB, free: 92.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.383e-06/1.173, allocations: 0 / 0.5318 GB, free: 92.57 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.382/5.555, allocations: 61.62 MB / 0.592 GB, free: 30.89 MB / 410.7 MB