Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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) 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(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001625/0.001624, allocations: 108.2 kB / 17.81 MB, free: 5.559 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.001571/0.001571, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.982/1.982, allocations: 205.1 MB / 224.6 MB, free: 12.48 MB / 190.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.001689/0.001689, allocations: 47.92 kB / 280.6 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.151, allocations: 46.61 MB / 327.2 MB, free: 4.914 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.5726/0.7237, allocations: 148.6 MB / 475.9 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.7261, allocations: 1.541 MB / 477.4 MB, free: 1.496 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.933e-05/0.7262, allocations: 0 / 477.4 MB, free: 1.496 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004352/0.7267, allocations: 43.8 kB / 477.5 MB, free: 1.453 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009716/0.7277, allocations: 355 kB / 477.8 MB, free: 1.105 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005454/0.7282, allocations: 151.5 kB / 477.9 MB, free: 0.957 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003185/0.7286, allocations: 247.2 kB / 478.2 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.819e-05/0.7286, allocations: 11.08 kB / 478.2 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.7288, allocations: 67.72 kB / 478.3 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.729, allocations: 63.73 kB / 478.3 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.729, allocations: 4 kB / 478.3 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001355/0.7304, allocations: 0.6744 MB / 479 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.77e-05/0.7305, allocations: 31.78 kB / 479 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.057e-05/0.7306, allocations: 47.8 kB / 479.1 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004976/0.7311, allocations: 288.9 kB / 479.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.7311, allocations: 0 / 479.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.7311, allocations: 0 / 479.4 MB, free: 15.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.7311, allocations: 0 / 479.4 MB, free: 15.54 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007612/0.7319, allocations: 432 kB / 479.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.732, allocations: 8.031 kB / 479.8 MB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002296/0.7343, allocations: 196.5 kB / 480 MB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003389/0.7346, allocations: 204.2 kB / 480.2 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.7346, allocations: 8.312 kB / 480.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.182e-05/0.7347, allocations: 8 kB / 480.2 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005577/0.7353, allocations: 205.5 kB / 480.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.7353, allocations: 0 / 480.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/0.7354, allocations: 0 / 480.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.7354, allocations: 4 kB / 480.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006224/0.736, allocations: 247.8 kB / 480.7 MB, free: 14.16 MB / 382.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.002009/0.738, allocations: 0.6685 MB / 481.3 MB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004799/0.7385, allocations: 190.5 kB / 481.5 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.7387, allocations: 96.81 kB / 481.6 MB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/0.7389, allocations: 89.09 kB / 481.7 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.07e-05/0.739, allocations: 30.56 kB / 481.7 MB, free: 13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.202e-06/0.739, allocations: 3.938 kB / 481.7 MB, free: 13 MB / 382.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.006289/0.7453, allocations: 1.541 MB / 483.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.7454, allocations: 59.41 kB / 483.3 MB, free: 11.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.7455, allocations: 109.8 kB / 483.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.7455, allocations: 29.7 kB / 483.5 MB, free: 11.13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.979e-05/0.7456, allocations: 104.2 kB / 483.6 MB, free: 11.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.52e-05/0.7457, allocations: 59.11 kB / 483.6 MB, free: 10.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.7458, allocations: 49.55 kB / 483.7 MB, free: 10.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.746, allocations: 318.8 kB / 484 MB, free: 10.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002298/0.7462, allocations: 87.95 kB / 484.1 MB, free: 10.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/0.7465, allocations: 131.2 kB / 484.2 MB, free: 10.36 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005914/0.7471, allocations: 227.3 kB / 484.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.7471, allocations: 0 / 484.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006731/0.7478, allocations: 290.1 kB / 484.7 MB, free: 9.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.7479, allocations: 4 kB / 484.7 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.7479, allocations: 0 / 484.7 MB, free: 9.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001651/0.748, allocations: 24.84 kB / 484.7 MB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004794/0.7485, allocations: 59.98 kB / 484.8 MB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004581/0.749, allocations: 0.5328 MB / 485.3 MB, free: 9.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.7493, allocations: 15.95 kB / 485.3 MB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/0.7493, allocations: 8 kB / 485.3 MB, free: 9.164 MB / 382.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001719/0.7495, allocations: 133.9 kB / 485.5 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.814e-05/0.7496, allocations: 7.906 kB / 485.5 MB, free: 9.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008464/0.7505, allocations: 323 kB / 485.8 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.7505, allocations: 0 / 485.8 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.7505, allocations: 3.938 kB / 485.8 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.7505, allocations: 0 / 485.8 MB, free: 8.691 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.7518, allocations: 0.6758 MB / 486.5 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.7518, allocations: 0 / 486.5 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004529/0.7523, allocations: 55.89 kB / 486.5 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.982e-05/0.7523, allocations: 16.84 kB / 486.5 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.246e-05/0.7524, allocations: 11.98 kB / 486.6 MB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/0.7537, allocations: 1.268 MB / 487.8 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.7537, allocations: 4.031 kB / 487.8 MB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.7548, allocations: 458 kB / 488.3 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.945e-05/0.7549, allocations: 85.05 kB / 488.4 MB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.7549, allocations: 4 kB / 488.4 MB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/0.7553, allocations: 15.92 kB / 488.4 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.734e-05/0.7554, allocations: 20.05 kB / 488.4 MB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.7554, allocations: 11.98 kB / 488.4 MB, free: 5.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.57e-05/0.7555, allocations: 87.59 kB / 488.5 MB, free: 5.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7555, allocations: 0 / 488.5 MB, free: 5.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006996/0.7562, allocations: 127.9 kB / 488.6 MB, free: 5.621 MB / 382.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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008618/0.7571, allocations: 258.9 kB / 488.9 MB, free: 5.355 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007825/0.7579, allocations: 228 kB / 489.1 MB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.7579, allocations: 0 / 489.1 MB, free: 5.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004992/0.7584, allocations: 230.5 kB / 489.3 MB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005095/0.7589, allocations: 60.14 kB / 489.4 MB, free: 4.836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001252/0.7602, allocations: 0.5291 MB / 489.9 MB, free: 4.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.7606, allocations: 0.7126 MB / 490.6 MB, free: 3.531 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.7608, allocations: 27.42 kB / 490.6 MB, free: 3.504 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.7608, allocations: 0 / 490.6 MB, free: 3.504 MB / 382.1 MB Notification: Performance of Templates: time 0.01018/0.771, allocations: 5.147 MB / 495.8 MB, free: 14.35 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2MixCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2MixCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2MixCalcHelperMain.o] Error 1