Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009411/0.0009417, allocations: 96.7 kB / 16.33 MB, free: 5.949 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.0008635/0.0008635, allocations: 185.6 kB / 17.22 MB, free: 5.883 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.581/1.581, allocations: 205.4 MB / 223.4 MB, free: 5.559 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.3541/0.3541, allocations: 43.54 MB / 315.2 MB, free: 8.832 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.0005132/0.0005134, allocations: 18.97 kB / 384.6 MB, free: 8.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1246, allocations: 58.86 MB / 443.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.4106/0.5352, allocations: 163.9 MB / 0.5931 GB, free: 7.945 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009901/0.5452, allocations: 7.725 MB / 0.6006 GB, free: 216 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007525/0.546, allocations: 27.75 kB / 0.6006 GB, free: 188 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008258/0.5468, allocations: 250.4 kB / 0.6009 GB, free: 15.94 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003543/0.5504, allocations: 1.28 MB / 0.6021 GB, free: 14.66 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00264/0.553, allocations: 0.8857 MB / 0.603 GB, free: 13.79 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002687/0.5557, allocations: 2.242 MB / 0.6052 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006285/0.5564, allocations: 386.1 kB / 0.6055 GB, free: 11.16 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002551/0.5589, allocations: 1.046 MB / 0.6066 GB, free: 10.12 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009969/0.5599, allocations: 0.6502 MB / 0.6072 GB, free: 9.465 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.998e-05/0.56, allocations: 32 kB / 0.6072 GB, free: 9.434 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001609/0.5616, allocations: 0.6045 MB / 0.6078 GB, free: 8.828 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003001/0.5619, allocations: 235.3 kB / 0.608 GB, free: 8.598 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002178/0.5622, allocations: 165.3 kB / 0.6082 GB, free: 8.43 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001127/0.5633, allocations: 1.002 MB / 0.6092 GB, free: 7.426 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5633, allocations: 0 / 0.6092 GB, free: 7.426 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5633, allocations: 0 / 0.6092 GB, free: 7.426 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.5634, allocations: 0 / 0.6092 GB, free: 7.426 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001932/0.5653, allocations: 0.983 MB / 0.6101 GB, free: 6.395 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.5653, allocations: 16.02 kB / 0.6101 GB, free: 6.379 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007728/0.5661, allocations: 139.1 kB / 0.6103 GB, free: 6.242 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007453/0.5669, allocations: 496.5 kB / 0.6108 GB, free: 5.715 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.567, allocations: 104.4 kB / 0.6109 GB, free: 5.602 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.251e-05/0.5671, allocations: 48 kB / 0.6109 GB, free: 5.555 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.5683, allocations: 0.8135 MB / 0.6117 GB, free: 4.664 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.5683, allocations: 7.938 kB / 0.6117 GB, free: 4.656 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.999e-05/0.5684, allocations: 24 kB / 0.6117 GB, free: 4.633 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.612e-05/0.5685, allocations: 41.53 kB / 0.6118 GB, free: 4.594 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009733/0.5694, allocations: 0.6166 MB / 0.6124 GB, free: 3.977 MB / 478.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.004172/0.5736, allocations: 3.978 MB / 0.6162 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005574/0.5742, allocations: 351.6 kB / 0.6166 GB, free: 15.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002591/0.5745, allocations: 170 kB / 0.6167 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004793/0.575, allocations: 365.4 kB / 0.6171 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.575, allocations: 46.81 kB / 0.6171 GB, free: 14.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=34): time 2.455e-06/0.575, allocations: 0 / 0.6171 GB, free: 14.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=39): time 0.00487/0.5799, allocations: 1.673 MB / 0.6188 GB, free: 13.03 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.58, allocations: 132.5 kB / 0.6189 GB, free: 12.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007173/0.5807, allocations: 0.6133 MB / 0.6195 GB, free: 12.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.596e-05/0.5808, allocations: 29.7 kB / 0.6195 GB, free: 12.21 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002933/0.5811, allocations: 363 kB / 0.6199 GB, free: 11.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.5812, allocations: 145.9 kB / 0.62 GB, free: 11.71 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.633e-05/0.5812, allocations: 12 kB / 0.62 GB, free: 11.7 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.5814, allocations: 378.8 kB / 0.6204 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003409/0.5818, allocations: 197.9 kB / 0.6206 GB, free: 11.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005997/0.5824, allocations: 0.5202 MB / 0.6211 GB, free: 10.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004527/0.5828, allocations: 283.8 kB / 0.6214 GB, free: 10.19 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5828, allocations: 0 / 0.6214 GB, free: 10.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001387/0.5842, allocations: 0.8802 MB / 0.6222 GB, free: 9.297 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.5843, allocations: 12 kB / 0.6222 GB, free: 9.285 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.5843, allocations: 8 kB / 0.6222 GB, free: 9.277 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/0.5855, allocations: 317.1 kB / 0.6225 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.5859, allocations: 127.8 kB / 0.6227 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001055/0.587, allocations: 0.9308 MB / 0.6236 GB, free: 7.883 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004671/0.5875, allocations: 51.97 kB / 0.6236 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.392e-05/0.5876, allocations: 67.97 kB / 0.6237 GB, free: 7.766 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0003167/0.5879, allocations: 245.5 kB / 0.6239 GB, free: 7.516 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.588, allocations: 67.16 kB / 0.624 GB, free: 7.449 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.5895, allocations: 0.6881 MB / 0.6246 GB, free: 6.746 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/0.5895, allocations: 4 kB / 0.6247 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.5895, allocations: 0 / 0.6247 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.5895, allocations: 3.984 kB / 0.6247 GB, free: 6.738 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002144/0.5916, allocations: 1.607 MB / 0.6262 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.5917, allocations: 4 kB / 0.6262 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009329/0.5926, allocations: 203.9 kB / 0.6264 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.613e-05/0.5927, allocations: 24.84 kB / 0.6264 GB, free: 4.758 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.886e-05/0.5927, allocations: 23.98 kB / 0.6265 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.5948, allocations: 2.687 MB / 0.6291 GB, free: 1.785 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.5948, allocations: 4.031 kB / 0.6291 GB, free: 1.781 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.596, allocations: 0.7962 MB / 0.6299 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002321/0.5962, allocations: 196.2 kB / 0.6301 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.731e-05/0.5963, allocations: 11.98 kB / 0.6301 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/0.5967, allocations: 23.98 kB / 0.6301 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.5968, allocations: 39.94 kB / 0.6301 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.169e-05/0.5968, allocations: 48.05 kB / 0.6302 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004887/0.5973, allocations: 423 kB / 0.6306 GB, free: 216 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5973, allocations: 7.938 kB / 0.6306 GB, free: 208 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.2496/0.847, allocations: 290.7 kB / 0.6309 GB, free: 153.9 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (volume.medium.p,volume.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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.001133/0.8482, allocations: 360.3 kB / 0.6312 GB, free: 153.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.8494, allocations: 0.5359 MB / 0.6317 GB, free: 153.8 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.8494, allocations: 2.969 kB / 0.6317 GB, free: 153.8 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000811/0.8502, allocations: 408.8 kB / 0.6321 GB, free: 153.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.8518, allocations: 335.3 kB / 0.6324 GB, free: 153.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.8537, allocations: 1.598 MB / 0.634 GB, free: 153.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/0.8541, allocations: 0.9291 MB / 0.6349 GB, free: 152.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000323/0.8544, allocations: 112 kB / 0.635 GB, free: 152.4 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.8544, allocations: 2.734 kB / 0.635 GB, free: 152.4 MB / 494.1 MB Notification: Performance of Templates: time 0.02558/0.88, allocations: 16.82 MB / 0.6515 GB, free: 150.9 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.TestsWithFluid.MediaTestModels.IdealGases.AirCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.AirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.AirCalcHelperMain.o] Error 1