Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_IncompleteMedia_ReferenceAir_dT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.538/2.538, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.333e-05/3.337e-05, allocations: 8 kB / 303.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3634, allocations: 54.85 MB / 358.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.9/2.263, allocations: 0.6416 GB / 0.9914 GB, free: 33.64 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/2.263, allocations: 87.19 kB / 0.9914 GB, free: 33.6 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6444/2.908, allocations: 108.6 MB / 1.097 GB, free: 136.9 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.014e-06/2.908, allocations: 0 / 1.097 GB, free: 136.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.664e-05/2.908, allocations: 4 kB / 1.097 GB, free: 136.9 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003927/2.912, allocations: 1.054 MB / 1.098 GB, free: 135.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/2.912, allocations: 12.03 kB / 1.098 GB, free: 135.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008944/2.913, allocations: 71.66 kB / 1.099 GB, free: 135.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003703/2.913, allocations: 246.7 kB / 1.099 GB, free: 135.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/2.913, allocations: 12 kB / 1.099 GB, free: 135.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/2.913, allocations: 12 kB / 1.099 GB, free: 135.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009531/2.914, allocations: 0.5827 MB / 1.099 GB, free: 134.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005899/2.915, allocations: 352.5 kB / 1.1 GB, free: 134.5 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/2.915, allocations: 0 / 1.1 GB, free: 134.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.764e-05/2.915, allocations: 9.641 kB / 1.1 GB, free: 134.5 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/2.915, allocations: 11.94 kB / 1.1 GB, free: 134.5 MB / 490.7 MB 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.07745/2.992, allocations: 27.76 MB / 1.127 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/2.993, allocations: 74.59 kB / 1.127 GB, free: 104.2 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.595e-05/2.993, allocations: 24.86 kB / 1.127 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02595/3.019, allocations: 6.455 MB / 1.133 GB, free: 97.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/3.019, allocations: 91.42 kB / 1.133 GB, free: 97.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 3.166e-06/3.019, allocations: 0 / 1.133 GB, free: 97.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.002511/3.022, allocations: 413.2 kB / 1.134 GB, free: 96.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.118e-05/3.022, allocations: 59.34 kB / 1.134 GB, free: 96.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/3.022, allocations: 195 kB / 1.134 GB, free: 96.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.138e-05/3.022, allocations: 25.7 kB / 1.134 GB, free: 96.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000129/3.022, allocations: 316.9 kB / 1.134 GB, free: 96.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.193e-05/3.022, allocations: 51.3 kB / 1.134 GB, free: 96.02 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.696e-05/3.022, allocations: 0 / 1.134 GB, free: 96.02 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.425e-05/3.022, allocations: 334.8 kB / 1.135 GB, free: 95.68 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/3.022, allocations: 49.12 kB / 1.135 GB, free: 95.63 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/3.023, allocations: 326.2 kB / 1.135 GB, free: 95.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/3.024, allocations: 191.8 kB / 1.135 GB, free: 94.99 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/3.024, allocations: 4 kB / 1.135 GB, free: 94.99 MB / 490.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001878/3.026, allocations: 455.5 kB / 1.136 GB, free: 94.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/3.026, allocations: 12.03 kB / 1.136 GB, free: 94.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/3.026, allocations: 12.09 kB / 1.136 GB, free: 94.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001969/3.026, allocations: 53.58 kB / 1.136 GB, free: 94.45 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005138/3.027, allocations: 99.83 kB / 1.136 GB, free: 94.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009602/3.028, allocations: 1.266 MB / 1.137 GB, free: 93.04 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004391/3.028, allocations: 8 kB / 1.137 GB, free: 93.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.009e-05/3.028, allocations: 28 kB / 1.137 GB, free: 93 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: $DER.medium.d:DUMMY_DER(fixed = false ) "Density of medium" type: Real $DER.medium.T:DUMMY_DER(fixed = false ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000192/3.028, allocations: 132.8 kB / 1.137 GB, free: 92.87 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007869/3.029, allocations: 187.2 kB / 1.137 GB, free: 92.67 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/3.029, allocations: 31.77 kB / 1.137 GB, free: 92.64 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009336/3.03, allocations: 384.8 kB / 1.138 GB, free: 92.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/3.03, allocations: 0 / 1.138 GB, free: 92.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/3.03, allocations: 4 kB / 1.138 GB, free: 92.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/3.03, allocations: 7.984 kB / 1.138 GB, free: 92.24 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003745/3.031, allocations: 321.7 kB / 1.138 GB, free: 91.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/3.031, allocations: 3.984 kB / 1.138 GB, free: 91.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/3.031, allocations: 12 kB / 1.138 GB, free: 91.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001443/3.031, allocations: 65.58 kB / 1.138 GB, free: 91.81 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/3.031, allocations: 0 / 1.138 GB, free: 91.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007747/3.032, allocations: 1.289 MB / 1.139 GB, free: 90.47 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/3.032, allocations: 64 / 1.139 GB, free: 90.47 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007913/3.033, allocations: 334.5 kB / 1.14 GB, free: 90.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/3.033, allocations: 120.9 kB / 1.14 GB, free: 89.98 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.995e-05/3.033, allocations: 7.938 kB / 1.14 GB, free: 89.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/3.033, allocations: 7.984 kB / 1.14 GB, free: 89.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/3.033, allocations: 7.984 kB / 1.14 GB, free: 89.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/3.033, allocations: 8 kB / 1.14 GB, free: 89.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001605/3.033, allocations: 158 kB / 1.14 GB, free: 89.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/3.033, allocations: 0 / 1.14 GB, free: 89.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001906/3.035, allocations: 387.6 kB / 1.14 GB, free: 89.42 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00355/3.039, allocations: 1.483 MB / 1.142 GB, free: 87.94 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006943/3.039, allocations: 271.5 kB / 1.142 GB, free: 87.67 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/3.039, allocations: 0 / 1.142 GB, free: 87.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002559/3.04, allocations: 149.9 kB / 1.142 GB, free: 87.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/3.04, allocations: 44.59 kB / 1.142 GB, free: 87.47 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1953/3.236, allocations: 77.08 MB / 1.218 GB, free: 11.36 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/3.236, allocations: 0.7638 MB / 1.218 GB, free: 10.57 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/3.236, allocations: 87.41 kB / 1.218 GB, free: 10.48 MB / 490.7 MB Notification: Performance of SimCode: time 1.413e-06/3.236, allocations: 0 / 1.218 GB, free: 10.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.333/6.569, allocations: 11.9 MB / 1.23 GB, free: 133.9 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat does not exist to compare? outputFormat=mat