Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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) 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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001128, allocations: 93.92 kB / 17.96 MB, free: 5.645 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.001229/0.001229, allocations: 177.6 kB / 18.86 MB, free: 4.773 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.909/1.909, allocations: 205.4 MB / 225 MB, free: 13.07 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.0005666/0.0005669, allocations: 8 kB / 282 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1445, allocations: 47.58 MB / 329.6 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.5417/0.6863, allocations: 146.4 MB / 476 MB, free: 7.359 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.6879, allocations: 0.988 MB / 477 MB, free: 6.383 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.893e-05/0.6879, allocations: 0 / 477 MB, free: 6.383 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003095/0.6883, allocations: 39.81 kB / 477.1 MB, free: 6.344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006036/0.6889, allocations: 203 kB / 477.3 MB, free: 6.145 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003911/0.6893, allocations: 107.7 kB / 477.4 MB, free: 6.039 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003132/0.6896, allocations: 203.3 kB / 477.6 MB, free: 5.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.802e-05/0.6897, allocations: 4 kB / 477.6 MB, free: 5.836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002289/0.6899, allocations: 83.62 kB / 477.7 MB, free: 5.754 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.69, allocations: 63.77 kB / 477.7 MB, free: 5.691 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.6901, allocations: 4 kB / 477.7 MB, free: 5.688 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005161/0.6906, allocations: 259.7 kB / 478 MB, free: 5.434 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.777e-05/0.6907, allocations: 23.89 kB / 478 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.889e-05/0.6908, allocations: 73.5 kB / 478.1 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.6911, allocations: 205.1 kB / 478.3 MB, free: 5.133 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6911, allocations: 0 / 478.3 MB, free: 5.133 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.6911, allocations: 0 / 478.3 MB, free: 5.133 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.6911, allocations: 4 kB / 478.3 MB, free: 5.129 MB / 366.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.0006961/0.6918, allocations: 391.9 kB / 478.7 MB, free: 4.699 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.6919, allocations: 8.031 kB / 478.7 MB, free: 4.691 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002065/0.694, allocations: 192.5 kB / 478.9 MB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.6942, allocations: 200.4 kB / 479.1 MB, free: 4.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.6942, allocations: 7.938 kB / 479.1 MB, free: 4.262 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/0.6943, allocations: 8 kB / 479.1 MB, free: 4.254 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005055/0.6948, allocations: 224 kB / 479.3 MB, free: 4.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.6948, allocations: 0 / 479.3 MB, free: 4.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.858e-05/0.6949, allocations: 11.98 kB / 479.3 MB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.6949, allocations: 0 / 479.3 MB, free: 4.008 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004354/0.6953, allocations: 167.9 kB / 479.5 MB, free: 3.844 MB / 366.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.001112/0.6965, allocations: 0.5961 MB / 480.1 MB, free: 3.188 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.6968, allocations: 130.5 kB / 480.2 MB, free: 3.051 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.697, allocations: 72.83 kB / 480.3 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.697, allocations: 4 kB / 480.3 MB, free: 2.973 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.6971, allocations: 38.5 kB / 480.3 MB, free: 2.926 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.6971, allocations: 0 / 480.3 MB, free: 2.926 MB / 366.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.00535/0.7024, allocations: 1.316 MB / 481.6 MB, free: 1.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.7025, allocations: 51.41 kB / 481.7 MB, free: 1.457 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.7026, allocations: 109.8 kB / 481.8 MB, free: 1.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.032e-05/0.7027, allocations: 33.69 kB / 481.8 MB, free: 1.301 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.239e-05/0.7028, allocations: 95.95 kB / 481.9 MB, free: 1.203 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.684e-05/0.7028, allocations: 67.03 kB / 482 MB, free: 1.137 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.689e-05/0.7029, allocations: 21.72 kB / 482 MB, free: 1.109 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001561/0.7031, allocations: 326.8 kB / 482.3 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.7032, allocations: 63.97 kB / 482.4 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001775/0.7034, allocations: 103.4 kB / 482.5 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003505/0.7038, allocations: 187.3 kB / 482.7 MB, free: 420 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.7038, allocations: 0 / 482.7 MB, free: 420 kB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004843/0.7043, allocations: 254.2 kB / 482.9 MB, free: 156 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.7043, allocations: 11.98 kB / 482.9 MB, free: 144 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.677e-06/0.7043, allocations: 0 / 482.9 MB, free: 144 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001985/0.7045, allocations: 56.7 kB / 483 MB, free: 84 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.7048, allocations: 56.06 kB / 483 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005201/0.7054, allocations: 0.5678 MB / 483.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.7055, allocations: 8.031 kB / 483.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/0.7056, allocations: 27.98 kB / 483.6 MB, free: 15.4 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.0001654/0.7058, allocations: 121.9 kB / 483.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.542e-05/0.7058, allocations: 11.84 kB / 483.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008723/0.7067, allocations: 343.4 kB / 484.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.7067, allocations: 3.938 kB / 484.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.7068, allocations: 4 kB / 484.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.7068, allocations: 7.922 kB / 484.1 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.7079, allocations: 0.6295 MB / 484.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.7079, allocations: 0 / 484.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000331/0.7082, allocations: 59.89 kB / 484.8 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.588e-05/0.7083, allocations: 20.84 kB / 484.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.7084, allocations: 15.98 kB / 484.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.7095, allocations: 1.276 MB / 486.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.7095, allocations: 3.938 kB / 486.1 MB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007008/0.7102, allocations: 434.7 kB / 486.5 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.882e-05/0.7102, allocations: 85.05 kB / 486.6 MB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.216e-05/0.7103, allocations: 8.812 kB / 486.6 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.7105, allocations: 19.98 kB / 486.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.42e-05/0.7106, allocations: 19.98 kB / 486.7 MB, free: 12.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/0.7106, allocations: 27.98 kB / 486.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.002e-05/0.7107, allocations: 87.27 kB / 486.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7107, allocations: 0 / 486.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004239/0.7111, allocations: 80 kB / 486.9 MB, free: 11.9 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 (21): * Single equations (assignments): 20 * 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.0003949/0.7115, allocations: 147.1 kB / 487 MB, free: 11.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005211/0.7121, allocations: 204.5 kB / 487.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.511e-05/0.7121, allocations: 4 kB / 487.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003517/0.7124, allocations: 218.5 kB / 487.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/0.7129, allocations: 48.14 kB / 487.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009828/0.7139, allocations: 0.6141 MB / 488.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.7143, allocations: 0.7049 MB / 488.8 MB, free: 9.891 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.7146, allocations: 63.39 kB / 488.8 MB, free: 9.828 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.7146, allocations: 0 / 488.8 MB, free: 9.828 MB / 382.1 MB Notification: Performance of Templates: time 0.008089/0.7227, allocations: 3.795 MB / 492.6 MB, free: 6.039 MB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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.IdealGasN2CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2CalcHelperMain.o] Error 1