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.TestTemperature1.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.Fluid.TestComponents.Sensors.TestTemperature1,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.363/2.363, allocations: 234.9 MB / 250.5 MB, free: 9.688 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006396/0.0006396, allocations: 12 kB / 314.4 MB, free: 9.641 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3924, allocations: 54.86 MB / 369.3 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature1): time 0.1046/0.497, allocations: 60.38 MB / 429.7 MB, free: 236 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04892/0.546, allocations: 24.32 MB / 454 MB, free: 7.859 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002006/0.5481, allocations: 47.56 kB / 454 MB, free: 7.812 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003485/0.5516, allocations: 0.7232 MB / 454.7 MB, free: 7.086 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02012/0.5718, allocations: 4.635 MB / 459.4 MB, free: 2.441 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01629/0.5881, allocations: 3.775 MB / 463.2 MB, free: 14.66 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.005853/0.594, allocations: 2.426 MB / 465.6 MB, free: 12.23 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002141/0.5962, allocations: 0.8285 MB / 466.4 MB, free: 11.38 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0123/0.6085, allocations: 4.003 MB / 470.4 MB, free: 7.367 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002185/0.6108, allocations: 0.8017 MB / 471.2 MB, free: 6.562 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004114/0.6112, allocations: 72 kB / 471.3 MB, free: 6.492 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02161/0.6328, allocations: 6.918 MB / 478.2 MB, free: 15.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009252/0.6338, allocations: 382.9 kB / 478.6 MB, free: 15.19 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007047/0.6345, allocations: 321 kB / 478.9 MB, free: 14.87 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.6459, allocations: 4.011 MB / 482.9 MB, free: 10.85 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6459, allocations: 0 / 482.9 MB, free: 10.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.556e-06/0.6459, allocations: 0 / 482.9 MB, free: 10.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.479e-05/0.646, allocations: 0 / 482.9 MB, free: 10.85 MB / 410.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.008507/0.6545, allocations: 2.127 MB / 485 MB, free: 8.672 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.6546, allocations: 8.031 kB / 485 MB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004908/0.6551, allocations: 198 kB / 485.2 MB, free: 8.461 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007968/0.6631, allocations: 0.7476 MB / 486 MB, free: 7.711 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0026/0.6657, allocations: 0.88 MB / 486.9 MB, free: 6.785 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003446/0.6661, allocations: 233.3 kB / 487.1 MB, free: 6.531 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003393/0.6665, allocations: 124 kB / 487.2 MB, free: 6.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008323/0.6748, allocations: 2.279 MB / 489.5 MB, free: 3.949 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.689e-05/0.6749, allocations: 7.938 kB / 489.5 MB, free: 3.941 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002545/0.6752, allocations: 63.98 kB / 489.6 MB, free: 3.879 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.487e-05/0.6753, allocations: 50.09 kB / 489.6 MB, free: 3.828 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009498/0.6848, allocations: 2.053 MB / 491.7 MB, free: 1.766 MB / 410.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.02016/0.705, allocations: 10.58 MB / 0.4905 GB, free: 6.402 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006108/0.7112, allocations: 1.157 MB / 0.4916 GB, free: 5.234 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4014/1.113, allocations: 19.44 MB / 0.5106 GB, free: 118.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/1.113, allocations: 48.97 kB / 0.5106 GB, free: 118.1 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008631/1.114, allocations: 99.12 kB / 0.5107 GB, free: 118.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=88): time 3.627e-06/1.114, allocations: 0 / 0.5107 GB, free: 118.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.01958/1.133, allocations: 3.852 MB / 0.5145 GB, free: 115.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/1.133, allocations: 167.2 kB / 0.5146 GB, free: 115.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001372/1.135, allocations: 0.8757 MB / 0.5155 GB, free: 114.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002111/1.135, allocations: 45.7 kB / 0.5155 GB, free: 114.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004322/1.135, allocations: 0.7056 MB / 0.5162 GB, free: 113.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003382/1.136, allocations: 353.1 kB / 0.5166 GB, free: 113.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/1.136, allocations: 28 kB / 0.5166 GB, free: 113.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/1.136, allocations: 372.5 kB / 0.517 GB, free: 113 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00188/1.138, allocations: 483.5 kB / 0.5174 GB, free: 112.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002181/1.14, allocations: 1.168 MB / 0.5186 GB, free: 111.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002293/1.142, allocations: 0.6586 MB / 0.5192 GB, free: 110.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/1.143, allocations: 4 kB / 0.5192 GB, free: 110.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005497/1.148, allocations: 1.737 MB / 0.5209 GB, free: 108.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004169/1.148, allocations: 0.7512 MB / 0.5216 GB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.033e-05/1.149, allocations: 24 kB / 0.5217 GB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000849/1.149, allocations: 137.6 kB / 0.5218 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002768/1.152, allocations: 440.6 kB / 0.5222 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008908/1.153, allocations: 1.211 MB / 0.5234 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002197/1.155, allocations: 147.9 kB / 0.5235 GB, free: 105.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002084/1.156, allocations: 91.97 kB / 0.5236 GB, free: 105.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/1.156, allocations: 4 kB / 0.5236 GB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005224/1.161, allocations: 1.649 MB / 0.5252 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.031e-05/1.161, allocations: 28.36 kB / 0.5253 GB, free: 103.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007115/1.162, allocations: 141.6 kB / 0.5254 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002729/1.164, allocations: 427.3 kB / 0.5258 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008864/1.165, allocations: 1.218 MB / 0.527 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/1.167, allocations: 151.8 kB / 0.5271 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/1.167, allocations: 87.98 kB / 0.5272 GB, free: 101.8 MB / 426.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.0009748/1.168, allocations: 455.2 kB / 0.5277 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003049/1.169, allocations: 122.5 kB / 0.5278 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008821/1.178, allocations: 4.831 MB / 0.5325 GB, free: 96.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.158e-05/1.178, allocations: 68.45 kB / 0.5326 GB, free: 96.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/1.178, allocations: 0 / 0.5326 GB, free: 96.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.318e-05/1.178, allocations: 11.97 kB / 0.5326 GB, free: 96.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/1.189, allocations: 6.79 MB / 0.5392 GB, free: 89.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/1.189, allocations: 4 kB / 0.5392 GB, free: 89.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001958/1.191, allocations: 259.6 kB / 0.5394 GB, free: 89.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001132/1.192, allocations: 189.4 kB / 0.5396 GB, free: 88.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/1.193, allocations: 27.98 kB / 0.5397 GB, free: 88.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008265/1.193, allocations: 1.23 MB / 0.5409 GB, free: 87.63 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.193, allocations: 0 / 0.5409 GB, free: 87.63 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0077/1.201, allocations: 4.01 MB / 0.5448 GB, free: 83.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009602/1.202, allocations: 437.5 kB / 0.5452 GB, free: 83.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002921/1.202, allocations: 27.94 kB / 0.5452 GB, free: 83.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/1.204, allocations: 111.8 kB / 0.5453 GB, free: 82.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002243/1.204, allocations: 92.86 kB / 0.5454 GB, free: 82.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/1.204, allocations: 35.98 kB / 0.5454 GB, free: 82.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001083/1.205, allocations: 0.6182 MB / 0.546 GB, free: 82.24 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.205, allocations: 0 / 0.546 GB, free: 82.24 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005588/1.211, allocations: 1.504 MB / 0.5475 GB, free: 80.82 MB / 426.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.01521/1.226, allocations: 5.753 MB / 0.5531 GB, free: 75.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007808/1.234, allocations: 2.692 MB / 0.5558 GB, free: 72.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.234, allocations: 3.938 kB / 0.5558 GB, free: 72.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002841/1.237, allocations: 1.32 MB / 0.5571 GB, free: 71.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004592/1.242, allocations: 0.5118 MB / 0.5576 GB, free: 70.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02405/1.266, allocations: 10.62 MB / 0.5679 GB, free: 59.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/1.267, allocations: 1.551 MB / 0.5694 GB, free: 58.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/1.268, allocations: 0.8234 MB / 0.5702 GB, free: 57.21 MB / 426.7 MB Notification: Performance of SimCode: time 1.273e-06/1.268, allocations: 4 kB / 0.5703 GB, free: 57.21 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.071/5.339, allocations: 61.73 MB / 0.6305 GB, free: 11.42 MB / 442.7 MB