Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.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/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008124/0.0008126, allocations: 92.39 kB / 16.33 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007964/0.0007965, allocations: 188.9 kB / 17.22 MB, free: 5.879 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.517/1.517, allocations: 205.4 MB / 223.4 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3688/0.3688, allocations: 43.55 MB / 315.2 MB, free: 9.137 MB / 254.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.0005448/0.0005449, allocations: 16 kB / 384.6 MB, free: 8.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1248, allocations: 58.85 MB / 443.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.4408/0.5657, allocations: 136.6 MB / 0.5664 GB, free: 3.445 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001728/0.5675, allocations: 0.907 MB / 0.5673 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.5676, allocations: 0 / 0.5673 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002931/0.5679, allocations: 23.83 kB / 0.5673 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008837/0.5688, allocations: 206.4 kB / 0.5675 GB, free: 2.332 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004906/0.5693, allocations: 88.67 kB / 0.5676 GB, free: 2.246 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003866/0.5697, allocations: 187.2 kB / 0.5678 GB, free: 2.062 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.095e-05/0.5698, allocations: 10.66 kB / 0.5678 GB, free: 2.055 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.5701, allocations: 87.62 kB / 0.5679 GB, free: 1.969 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.5702, allocations: 55.83 kB / 0.5679 GB, free: 1.914 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.5703, allocations: 0 / 0.5679 GB, free: 1.914 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007089/0.571, allocations: 263.7 kB / 0.5682 GB, free: 1.656 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.419e-05/0.5711, allocations: 19.91 kB / 0.5682 GB, free: 1.637 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.771e-05/0.5711, allocations: 45.64 kB / 0.5682 GB, free: 1.586 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004042/0.5715, allocations: 197.7 kB / 0.5684 GB, free: 1.395 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.5716, allocations: 4 kB / 0.5684 GB, free: 1.391 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5716, allocations: 0 / 0.5684 GB, free: 1.391 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.5716, allocations: 0 / 0.5684 GB, free: 1.391 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005957/0.5722, allocations: 386.8 kB / 0.5688 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.5722, allocations: 11.97 kB / 0.5688 GB, free: 0.957 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/0.5741, allocations: 190.1 kB / 0.569 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.5744, allocations: 207 kB / 0.5692 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.5744, allocations: 4 kB / 0.5692 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.334e-05/0.5745, allocations: 8.688 kB / 0.5692 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005295/0.575, allocations: 222.8 kB / 0.5694 GB, free: 296 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.5751, allocations: 0 / 0.5694 GB, free: 296 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.584e-05/0.5751, allocations: 8 kB / 0.5694 GB, free: 288 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.5751, allocations: 0 / 0.5694 GB, free: 288 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004208/0.5755, allocations: 171.9 kB / 0.5696 GB, free: 116 kB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.5767, allocations: 0.5767 MB / 0.5701 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003223/0.5771, allocations: 142.5 kB / 0.5703 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001542/0.5772, allocations: 69.62 kB / 0.5703 GB, free: 15.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.5773, allocations: 4 kB / 0.5703 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.187e-05/0.5773, allocations: 42.5 kB / 0.5704 GB, free: 15.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.372e-06/0.5773, allocations: 0 / 0.5704 GB, free: 15.21 MB / 446.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.004787/0.5821, allocations: 1.305 MB / 0.5717 GB, free: 13.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.5822, allocations: 51.41 kB / 0.5717 GB, free: 13.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.5823, allocations: 115.6 kB / 0.5718 GB, free: 13.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.5824, allocations: 31.11 kB / 0.5718 GB, free: 13.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/0.5824, allocations: 95.89 kB / 0.5719 GB, free: 13.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.072e-05/0.5825, allocations: 75 kB / 0.572 GB, free: 13.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.817e-05/0.5825, allocations: 4 kB / 0.572 GB, free: 13.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.5826, allocations: 322.8 kB / 0.5723 GB, free: 13.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.5828, allocations: 63.97 kB / 0.5724 GB, free: 13.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.583, allocations: 99.58 kB / 0.5725 GB, free: 12.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001744/0.5832, allocations: 84.92 kB / 0.5726 GB, free: 12.85 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5832, allocations: 0 / 0.5726 GB, free: 12.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004832/0.5837, allocations: 255.3 kB / 0.5728 GB, free: 12.59 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.5837, allocations: 4 kB / 0.5728 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.5837, allocations: 0 / 0.5728 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001809/0.5839, allocations: 52.83 kB / 0.5729 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.5842, allocations: 56 kB / 0.5729 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004415/0.5847, allocations: 0.5641 MB / 0.5735 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001646/0.5848, allocations: 13.77 kB / 0.5735 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/0.5849, allocations: 24 kB / 0.5735 GB, free: 11.85 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001308/0.585, allocations: 133.8 kB / 0.5736 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.5851, allocations: 11.91 kB / 0.5736 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007854/0.5859, allocations: 353.5 kB / 0.574 GB, free: 11.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.5859, allocations: 4 kB / 0.574 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5859, allocations: 3.938 kB / 0.574 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5859, allocations: 0 / 0.574 GB, free: 11.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009373/0.5869, allocations: 0.6275 MB / 0.5746 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5869, allocations: 0 / 0.5746 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003238/0.5872, allocations: 55.95 kB / 0.5746 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7e-05/0.5873, allocations: 24.84 kB / 0.5747 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/0.5873, allocations: 12.08 kB / 0.5747 GB, free: 10.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009114/0.5883, allocations: 1.269 MB / 0.5759 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5883, allocations: 4.156 kB / 0.5759 GB, free: 9.148 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006725/0.5889, allocations: 429 kB / 0.5763 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.596e-05/0.589, allocations: 92.53 kB / 0.5764 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.5891, allocations: 12.06 kB / 0.5764 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001938/0.5893, allocations: 4 kB / 0.5764 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.5893, allocations: 28.48 kB / 0.5765 GB, free: 8.555 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.874e-05/0.5894, allocations: 23.98 kB / 0.5765 GB, free: 8.531 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.247e-05/0.5894, allocations: 88.14 kB / 0.5766 GB, free: 8.445 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5894, allocations: 3.938 kB / 0.5766 GB, free: 8.441 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003928/0.5898, allocations: 83.98 kB / 0.5767 GB, free: 8.359 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * 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 (21): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003567/0.5902, allocations: 153.2 kB / 0.5768 GB, free: 8.203 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004788/0.5907, allocations: 203 kB / 0.577 GB, free: 8.008 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.5907, allocations: 4 kB / 0.577 GB, free: 8.004 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00038/0.5911, allocations: 219 kB / 0.5772 GB, free: 7.777 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004545/0.5916, allocations: 56.12 kB / 0.5773 GB, free: 7.727 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009652/0.5925, allocations: 0.5927 MB / 0.5778 GB, free: 7.102 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.5929, allocations: 0.7088 MB / 0.5785 GB, free: 6.367 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.5931, allocations: 59.41 kB / 0.5786 GB, free: 6.309 MB / 446.1 MB Notification: Performance of SimCode: time 4e-07/0.5931, allocations: 0 / 0.5786 GB, free: 6.309 MB / 446.1 MB Notification: Performance of Templates: time 0.007356/0.6005, allocations: 3.773 MB / 0.5823 GB, free: 2.551 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.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_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2CalcHelperMain.o] Error 1