Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Utilities.TestStrings.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.Utilities.TestStrings,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Utilities_TestStrings",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.315/2.315, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004459/0.0004459, allocations: 12 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3412/0.3417, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.0006616/0.3424, allocations: 208.5 kB / 369.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003144/0.3456, allocations: 1.212 MB / 370.7 MB, free: 9.289 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.515e-05/0.3457, allocations: 0 / 370.7 MB, free: 9.289 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.082e-05/0.3457, allocations: 4 kB / 370.7 MB, free: 9.285 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.41e-06/0.3457, allocations: 0 / 370.7 MB, free: 9.285 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.3476, allocations: 438.9 kB / 371.1 MB, free: 8.855 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.553e-05/0.3477, allocations: 0 / 371.1 MB, free: 8.855 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.029e-05/0.3477, allocations: 0 / 371.1 MB, free: 8.855 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.676e-05/0.3477, allocations: 0 / 371.1 MB, free: 8.855 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.525e-05/0.3478, allocations: 4 kB / 371.1 MB, free: 8.852 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.093e-06/0.3478, allocations: 0 / 371.1 MB, free: 8.852 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002094/0.3499, allocations: 0.7336 MB / 371.8 MB, free: 8.117 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.112e-05/0.35, allocations: 3.984 kB / 371.9 MB, free: 8.113 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.35, allocations: 33.7 kB / 371.9 MB, free: 8.074 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009383/0.351, allocations: 355.4 kB / 372.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.351, allocations: 0 / 372.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.351, allocations: 0 / 372.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.351, allocations: 0 / 372.2 MB, free: 7.727 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.0006085/0.3516, allocations: 457 kB / 372.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.3517, allocations: 15.97 kB / 372.7 MB, free: 7.211 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.511e-05/0.3517, allocations: 34.56 kB / 372.7 MB, free: 7.168 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.006e-05/0.3518, allocations: 7.859 kB / 372.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.3519, allocations: 159.1 kB / 372.9 MB, free: 6.965 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.3519, allocations: 4 kB / 372.9 MB, free: 6.961 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.3519, allocations: 0 / 372.9 MB, free: 6.961 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.181e-05/0.352, allocations: 33.69 kB / 372.9 MB, free: 6.922 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.352, allocations: 3.984 kB / 372.9 MB, free: 6.918 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.075e-06/0.3521, allocations: 0 / 372.9 MB, free: 6.918 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3521, allocations: 7.891 kB / 372.9 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.33e-05/0.3521, allocations: 4 kB / 372.9 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000147/0.3523, allocations: 149.6 kB / 373.1 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.281e-05/0.3523, allocations: 22.61 kB / 373.1 MB, free: 6.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.3523, allocations: 4 kB / 373.1 MB, free: 6.676 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/0.3524, allocations: 60.25 kB / 373.2 MB, free: 6.602 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.472e-06/0.3524, allocations: 0 / 373.2 MB, free: 6.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001961/0.3526, allocations: 63.41 kB / 373.2 MB, free: 6.527 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.3527, allocations: 81.05 kB / 373.3 MB, free: 6.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.861e-05/0.3528, allocations: 89.86 kB / 373.4 MB, free: 6.332 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.3528, allocations: 29.83 kB / 373.4 MB, free: 6.297 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.491e-05/0.3528, allocations: 150.6 kB / 373.6 MB, free: 6.148 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-05/0.3529, allocations: 4 kB / 373.6 MB, free: 6.145 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.975e-06/0.3529, allocations: 0 / 373.6 MB, free: 6.145 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.353, allocations: 318.8 kB / 373.9 MB, free: 5.824 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.186e-05/0.353, allocations: 0 / 373.9 MB, free: 5.824 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.646e-06/0.3531, allocations: 0 / 373.9 MB, free: 5.824 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.574e-05/0.3531, allocations: 29.7 kB / 373.9 MB, free: 5.789 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3531, allocations: 4.062 kB / 373.9 MB, free: 5.785 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.798e-05/0.3532, allocations: 59.41 kB / 374 MB, free: 5.715 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.243e-05/0.3533, allocations: 37.69 kB / 374 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3533, allocations: 3.984 kB / 374 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3533, allocations: 0 / 374 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.213e-06/0.3533, allocations: 0 / 374 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3533, allocations: 0 / 374 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.035e-05/0.3534, allocations: 3.938 kB / 374 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.3534, allocations: 4 kB / 374 MB, free: 5.66 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.961e-05/0.3535, allocations: 139.5 kB / 374.2 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.027e-05/0.3535, allocations: 0 / 374.2 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.156e-05/0.3535, allocations: 7.125 kB / 374.2 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3535, allocations: 0 / 374.2 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3536, allocations: 0 / 374.2 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.3536, allocations: 0 / 374.2 MB, free: 5.504 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.3537, allocations: 157.6 kB / 374.3 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3537, allocations: 0 / 374.3 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.91e-07/0.3537, allocations: 0 / 374.3 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3537, allocations: 4 kB / 374.3 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3537, allocations: 0 / 374.3 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3538, allocations: 7.938 kB / 374.3 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.3538, allocations: 0 / 374.3 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.3539, allocations: 94.78 kB / 374.4 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.3539, allocations: 77.11 kB / 374.5 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.354, allocations: 3.938 kB / 374.5 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.362e-05/0.354, allocations: 4 kB / 374.5 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.354, allocations: 11.92 kB / 374.5 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.354, allocations: 4.031 kB / 374.5 MB, free: 5.055 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.165e-05/0.3541, allocations: 75.28 kB / 374.6 MB, free: 4.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3541, allocations: 0 / 374.6 MB, free: 4.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007795/0.3549, allocations: 200 kB / 374.8 MB, free: 4.785 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: 1 (result) * Number of discrete states: 1 (result) * 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: 1 * 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.00205/0.3569, allocations: 1.119 MB / 375.9 MB, free: 3.699 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.3571, allocations: 55.41 kB / 376 MB, free: 3.633 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3571, allocations: 4 kB / 376 MB, free: 3.629 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.227e-05/0.3572, allocations: 63.33 kB / 376 MB, free: 3.555 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001031/0.3573, allocations: 4 kB / 376 MB, free: 3.551 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005637/0.3578, allocations: 225.9 kB / 376.3 MB, free: 3.281 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.3581, allocations: 0.677 MB / 376.9 MB, free: 2.578 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.3581, allocations: 15.56 kB / 377 MB, free: 2.562 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.3582, allocations: 0 / 377 MB, free: 2.562 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.727/3.085, allocations: 4.531 MB / 381.5 MB, free: 14.02 MB / 314.7 MB