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.NewFittings.GenericResistances.VolumeFlowRate.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.NewFittings.GenericResistances.VolumeFlowRate,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_NewFittings_GenericResistances_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.323/2.323, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.417e-05/2.416e-05, allocations: 4 kB / 303.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3459, allocations: 54.84 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.815/2.161, allocations: 0.6037 GB / 0.9534 GB, free: 71.44 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/2.162, allocations: 97.81 kB / 0.9535 GB, free: 71.39 MB / 490.7 MB Error: Variable fitting1.a in package ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate is not constant. Error: Variable fitting2.a in package ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate is not constant. Notification: Performance of FrontEnd - DAE generated: time 1.042/3.204, allocations: 222.6 MB / 1.171 GB, free: 55.15 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.964e-06/3.204, allocations: 0 / 1.171 GB, free: 55.15 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.803e-05/3.204, allocations: 20.16 kB / 1.171 GB, free: 55.13 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.002156/3.206, allocations: 0.8392 MB / 1.172 GB, free: 54.24 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/3.206, allocations: 12.03 kB / 1.172 GB, free: 54.23 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/3.208, allocations: 135.1 kB / 1.172 GB, free: 54.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/3.209, allocations: 0.4965 MB / 1.172 GB, free: 53.56 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.636e-05/3.209, allocations: 12 kB / 1.172 GB, free: 53.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.252e-05/3.209, allocations: 28 kB / 1.172 GB, free: 53.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008233/3.21, allocations: 330.5 kB / 1.173 GB, free: 53.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008925/3.211, allocations: 463.7 kB / 1.173 GB, free: 52.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/3.211, allocations: 0 / 1.173 GB, free: 52.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.471e-05/3.211, allocations: 3.953 kB / 1.173 GB, free: 52.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/3.211, allocations: 12 kB / 1.173 GB, free: 52.68 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.003333/3.214, allocations: 2.479 MB / 1.176 GB, free: 50 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/3.215, allocations: 171 kB / 1.176 GB, free: 49.82 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/3.215, allocations: 109.3 kB / 1.176 GB, free: 49.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001082/3.216, allocations: 0.5426 MB / 1.176 GB, free: 49.08 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/3.216, allocations: 38.56 kB / 1.176 GB, free: 49.04 MB / 490.7 MB Notification: Performance of pre-optimization done (n=26): time 2.815e-06/3.216, allocations: 0 / 1.176 GB, free: 49.04 MB / 490.7 MB Notification: Performance of matching and sorting (n=26): time 0.003812/3.22, allocations: 0.7239 MB / 1.177 GB, free: 48.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/3.22, allocations: 132.5 kB / 1.177 GB, free: 48.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000486/3.221, allocations: 337.1 kB / 1.178 GB, free: 47.81 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/3.221, allocations: 29.7 kB / 1.178 GB, free: 47.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/3.221, allocations: 337.8 kB / 1.178 GB, free: 47.44 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.73e-05/3.221, allocations: 94.59 kB / 1.178 GB, free: 47.35 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/3.221, allocations: 0 / 1.178 GB, free: 47.35 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.253e-05/3.221, allocations: 338.8 kB / 1.178 GB, free: 47.01 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003059/3.221, allocations: 129.1 kB / 1.179 GB, free: 46.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/3.222, allocations: 289.9 kB / 1.179 GB, free: 46.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002957/3.225, allocations: 0.5851 MB / 1.179 GB, free: 45.94 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/3.225, allocations: 4 kB / 1.179 GB, free: 45.93 MB / 490.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.003748/3.228, allocations: 0.8842 MB / 1.18 GB, free: 45.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/3.229, allocations: 8 kB / 1.18 GB, free: 45.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/3.229, allocations: 4 kB / 1.18 GB, free: 45.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002868/3.229, allocations: 48.81 kB / 1.18 GB, free: 44.98 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008318/3.23, allocations: 135.8 kB / 1.18 GB, free: 44.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004151/3.234, allocations: 11.65 MB / 1.192 GB, free: 32.47 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008637/3.235, allocations: 59.55 kB / 1.192 GB, free: 32.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/3.235, allocations: 55.92 kB / 1.192 GB, free: 32.36 MB / 490.7 MB Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.b:VARIABLE(unit = "(Pa.s)/m3" ) = fitting1.b "Coefficient for linear term" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting1.a:VARIABLE(unit = "(Pa.s2)/m6" ) = fitting1.a "Coefficient for quadratic term" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.b:VARIABLE(unit = "(Pa.s)/m3" ) = fitting2.b "Coefficient for linear term" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: fitting2.a:VARIABLE(unit = "(Pa.s2)/m6" ) = fitting2.a "Coefficient for quadratic term" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0002601/3.235, allocations: 137.1 kB / 1.192 GB, free: 32.21 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003372/3.239, allocations: 0.7238 MB / 1.193 GB, free: 31.48 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/3.239, allocations: 47.48 kB / 1.193 GB, free: 31.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002336/3.241, allocations: 0.6124 MB / 1.193 GB, free: 30.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/3.241, allocations: 4 kB / 1.193 GB, free: 30.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/3.241, allocations: 4 kB / 1.193 GB, free: 30.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/3.241, allocations: 3.984 kB / 1.193 GB, free: 30.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/3.243, allocations: 0.882 MB / 1.194 GB, free: 29.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/3.243, allocations: 8.156 kB / 1.194 GB, free: 29.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004015/3.244, allocations: 55.91 kB / 1.194 GB, free: 29.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003221/3.244, allocations: 52.81 kB / 1.194 GB, free: 29.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.709e-05/3.244, allocations: 4 kB / 1.194 GB, free: 29.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005063/3.245, allocations: 0.5914 MB / 1.195 GB, free: 29.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/3.245, allocations: 7.969 kB / 1.195 GB, free: 29.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/3.246, allocations: 0.5554 MB / 1.195 GB, free: 28.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/3.246, allocations: 148.4 kB / 1.196 GB, free: 28.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/3.246, allocations: 4 kB / 1.196 GB, free: 28.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005139/3.247, allocations: 27.97 kB / 1.196 GB, free: 28.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.286e-05/3.247, allocations: 23.91 kB / 1.196 GB, free: 28.26 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/3.247, allocations: 12 kB / 1.196 GB, free: 28.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000414/3.247, allocations: 278.9 kB / 1.196 GB, free: 27.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.31e-07/3.247, allocations: 4 kB / 1.196 GB, free: 27.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001662/3.249, allocations: 311.6 kB / 1.196 GB, free: 27.67 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.004065/3.253, allocations: 2.572 MB / 1.199 GB, free: 25.04 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001527/3.255, allocations: 324.9 kB / 1.199 GB, free: 24.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/3.255, allocations: 4.062 kB / 1.199 GB, free: 24.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003826/3.255, allocations: 135.8 kB / 1.199 GB, free: 24.59 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/3.257, allocations: 208 kB / 1.199 GB, free: 24.38 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01017/3.267, allocations: 2.414 MB / 1.202 GB, free: 21.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/3.268, allocations: 0.8669 MB / 1.203 GB, free: 21.01 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006329/3.268, allocations: 223.3 kB / 1.203 GB, free: 20.79 MB / 490.7 MB Notification: Performance of SimCode: time 1.072e-06/3.268, allocations: 0 / 1.203 GB, free: 20.79 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.64/6.908, allocations: 22.42 MB / 1.225 GB, free: 106.2 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.NewFittings.GenericResistances.VolumeFlowRate_res.mat does not exist to compare? outputFormat=mat