Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr MEV_MEV.Test.TestCylinder.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(MEV.Test.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=166,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinder") translateModel(MEV.Test.TestCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=166,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009253/0.0009253, allocations: 102.7 kB / 15.71 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 173.8 kB / 16.58 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1-master/package.mo): time 0.009719/0.009719, allocations: 1.92 MB / 272.9 MB, free: 3.395 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004746/0.0004746, allocations: 19.98 kB / 331.5 MB, free: 33.33 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08951/0.08999, allocations: 48.1 MB / 379.6 MB, free: 1.184 MB / 270.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.002694/0.09272, allocations: 2.339 MB / 382 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008877/0.09363, allocations: 0.609 MB / 382.6 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.09375, allocations: 4 kB / 382.6 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.09388, allocations: 27.75 kB / 382.6 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.09408, allocations: 99.17 kB / 382.7 MB, free: 14.08 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001575/0.09425, allocations: 31.97 kB / 382.7 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000253/0.09451, allocations: 222.8 kB / 383 MB, free: 13.83 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001631/0.09468, allocations: 48.67 kB / 383 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.954e-05/0.09479, allocations: 67.73 kB / 383.1 MB, free: 13.72 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.09496, allocations: 79.62 kB / 383.1 MB, free: 13.64 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.09499, allocations: 8 kB / 383.2 MB, free: 13.64 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.979e-05/0.09503, allocations: 8 kB / 383.2 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.09508, allocations: 31.84 kB / 383.2 MB, free: 13.6 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/0.09514, allocations: 61.58 kB / 383.3 MB, free: 13.53 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.09531, allocations: 127.9 kB / 383.4 MB, free: 13.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.09533, allocations: 0 / 383.4 MB, free: 13.41 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.09534, allocations: 4 kB / 383.4 MB, free: 13.4 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.09535, allocations: 0 / 383.4 MB, free: 13.4 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007204/0.09608, allocations: 478.8 kB / 383.9 MB, free: 12.88 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.09613, allocations: 12.03 kB / 383.9 MB, free: 12.87 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/0.09619, allocations: 19.72 kB / 383.9 MB, free: 12.85 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.09647, allocations: 214.7 kB / 384.1 MB, free: 12.6 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.0965, allocations: 12.33 kB / 384.1 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.09654, allocations: 16 kB / 384.1 MB, free: 12.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.09689, allocations: 160.2 kB / 384.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.09691, allocations: 0 / 384.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.09694, allocations: 8 kB / 384.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.09696, allocations: 4 kB / 384.3 MB, free: 12.4 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000266/0.09723, allocations: 132.4 kB / 384.4 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009738/0.09822, allocations: 0.5506 MB / 385 MB, free: 11.67 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.09845, allocations: 98.55 kB / 385.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.09859, allocations: 56.83 kB / 385.1 MB, free: 11.51 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.09862, allocations: 4.188 kB / 385.1 MB, free: 11.5 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.09866, allocations: 42.56 kB / 385.2 MB, free: 11.45 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.093e-06/0.09867, allocations: 0 / 385.2 MB, free: 11.45 MB / 286.1 MB Notification: Performance of matching and sorting (n=17): time 0.001634/0.1003, allocations: 0.6447 MB / 385.8 MB, free: 10.76 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.1004, allocations: 63.3 kB / 385.9 MB, free: 10.68 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.1005, allocations: 198.8 kB / 386.1 MB, free: 10.48 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.1006, allocations: 29.7 kB / 386.1 MB, free: 10.45 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.041e-05/0.1007, allocations: 124.3 kB / 386.2 MB, free: 10.32 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.1007, allocations: 55.2 kB / 386.3 MB, free: 10.27 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.187e-06/0.1007, allocations: 4 kB / 386.3 MB, free: 10.26 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1009, allocations: 326.8 kB / 386.6 MB, free: 9.934 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001079/0.101, allocations: 51.98 kB / 386.6 MB, free: 9.883 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.1011, allocations: 73.67 kB / 386.7 MB, free: 9.805 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.1012, allocations: 60.3 kB / 386.8 MB, free: 9.746 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.1012, allocations: 11.94 kB / 386.8 MB, free: 9.734 MB / 286.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002951/0.1015, allocations: 173.4 kB / 387 MB, free: 9.559 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1016, allocations: 11.95 kB / 387 MB, free: 9.547 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1016, allocations: 0 / 387 MB, free: 9.547 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1016, allocations: 0 / 387 MB, free: 9.547 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.1018, allocations: 48 kB / 387 MB, free: 9.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1018, allocations: 0 / 387 MB, free: 9.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.07e-05/0.1019, allocations: 12 kB / 387 MB, free: 9.488 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.1019, allocations: 7.938 kB / 387 MB, free: 9.48 MB / 286.1 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 (20): * Single equations (assignments): 20 * 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 0.0001051/0.102, allocations: 125.8 kB / 387.2 MB, free: 9.348 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.1021, allocations: 19.72 kB / 387.2 MB, free: 9.328 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.437e-05/0.1021, allocations: 33.8 kB / 387.2 MB, free: 9.293 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.1022, allocations: 8 kB / 387.2 MB, free: 9.285 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1022, allocations: 0 / 387.2 MB, free: 9.285 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1022, allocations: 0 / 387.2 MB, free: 9.285 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007412/0.1029, allocations: 0.5985 MB / 387.8 MB, free: 8.605 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.1029, allocations: 4 kB / 387.8 MB, free: 8.602 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/0.1031, allocations: 47.91 kB / 387.9 MB, free: 8.555 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.1031, allocations: 4 kB / 387.9 MB, free: 8.551 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1032, allocations: 4 kB / 387.9 MB, free: 8.547 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.1032, allocations: 4.25 kB / 387.9 MB, free: 8.543 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1032, allocations: 7.938 kB / 387.9 MB, free: 8.535 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004773/0.1037, allocations: 378 kB / 388.3 MB, free: 8.125 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.06e-05/0.1038, allocations: 112.9 kB / 388.4 MB, free: 7.996 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.1038, allocations: 16.05 kB / 388.4 MB, free: 7.98 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.104, allocations: 12 kB / 388.4 MB, free: 7.969 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.218e-05/0.104, allocations: 27.86 kB / 388.4 MB, free: 7.941 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.104, allocations: 4 kB / 388.4 MB, free: 7.938 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.1041, allocations: 148.4 kB / 388.6 MB, free: 7.793 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1042, allocations: 4 kB / 388.6 MB, free: 7.789 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.1044, allocations: 36 kB / 388.6 MB, free: 7.754 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 (cylinder.y) * 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 (17): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 0.0001034/0.1045, allocations: 103.2 kB / 388.7 MB, free: 7.645 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.1048, allocations: 131.7 kB / 388.8 MB, free: 7.516 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1048, allocations: 8.062 kB / 388.8 MB, free: 7.508 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.105, allocations: 67.84 kB / 388.9 MB, free: 7.441 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.1053, allocations: 31.98 kB / 388.9 MB, free: 7.41 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007972/0.1061, allocations: 0.6225 MB / 389.6 MB, free: 6.73 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.1064, allocations: 0.7322 MB / 390.3 MB, free: 5.973 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.1065, allocations: 19.44 kB / 390.3 MB, free: 5.953 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1065, allocations: 3.938 kB / 390.3 MB, free: 5.949 MB / 286.1 MB Notification: Performance of Templates: time 0.003456/0.11, allocations: 1.945 MB / 392.3 MB, free: 4 MB / 286.1 MB make -j1 -f MEV_MEV.Test.TestCylinder.makefile make -j1 -f MEV_MEV.Test.TestCylinder.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppMEV_MEV.Test.TestCylinderCalcHelperMain.o OMCppMEV_MEV.Test.TestCylinderCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppMEV_MEV.Test.TestCylinderCalcHelperMain.o] Error 1