Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3.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.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.327/2.327, allocations: 234.9 MB / 250.5 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006067/0.0006069, allocations: 12 kB / 314.4 MB, free: 10.49 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3438, allocations: 54.87 MB / 369.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.Test01RegFun3): time 0.0007222/0.3445, allocations: 228.4 kB / 369.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.3469, allocations: 1.328 MB / 370.8 MB, free: 9.266 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.64e-05/0.3469, allocations: 0 / 370.8 MB, free: 9.266 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.347, allocations: 0 / 370.8 MB, free: 9.266 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.43e-05/0.347, allocations: 0 / 370.8 MB, free: 9.266 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007958/0.3478, allocations: 155.6 kB / 371 MB, free: 9.113 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.392e-05/0.3479, allocations: 0 / 371 MB, free: 9.113 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.611e-05/0.348, allocations: 4 kB / 371 MB, free: 9.109 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.069e-05/0.348, allocations: 3.984 kB / 371 MB, free: 9.105 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.606e-05/0.348, allocations: 15.98 kB / 371 MB, free: 9.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.4e-05/0.3481, allocations: 0 / 371 MB, free: 9.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005737/0.3487, allocations: 251.6 kB / 371.2 MB, free: 8.844 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.227e-06/0.3487, allocations: 0 / 371.2 MB, free: 8.844 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.116e-05/0.3487, allocations: 29.7 kB / 371.3 MB, free: 8.809 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.3489, allocations: 79.83 kB / 371.4 MB, free: 8.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3489, allocations: 3.938 kB / 371.4 MB, free: 8.727 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.629e-06/0.349, allocations: 4 kB / 371.4 MB, free: 8.723 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.349, allocations: 0 / 371.4 MB, free: 8.723 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003856/0.3494, allocations: 335.3 kB / 371.7 MB, free: 8.348 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.3494, allocations: 8.031 kB / 371.7 MB, free: 8.34 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.545e-05/0.3495, allocations: 34.56 kB / 371.7 MB, free: 8.297 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.3495, allocations: 0 / 371.7 MB, free: 8.297 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.3496, allocations: 167.1 kB / 371.9 MB, free: 8.094 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.3497, allocations: 4 kB / 371.9 MB, free: 8.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.3497, allocations: 0 / 371.9 MB, free: 8.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001005/0.3498, allocations: 33.64 kB / 371.9 MB, free: 8.051 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.3498, allocations: 0 / 371.9 MB, free: 8.051 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3498, allocations: 7.953 kB / 371.9 MB, free: 8.043 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.3499, allocations: 0 / 371.9 MB, free: 8.043 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.125e-05/0.3499, allocations: 4 kB / 371.9 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.3501, allocations: 149.7 kB / 372.1 MB, free: 7.844 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.699e-05/0.3502, allocations: 18.61 kB / 372.1 MB, free: 7.816 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.945e-06/0.3502, allocations: 0 / 372.1 MB, free: 7.816 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/0.3503, allocations: 34.5 kB / 372.1 MB, free: 7.773 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.894e-06/0.3503, allocations: 4 kB / 372.1 MB, free: 7.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002269/0.3505, allocations: 41.75 kB / 372.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.3506, allocations: 55.36 kB / 372.2 MB, free: 7.656 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.892e-05/0.3507, allocations: 97.8 kB / 372.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.083e-05/0.3508, allocations: 25.7 kB / 372.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.3509, allocations: 150.6 kB / 372.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.3509, allocations: 0 / 372.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.3509, allocations: 0 / 372.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.351, allocations: 315.1 kB / 372.8 MB, free: 7.055 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.866e-05/0.3511, allocations: 8 kB / 372.8 MB, free: 7.047 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.363e-05/0.3511, allocations: 3.984 kB / 372.8 MB, free: 7.043 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.132e-05/0.3511, allocations: 3.938 kB / 372.8 MB, free: 7.039 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3511, allocations: 0 / 372.8 MB, free: 7.039 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.961e-05/0.3512, allocations: 37.61 kB / 372.9 MB, free: 6.996 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3512, allocations: 4 kB / 372.9 MB, free: 6.992 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3513, allocations: 0 / 372.9 MB, free: 6.992 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3513, allocations: 8.031 kB / 372.9 MB, free: 6.984 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.139e-05/0.3514, allocations: 4 kB / 372.9 MB, free: 6.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.3514, allocations: 3.953 kB / 372.9 MB, free: 6.977 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.947e-05/0.3514, allocations: 0 / 372.9 MB, free: 6.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.3514, allocations: 3.984 kB / 372.9 MB, free: 6.973 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.44e-05/0.3515, allocations: 113.8 kB / 373 MB, free: 6.852 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.128e-05/0.3516, allocations: 0 / 373 MB, free: 6.852 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.3517, allocations: 48.77 kB / 373 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.3518, allocations: 3.984 kB / 373 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3518, allocations: 0 / 373 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3518, allocations: 3.953 kB / 373.1 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.3519, allocations: 146.7 kB / 373.2 MB, free: 6.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/0.3519, allocations: 0 / 373.2 MB, free: 6.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.393e-06/0.352, allocations: 0 / 373.2 MB, free: 6.602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-05/0.352, allocations: 7.984 kB / 373.2 MB, free: 6.594 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.352, allocations: 0 / 373.2 MB, free: 6.594 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.352, allocations: 0 / 373.2 MB, free: 6.594 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.352, allocations: 4.031 kB / 373.2 MB, free: 6.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.3521, allocations: 61.09 kB / 373.3 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.18e-05/0.3522, allocations: 81.09 kB / 373.3 MB, free: 6.414 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.3522, allocations: 3.938 kB / 373.4 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.3523, allocations: 11.98 kB / 373.4 MB, free: 6.398 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.556e-05/0.3524, allocations: 0 / 373.4 MB, free: 6.398 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.3524, allocations: 0 / 373.4 MB, free: 6.398 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.704e-05/0.3524, allocations: 87.31 kB / 373.4 MB, free: 6.312 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3524, allocations: 0 / 373.4 MB, free: 6.312 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003554/0.3528, allocations: 36 kB / 373.5 MB, free: 6.277 MB / 298.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007398/0.3536, allocations: 0.6437 MB / 374.1 MB, free: 5.605 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000107/0.3537, allocations: 11.94 kB / 374.1 MB, free: 5.594 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/0.3537, allocations: 4 kB / 374.1 MB, free: 5.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.09e-05/0.3538, allocations: 29.7 kB / 374.2 MB, free: 5.555 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.3539, allocations: 0 / 374.2 MB, free: 5.555 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005059/0.3544, allocations: 154 kB / 374.3 MB, free: 5.359 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.3547, allocations: 0.677 MB / 375 MB, free: 4.656 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.3548, allocations: 11.44 kB / 375 MB, free: 4.645 MB / 298.7 MB Notification: Performance of SimCode: time 1.263e-06/0.3548, allocations: 4.125 kB / 375 MB, free: 4.641 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.255/2.61, allocations: 1.139 MB / 376.2 MB, free: 3.5 MB / 298.7 MB