Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa") translateModel(ModelicaTest.Media.TestOnly.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T|eta|lambda|eta_der|lambda_der|eta2|lambda2|eta2_der|lambda2_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001378/0.001378, allocations: 94.06 kB / 17.63 MB, free: 6.141 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001843/0.001843, allocations: 197.5 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.59/1.59, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2487/0.2487, allocations: 45.92 MB / 344.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002729/0.0002729, allocations: 11.98 kB / 418.7 MB, free: 20.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1551, allocations: 63.46 MB / 482.1 MB, free: 5.391 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.DryAirNasa): time 0.6115/0.7666, allocations: 137.5 MB / 0.6051 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.7685, allocations: 1.098 MB / 0.6061 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.855e-05/0.7686, allocations: 0 / 0.6061 GB, free: 11.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.7688, allocations: 38.3 kB / 0.6062 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.436e-05/0.7689, allocations: 23.83 kB / 0.6062 GB, free: 11.88 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.7705, allocations: 360.6 kB / 0.6065 GB, free: 11.53 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.7706, allocations: 59.61 kB / 0.6066 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.881e-05/0.7707, allocations: 8 kB / 0.6066 GB, free: 11.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.924e-05/0.7708, allocations: 31.91 kB / 0.6066 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.621e-05/0.7709, allocations: 27.86 kB / 0.6067 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.799e-06/0.7709, allocations: 3.938 kB / 0.6067 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.7722, allocations: 458.9 kB / 0.6071 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.7722, allocations: 3.984 kB / 0.6071 GB, free: 10.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.363e-05/0.7723, allocations: 37.7 kB / 0.6071 GB, free: 10.9 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004908/0.7728, allocations: 205.6 kB / 0.6073 GB, free: 10.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.7728, allocations: 0 / 0.6073 GB, free: 10.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.7728, allocations: 0 / 0.6073 GB, free: 10.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.732e-06/0.7728, allocations: 0 / 0.6073 GB, free: 10.7 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007538/0.7736, allocations: 403.7 kB / 0.6077 GB, free: 10.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.7737, allocations: 8.031 kB / 0.6077 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.755e-05/0.7737, allocations: 7.953 kB / 0.6077 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.7739, allocations: 171 kB / 0.6079 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.774, allocations: 0 / 0.6079 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.774, allocations: 12 kB / 0.6079 GB, free: 10.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.7742, allocations: 69.66 kB / 0.608 GB, free: 9.953 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.7742, allocations: 3.906 kB / 0.608 GB, free: 9.949 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.7742, allocations: 3.938 kB / 0.608 GB, free: 9.945 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.7742, allocations: 7.953 kB / 0.608 GB, free: 9.938 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.993e-05/0.7743, allocations: 49.16 kB / 0.608 GB, free: 9.891 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005026/0.7748, allocations: 377.8 kB / 0.6084 GB, free: 9.453 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.7749, allocations: 70.53 kB / 0.6085 GB, free: 9.375 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.538e-05/0.775, allocations: 16.86 kB / 0.6085 GB, free: 9.355 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00169/0.7767, allocations: 1.225 MB / 0.6097 GB, free: 7.891 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/0.7767, allocations: 38.69 kB / 0.6097 GB, free: 7.844 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.7767, allocations: 0 / 0.6097 GB, free: 7.844 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.005891/0.7826, allocations: 0.6493 MB / 0.6104 GB, free: 7.188 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.7827, allocations: 55.41 kB / 0.6104 GB, free: 7.121 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.7828, allocations: 101.8 kB / 0.6105 GB, free: 7.012 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.7829, allocations: 33.7 kB / 0.6105 GB, free: 6.973 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.783, allocations: 92.25 kB / 0.6106 GB, free: 6.879 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.537e-05/0.783, allocations: 47.36 kB / 0.6107 GB, free: 6.832 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-05/0.7831, allocations: 4 kB / 0.6107 GB, free: 6.828 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.7832, allocations: 322.8 kB / 0.611 GB, free: 6.504 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001865/0.7834, allocations: 83.88 kB / 0.6111 GB, free: 6.422 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.7836, allocations: 106.5 kB / 0.6112 GB, free: 6.309 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/0.7838, allocations: 91.97 kB / 0.6112 GB, free: 6.219 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.7838, allocations: 0 / 0.6112 GB, free: 6.219 MB / 446.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005332/0.7844, allocations: 248.9 kB / 0.6115 GB, free: 5.973 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.7844, allocations: 7.953 kB / 0.6115 GB, free: 5.965 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.7844, allocations: 0.9375 kB / 0.6115 GB, free: 5.965 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.7844, allocations: 4 kB / 0.6115 GB, free: 5.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005669/0.785, allocations: 52.5 kB / 0.6115 GB, free: 5.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.785, allocations: 3.938 kB / 0.6116 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004358/0.7855, allocations: 16.06 kB / 0.6116 GB, free: 5.891 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-05/0.7855, allocations: 15.97 kB / 0.6116 GB, free: 5.875 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 16 * 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.0001339/0.7857, allocations: 117.8 kB / 0.6117 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.561e-05/0.7857, allocations: 7.906 kB / 0.6117 GB, free: 5.742 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008101/0.7866, allocations: 346.1 kB / 0.612 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.7866, allocations: 0 / 0.612 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.7866, allocations: 7.953 kB / 0.612 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.7866, allocations: 0 / 0.612 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.7878, allocations: 0.7639 MB / 0.6128 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.7878, allocations: 0 / 0.6128 GB, free: 4.527 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005279/0.7883, allocations: 39.97 kB / 0.6128 GB, free: 4.488 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.7883, allocations: 4.203 kB / 0.6128 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.7884, allocations: 11.98 kB / 0.6128 GB, free: 4.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.7884, allocations: 4 kB / 0.6128 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.7884, allocations: 0 / 0.6128 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006049/0.789, allocations: 362.2 kB / 0.6132 GB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.7891, allocations: 112.8 kB / 0.6133 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/0.7892, allocations: 0 / 0.6133 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/0.7896, allocations: 15.95 kB / 0.6133 GB, free: 3.957 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.771e-05/0.7897, allocations: 11.97 kB / 0.6133 GB, free: 3.945 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.235e-05/0.7897, allocations: 15.98 kB / 0.6133 GB, free: 3.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.297e-05/0.7898, allocations: 79.28 kB / 0.6134 GB, free: 3.852 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.896e-06/0.7898, allocations: 4 kB / 0.6134 GB, free: 3.848 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004923/0.7903, allocations: 99.92 kB / 0.6135 GB, free: 3.75 MB / 446.1 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 (19): * Single equations (assignments): 19 * 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.0005182/0.7908, allocations: 223.6 kB / 0.6137 GB, free: 3.523 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005131/0.7913, allocations: 207.8 kB / 0.6139 GB, free: 3.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.7913, allocations: 0 / 0.6139 GB, free: 3.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002249/0.7916, allocations: 115.8 kB / 0.614 GB, free: 3.207 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003952/0.792, allocations: 31.14 kB / 0.6141 GB, free: 3.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006216/0.7926, allocations: 337.1 kB / 0.6144 GB, free: 2.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.7929, allocations: 0.6968 MB / 0.6151 GB, free: 2.098 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002223/0.7931, allocations: 39.39 kB / 0.6151 GB, free: 2.059 MB / 446.1 MB Notification: Performance of SimCode: time 2.164e-06/0.7932, allocations: 0 / 0.6151 GB, free: 2.059 MB / 446.1 MB Notification: Performance of Templates: time 0.007367/0.8005, allocations: 4.134 MB / 0.6191 GB, free: 13.91 MB / 462.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasa.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 OMCppModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasaCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasaCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Media.TestOnly.DryAirNasaCalcHelperMain.o] Error 1