Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.FluxTubes.Shapes.FixedShape.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.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.193/2.193, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004142/0.0004143, allocations: 8 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.365, allocations: 54.86 MB / 369.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.FixedShape): time 0.00442/0.3695, allocations: 1.918 MB / 371.2 MB, free: 8.805 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002314/0.3718, allocations: 0.7612 MB / 371.9 MB, free: 8.035 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002165/0.3721, allocations: 8 kB / 372 MB, free: 8.027 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002468/0.3724, allocations: 35.7 kB / 372 MB, free: 7.992 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004453/0.3728, allocations: 95.73 kB / 372.1 MB, free: 7.898 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.3733, allocations: 71.84 kB / 372.2 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005284/0.3739, allocations: 215.5 kB / 372.4 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002976/0.3742, allocations: 73.12 kB / 372.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003413/0.3745, allocations: 115.6 kB / 372.6 MB, free: 7.434 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003171/0.3749, allocations: 127.4 kB / 372.7 MB, free: 7.309 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.711e-05/0.375, allocations: 16 kB / 372.7 MB, free: 7.293 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.219e-05/0.3751, allocations: 16 kB / 372.7 MB, free: 7.277 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.48e-05/0.3752, allocations: 51.81 kB / 372.8 MB, free: 7.227 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.3753, allocations: 77.52 kB / 372.8 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000485/0.3758, allocations: 260.2 kB / 373.1 MB, free: 6.891 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.3758, allocations: 4 kB / 373.1 MB, free: 6.887 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3758, allocations: 0 / 373.1 MB, free: 6.887 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.3759, allocations: 0 / 373.1 MB, free: 6.887 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001821/0.3777, allocations: 0.5729 MB / 373.7 MB, free: 6.266 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.3778, allocations: 8.031 kB / 373.7 MB, free: 6.258 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001282/0.3779, allocations: 62.53 kB / 373.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001196/0.378, allocations: 35.53 kB / 373.8 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005053/0.3786, allocations: 242.6 kB / 374 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/0.3786, allocations: 20.56 kB / 374 MB, free: 5.855 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.162e-05/0.3787, allocations: 28 kB / 374.1 MB, free: 5.828 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.3798, allocations: 244.9 kB / 374.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.3798, allocations: 0 / 374.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.045e-05/0.3799, allocations: 11.95 kB / 374.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.3799, allocations: 12 kB / 374.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.3811, allocations: 238.1 kB / 374.5 MB, free: 5.324 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003024/0.3842, allocations: 0.8908 MB / 375.4 MB, free: 4.371 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.3855, allocations: 307.3 kB / 375.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.102e-05/0.3856, allocations: 7.984 kB / 375.7 MB, free: 4.055 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/0.3857, allocations: 38.56 kB / 375.8 MB, free: 4.008 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 4.198e-06/0.3857, allocations: 0 / 375.8 MB, free: 4.008 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.01054/0.3962, allocations: 1.251 MB / 377 MB, free: 2.664 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.542e-05/0.3964, allocations: 63.41 kB / 377.1 MB, free: 2.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004371/0.3968, allocations: 213.1 kB / 377.3 MB, free: 2.375 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.657e-05/0.3969, allocations: 33.7 kB / 377.3 MB, free: 2.336 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.3971, allocations: 218.9 kB / 377.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001584/0.3973, allocations: 102.5 kB / 377.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.3973, allocations: 7.938 kB / 377.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.3975, allocations: 326.8 kB / 378 MB, free: 1.684 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005357/0.3981, allocations: 99.95 kB / 378.1 MB, free: 1.586 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005873/0.3987, allocations: 121.9 kB / 378.2 MB, free: 1.461 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000603/0.3993, allocations: 117.2 kB / 378.3 MB, free: 1.348 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3993, allocations: 4 kB / 378.3 MB, free: 1.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004438/0.4038, allocations: 0.5408 MB / 378.9 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/0.4038, allocations: 4 kB / 378.9 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.4039, allocations: 3.984 kB / 378.9 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003676/0.4076, allocations: 311.2 kB / 379.2 MB, free: 472 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.408, allocations: 27.97 kB / 379.2 MB, free: 444 kB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01135/0.4194, allocations: 6.414 MB / 385.6 MB, free: 9.477 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004098/0.4198, allocations: 31.67 kB / 385.6 MB, free: 9.445 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/0.4199, allocations: 8 kB / 385.6 MB, free: 9.438 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (15): * Single equations (assignments): 11 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002537/0.4201, allocations: 145.8 kB / 385.8 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.4202, allocations: 23.72 kB / 385.8 MB, free: 9.262 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003572/0.4238, allocations: 0.5583 MB / 386.4 MB, free: 8.684 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.4239, allocations: 7.891 kB / 386.4 MB, free: 8.676 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4239, allocations: 4 kB / 386.4 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.4239, allocations: 0 / 386.4 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006714/0.4246, allocations: 353.2 kB / 386.7 MB, free: 8.277 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4246, allocations: 0 / 386.7 MB, free: 8.277 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.4249, allocations: 23.98 kB / 386.7 MB, free: 8.254 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00271/0.4276, allocations: 315.1 kB / 387.1 MB, free: 7.934 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.4277, allocations: 7.984 kB / 387.1 MB, free: 7.926 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0112/0.4389, allocations: 6.46 MB / 393.5 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.4389, allocations: 3.984 kB / 393.5 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003119/0.4421, allocations: 0.6194 MB / 394.1 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.4422, allocations: 112.7 kB / 394.3 MB, free: 156 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.085e-05/0.4423, allocations: 4 kB / 394.3 MB, free: 152 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003357/0.4426, allocations: 23.92 kB / 394.3 MB, free: 128 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.4428, allocations: 27.95 kB / 394.3 MB, free: 100 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.4429, allocations: 12 kB / 394.3 MB, free: 88 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002333/0.4431, allocations: 152.5 kB / 394.5 MB, free: 15.94 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4431, allocations: 0 / 394.5 MB, free: 15.94 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006767/0.4438, allocations: 119.8 kB / 394.6 MB, free: 15.82 MB / 330.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 4,2 4,2 4,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003441/0.4473, allocations: 1.176 MB / 395.8 MB, free: 14.61 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001707/0.449, allocations: 0.7561 MB / 396.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.449, allocations: 0 / 396.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002058/0.4511, allocations: 0.7173 MB / 397.2 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.4514, allocations: 22.45 kB / 397.3 MB, free: 13 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00599/0.4574, allocations: 1.823 MB / 399.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004881/0.458, allocations: 0.7794 MB / 399.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000258/0.4583, allocations: 75.47 kB / 399.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.4583, allocations: 4 kB / 399.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.015/3.474, allocations: 8.634 MB / 408.6 MB, free: 1.586 MB / 330.7 MB