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.LinearColdWater.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.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.302/2.302, allocations: 234.9 MB / 250.5 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000583/0.0005832, allocations: 8 kB / 314.4 MB, free: 9.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3533/0.354, allocations: 54.86 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007097/0.3611, allocations: 3.451 MB / 372.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006141/0.3673, allocations: 3.461 MB / 376.2 MB, free: 3.781 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002008/0.3676, allocations: 4 kB / 376.2 MB, free: 3.777 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003079/0.3679, allocations: 43.78 kB / 376.2 MB, free: 3.734 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002451/0.3704, allocations: 0.5958 MB / 376.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005877/0.371, allocations: 123.8 kB / 376.9 MB, free: 3.016 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006232/0.3716, allocations: 251.5 kB / 377.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.293e-05/0.3717, allocations: 9.688 kB / 377.2 MB, free: 2.762 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002672/0.372, allocations: 135.6 kB / 377.3 MB, free: 2.629 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003298/0.3723, allocations: 135.6 kB / 377.5 MB, free: 2.496 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.077e-05/0.3724, allocations: 8 kB / 377.5 MB, free: 2.488 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001547/0.3739, allocations: 375.5 kB / 377.8 MB, free: 2.121 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.3741, allocations: 43.86 kB / 377.9 MB, free: 2.078 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.869e-05/0.3742, allocations: 73.52 kB / 377.9 MB, free: 2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008617/0.375, allocations: 288.3 kB / 378.2 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.3751, allocations: 0 / 378.2 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3751, allocations: 0 / 378.2 MB, free: 1.719 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.3751, allocations: 0 / 378.2 MB, free: 1.719 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001539/0.3766, allocations: 0.5538 MB / 378.8 MB, free: 1.117 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.986e-05/0.3767, allocations: 8.031 kB / 378.8 MB, free: 1.109 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.3768, allocations: 62.53 kB / 378.9 MB, free: 1.039 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.377, allocations: 27.72 kB / 378.9 MB, free: 1.012 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.3774, allocations: 222.8 kB / 379.1 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002073/0.3776, allocations: 127.4 kB / 379.2 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/0.3777, allocations: 23.89 kB / 379.2 MB, free: 0.582 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000846/0.3785, allocations: 327.7 kB / 379.6 MB, free: 240 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.3786, allocations: 3.938 kB / 379.6 MB, free: 236 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.943e-05/0.3786, allocations: 12 kB / 379.6 MB, free: 224 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-05/0.3787, allocations: 15.97 kB / 379.6 MB, free: 208 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001331/0.38, allocations: 0.7274 MB / 380.3 MB, free: 15.47 MB / 314.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.002217/0.3822, allocations: 1.355 MB / 381.7 MB, free: 14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000518/0.3828, allocations: 155.8 kB / 381.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003878/0.3867, allocations: 2.864 MB / 384.7 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.3868, allocations: 34.56 kB / 384.7 MB, free: 10.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 4.568e-06/0.3868, allocations: 3.984 kB / 384.7 MB, free: 10.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004797/0.3873, allocations: 143.4 kB / 384.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.3873, allocations: 55.41 kB / 384.9 MB, free: 10.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002674/0.3876, allocations: 210.8 kB / 385.1 MB, free: 9.973 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.3877, allocations: 25.7 kB / 385.2 MB, free: 9.941 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001882/0.3879, allocations: 277.3 kB / 385.4 MB, free: 9.668 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.867e-05/0.3879, allocations: 63.17 kB / 385.5 MB, free: 9.605 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.016e-05/0.388, allocations: 12 kB / 385.5 MB, free: 9.594 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3881, allocations: 326.8 kB / 385.8 MB, free: 9.266 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001416/0.3883, allocations: 48.83 kB / 385.9 MB, free: 9.219 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/0.3887, allocations: 318.1 kB / 386.2 MB, free: 8.773 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002773/0.389, allocations: 107.8 kB / 386.3 MB, free: 8.668 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/0.389, allocations: 0 / 386.3 MB, free: 8.668 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008709/0.3899, allocations: 369.2 kB / 386.6 MB, free: 8.301 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.3899, allocations: 14.03 kB / 386.7 MB, free: 8.289 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.974e-05/0.3899, allocations: 8 kB / 386.7 MB, free: 8.281 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.666e-05/0.39, allocations: 19.98 kB / 386.7 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000512/0.3905, allocations: 95.83 kB / 386.8 MB, free: 8.168 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.544e-05/0.3905, allocations: 15.94 kB / 386.8 MB, free: 8.152 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004343/0.391, allocations: 56.06 kB / 386.9 MB, free: 8.098 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-05/0.3911, allocations: 31.92 kB / 386.9 MB, free: 8.066 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002284/0.3913, allocations: 157.5 kB / 387 MB, free: 7.902 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.142e-05/0.3914, allocations: 23.72 kB / 387.1 MB, free: 7.879 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005855/0.392, allocations: 173.4 kB / 387.2 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/0.392, allocations: 4 kB / 387.2 MB, free: 7.691 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.392, allocations: 3.984 kB / 387.2 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.392, allocations: 0 / 387.2 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008198/0.3929, allocations: 449.6 kB / 387.7 MB, free: 7.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.3929, allocations: 4 kB / 387.7 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.3931, allocations: 19.92 kB / 387.7 MB, free: 7.156 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/0.3931, allocations: 8.125 kB / 387.7 MB, free: 7.148 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.3931, allocations: 0 / 387.7 MB, free: 7.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.3931, allocations: 4 kB / 387.7 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3931, allocations: 0 / 387.7 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003213/0.3935, allocations: 234.5 kB / 387.9 MB, free: 6.887 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001299/0.3936, allocations: 116.8 kB / 388.1 MB, free: 6.754 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.937e-05/0.3937, allocations: 8.047 kB / 388.1 MB, free: 6.746 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.394, allocations: 8 kB / 388.1 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.315e-05/0.394, allocations: 11.98 kB / 388.1 MB, free: 6.727 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.394, allocations: 4 kB / 388.1 MB, free: 6.723 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001934/0.3942, allocations: 156.4 kB / 388.2 MB, free: 6.57 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3942, allocations: 0 / 388.2 MB, free: 6.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007302/0.395, allocations: 104 kB / 388.3 MB, free: 6.469 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009044/0.3959, allocations: 0.8287 MB / 389.2 MB, free: 5.602 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004958/0.3964, allocations: 177.7 kB / 389.3 MB, free: 5.426 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3964, allocations: 0 / 389.3 MB, free: 5.426 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.263e-05/0.3965, allocations: 27.94 kB / 389.4 MB, free: 5.398 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006043/0.3971, allocations: 45.02 kB / 389.4 MB, free: 5.355 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.3998, allocations: 1.422 MB / 390.8 MB, free: 3.734 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.4002, allocations: 0.7325 MB / 391.6 MB, free: 2.977 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.4004, allocations: 63.42 kB / 391.6 MB, free: 2.918 MB / 314.7 MB Notification: Performance of SimCode: time 1.463e-06/0.4004, allocations: 4 kB / 391.6 MB, free: 2.914 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.659/3.059, allocations: 4.3 MB / 395.9 MB, free: 14.62 MB / 330.7 MB