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.0009249/0.0009251, allocations: 86.38 kB / 17.58 MB, free: 6.219 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.001179/0.001179, allocations: 187.8 kB / 18.48 MB, free: 5.379 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.71/1.71, allocations: 205.4 MB / 224.6 MB, free: 13.17 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.0005016/0.0005017, allocations: 16 kB / 281.4 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1175, allocations: 47.58 MB / 329 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.4352/0.5528, allocations: 136.6 MB / 465.5 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.5541, allocations: 0.9039 MB / 466.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.635e-05/0.5542, allocations: 3.938 kB / 466.4 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.5545, allocations: 27.88 kB / 466.5 MB, free: 0.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005274/0.555, allocations: 209.3 kB / 466.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003547/0.5554, allocations: 88.8 kB / 466.8 MB, free: 428 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002615/0.5557, allocations: 183.2 kB / 466.9 MB, free: 244 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.89e-05/0.5557, allocations: 4 kB / 467 MB, free: 240 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.5559, allocations: 83.69 kB / 467 MB, free: 156 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001102/0.5561, allocations: 55.77 kB / 467.1 MB, free: 100 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.5561, allocations: 0 / 467.1 MB, free: 100 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005002/0.5566, allocations: 271.6 kB / 467.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.567e-05/0.5567, allocations: 15.92 kB / 467.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.221e-05/0.5567, allocations: 41.7 kB / 467.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003136/0.557, allocations: 209.1 kB / 467.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.944e-06/0.5571, allocations: 0 / 467.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5571, allocations: 0 / 467.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.5571, allocations: 7.938 kB / 467.6 MB, free: 15.56 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.0005337/0.5576, allocations: 383.8 kB / 468 MB, free: 15.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.5577, allocations: 8.031 kB / 468 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.5595, allocations: 192.1 kB / 468.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002457/0.5597, allocations: 211.4 kB / 468.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.5597, allocations: 11.98 kB / 468.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.5598, allocations: 8 kB / 468.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004708/0.5603, allocations: 220 kB / 468.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.5603, allocations: 0 / 468.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.5603, allocations: 11.94 kB / 468.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.5603, allocations: 0 / 468.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004031/0.5607, allocations: 171.9 kB / 468.8 MB, free: 14.27 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.001128/0.5619, allocations: 0.5764 MB / 469.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003611/0.5623, allocations: 150.5 kB / 469.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000161/0.5624, allocations: 64.83 kB / 469.6 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.5625, allocations: 4 kB / 469.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.5625, allocations: 30.56 kB / 469.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.5625, allocations: 0 / 469.6 MB, free: 13.36 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.004703/0.5672, allocations: 1.315 MB / 470.9 MB, free: 11.96 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.5673, allocations: 55.41 kB / 471 MB, free: 11.89 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.541e-05/0.5674, allocations: 109.8 kB / 471.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.897e-05/0.5674, allocations: 29.7 kB / 471.1 MB, free: 11.74 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.295e-05/0.5675, allocations: 99.97 kB / 471.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.331e-05/0.5676, allocations: 63.02 kB / 471.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.761e-05/0.5676, allocations: 8 kB / 471.3 MB, free: 11.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.5677, allocations: 322.8 kB / 471.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.5679, allocations: 63.97 kB / 471.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/0.5681, allocations: 99.58 kB / 471.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.5682, allocations: 80.92 kB / 471.9 MB, free: 10.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.5682, allocations: 11.89 kB / 471.9 MB, free: 10.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004491/0.5687, allocations: 255.3 kB / 472.1 MB, free: 10.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.5687, allocations: 4 kB / 472.1 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.5687, allocations: 320 / 472.1 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001859/0.5689, allocations: 52.83 kB / 472.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.5692, allocations: 51.95 kB / 472.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004114/0.5696, allocations: 0.5641 MB / 472.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.5698, allocations: 19.86 kB / 472.8 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.222e-05/0.5699, allocations: 35.92 kB / 472.8 MB, free: 9.969 MB / 366.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.0001192/0.57, allocations: 129.7 kB / 473 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/0.57, allocations: 15.98 kB / 473 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007833/0.5708, allocations: 331.3 kB / 473.3 MB, free: 9.484 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.5708, allocations: 4 kB / 473.3 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5709, allocations: 0 / 473.3 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.5709, allocations: 3.953 kB / 473.3 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008743/0.5717, allocations: 0.6313 MB / 473.9 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.5718, allocations: 2.188 kB / 474 MB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/0.5721, allocations: 59.89 kB / 474 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.635e-05/0.5721, allocations: 28.8 kB / 474 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.5722, allocations: 15.98 kB / 474.1 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00083/0.573, allocations: 1.272 MB / 475.3 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.573, allocations: 0 / 475.3 MB, free: 7.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006139/0.5737, allocations: 434.7 kB / 475.7 MB, free: 6.816 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.5737, allocations: 85.05 kB / 475.8 MB, free: 6.715 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.5737, allocations: 8 kB / 475.8 MB, free: 6.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.5739, allocations: 8.938 kB / 475.8 MB, free: 6.699 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.574, allocations: 23.97 kB / 475.9 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/0.574, allocations: 23.98 kB / 475.9 MB, free: 6.652 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.454e-05/0.5741, allocations: 91.27 kB / 476 MB, free: 6.562 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5741, allocations: 0 / 476 MB, free: 6.562 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003872/0.5745, allocations: 83.95 kB / 476.1 MB, free: 6.48 MB / 366.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.0003271/0.5748, allocations: 155 kB / 476.2 MB, free: 6.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000448/0.5753, allocations: 196 kB / 476.4 MB, free: 6.129 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5753, allocations: 0 / 476.4 MB, free: 6.129 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003104/0.5756, allocations: 222.5 kB / 476.6 MB, free: 5.898 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.576, allocations: 46.19 kB / 476.7 MB, free: 5.855 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009579/0.577, allocations: 0.5917 MB / 477.3 MB, free: 5.223 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.5774, allocations: 0.7088 MB / 478 MB, free: 4.488 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.5776, allocations: 55.41 kB / 478 MB, free: 4.434 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.5776, allocations: 7.938 kB / 478 MB, free: 4.426 MB / 366.1 MB Notification: Performance of Templates: time 0.006138/0.5838, allocations: 3.785 MB / 481.8 MB, free: 0.6484 MB / 366.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++ 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 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