Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007996/0.0007996, allocations: 91.23 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008892/0.0008892, allocations: 197.1 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 227.3 MB / 246.6 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2281/0.2281, allocations: 45.92 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002856/0.0002856, allocations: 8 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1671, allocations: 63.47 MB / 482.1 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.5338/0.7009, allocations: 134.4 MB / 0.6021 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008543/0.7095, allocations: 5.326 MB / 0.6073 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001184/0.7107, allocations: 19.81 kB / 0.6073 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.7118, allocations: 266.4 kB / 0.6076 GB, free: 9.867 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002481/0.7143, allocations: 0.8131 MB / 0.6083 GB, free: 9.051 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002871/0.7172, allocations: 0.804 MB / 0.6091 GB, free: 8.258 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003181/0.7204, allocations: 2.214 MB / 0.6113 GB, free: 6.039 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008586/0.7213, allocations: 371.8 kB / 0.6117 GB, free: 5.668 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.7228, allocations: 0.6655 MB / 0.6123 GB, free: 5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001126/0.7239, allocations: 0.7047 MB / 0.613 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.995e-05/0.724, allocations: 36 kB / 0.613 GB, free: 4.258 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001236/0.7253, allocations: 423.1 kB / 0.6134 GB, free: 3.844 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002832/0.7255, allocations: 231.3 kB / 0.6136 GB, free: 3.617 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002209/0.7258, allocations: 161.4 kB / 0.6138 GB, free: 3.453 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009485/0.7267, allocations: 0.8047 MB / 0.6146 GB, free: 2.648 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.7267, allocations: 8 kB / 0.6146 GB, free: 2.641 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.7268, allocations: 4 kB / 0.6146 GB, free: 2.637 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.7268, allocations: 0 / 0.6146 GB, free: 2.637 MB / 446.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.001877/0.7287, allocations: 0.9198 MB / 0.6155 GB, free: 1.668 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.7287, allocations: 8.031 kB / 0.6155 GB, free: 1.66 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003317/0.7291, allocations: 95.09 kB / 0.6156 GB, free: 1.566 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007826/0.7298, allocations: 0.4966 MB / 0.6161 GB, free: 1.027 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.73, allocations: 100.4 kB / 0.6162 GB, free: 0.918 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.625e-05/0.7301, allocations: 48 kB / 0.6162 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.7314, allocations: 0.8111 MB / 0.617 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.29e-05/0.7314, allocations: 3.953 kB / 0.617 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-05/0.7315, allocations: 27.98 kB / 0.617 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.146e-05/0.7315, allocations: 36.98 kB / 0.6171 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001025/0.7326, allocations: 0.6478 MB / 0.6177 GB, free: 15.27 MB / 462.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.004619/0.7372, allocations: 3.963 MB / 0.6216 GB, free: 11.03 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008198/0.738, allocations: 420.3 kB / 0.622 GB, free: 10.61 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003768/0.7384, allocations: 201.4 kB / 0.6222 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007443/0.7392, allocations: 0.7365 MB / 0.6229 GB, free: 9.504 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/0.7392, allocations: 46.89 kB / 0.6229 GB, free: 9.449 MB / 462.1 MB Notification: Performance of pre-optimization done (n=40): time 2.625e-06/0.7392, allocations: 0 / 0.6229 GB, free: 9.449 MB / 462.1 MB Notification: Performance of matching and sorting (n=45): time 0.003416/0.7427, allocations: 1.531 MB / 0.6244 GB, free: 7.844 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/0.7428, allocations: 140.4 kB / 0.6246 GB, free: 7.676 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007043/0.7435, allocations: 0.5692 MB / 0.6251 GB, free: 7.098 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.638e-05/0.7435, allocations: 33.7 kB / 0.6252 GB, free: 7.059 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002761/0.7438, allocations: 351 kB / 0.6255 GB, free: 6.711 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.744, allocations: 161.7 kB / 0.6256 GB, free: 6.551 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.744, allocations: 16 kB / 0.6257 GB, free: 6.535 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.7442, allocations: 382.7 kB / 0.626 GB, free: 6.152 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.7446, allocations: 217.9 kB / 0.6262 GB, free: 5.941 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006262/0.7452, allocations: 0.5091 MB / 0.6267 GB, free: 5.297 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004724/0.7457, allocations: 312.6 kB / 0.627 GB, free: 4.996 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.7457, allocations: 3.938 kB / 0.627 GB, free: 4.992 MB / 462.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001727/0.7474, allocations: 0.9017 MB / 0.6279 GB, free: 4.078 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/0.7475, allocations: 15.95 kB / 0.6279 GB, free: 4.062 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.7475, allocations: 8.875 kB / 0.6279 GB, free: 4.055 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.7488, allocations: 294.7 kB / 0.6282 GB, free: 3.766 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/0.7492, allocations: 123.8 kB / 0.6283 GB, free: 3.645 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001004/0.7502, allocations: 0.8762 MB / 0.6292 GB, free: 2.742 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000543/0.7508, allocations: 51.53 kB / 0.6292 GB, free: 2.695 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/0.7509, allocations: 32 kB / 0.6293 GB, free: 2.664 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004192/0.7513, allocations: 258 kB / 0.6295 GB, free: 2.402 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.7514, allocations: 71.16 kB / 0.6296 GB, free: 2.332 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.7528, allocations: 0.763 MB / 0.6303 GB, free: 1.539 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.227e-05/0.7528, allocations: 7.984 kB / 0.6303 GB, free: 1.531 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/0.7528, allocations: 0 / 0.6303 GB, free: 1.531 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.7528, allocations: 0 / 0.6303 GB, free: 1.531 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.7549, allocations: 1.415 MB / 0.6317 GB, free: 16 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.7549, allocations: 4 kB / 0.6317 GB, free: 12 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001009/0.7559, allocations: 199.9 kB / 0.6319 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000102/0.756, allocations: 29.03 kB / 0.6319 GB, free: 15.78 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/0.7561, allocations: 12 kB / 0.632 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/0.7581, allocations: 2.689 MB / 0.6346 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.7581, allocations: 0 / 0.6346 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001386/0.7595, allocations: 1.007 MB / 0.6356 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003015/0.7598, allocations: 196.3 kB / 0.6357 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.183e-05/0.7599, allocations: 15.81 kB / 0.6358 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/0.7603, allocations: 35.89 kB / 0.6358 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.404e-05/0.7604, allocations: 43.84 kB / 0.6358 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-05/0.7605, allocations: 27.98 kB / 0.6359 GB, free: 11.43 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0005518/0.761, allocations: 411 kB / 0.6363 GB, free: 11.02 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7611, allocations: 0 / 0.6363 GB, free: 11.02 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0009828/0.762, allocations: 216 kB / 0.6365 GB, free: 10.81 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0005874/0.7626, allocations: 258.7 kB / 0.6367 GB, free: 10.56 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.7639, allocations: 0.5915 MB / 0.6373 GB, free: 9.965 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.7639, allocations: 0 / 0.6373 GB, free: 9.965 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009669/0.7649, allocations: 450.4 kB / 0.6377 GB, free: 9.512 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/0.7664, allocations: 321.7 kB / 0.638 GB, free: 9.203 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002507/0.7689, allocations: 1.674 MB / 0.6397 GB, free: 7.477 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006206/0.7696, allocations: 0.9387 MB / 0.6406 GB, free: 6.508 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.7698, allocations: 67.42 kB / 0.6406 GB, free: 6.441 MB / 478.1 MB Notification: Performance of SimCode: time 2.434e-06/0.7698, allocations: 0 / 0.6406 GB, free: 6.441 MB / 478.1 MB Notification: Performance of Templates: time 0.02403/0.7938, allocations: 15.45 MB / 0.6557 GB, free: 7.059 MB / 494.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAirCalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAirCalcHelperMain.o] Error 1