Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 87.48 kB / 17.63 MB, free: 5.715 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.001345/0.001345, allocations: 182.4 kB / 18.52 MB, free: 5.168 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 223.2 MB / 242.5 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2259/0.2259, allocations: 44.22 MB / 337.9 MB, free: 2.551 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003441/0.0003442, allocations: 11.22 kB / 410.3 MB, free: 27.63 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1453, allocations: 61.92 MB / 472.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir): time 0.5393/0.6846, allocations: 134.3 MB / 0.5923 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008667/0.6933, allocations: 5.331 MB / 0.5975 GB, free: 6.902 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.6945, allocations: 23.81 kB / 0.5975 GB, free: 6.879 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.6956, allocations: 266.4 kB / 0.5978 GB, free: 6.617 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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 4.0.0+maint.om/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.00238/0.698, allocations: 0.8122 MB / 0.5986 GB, free: 5.801 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002701/0.7007, allocations: 0.7917 MB / 0.5994 GB, free: 5.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002721/0.7034, allocations: 2.203 MB / 0.6015 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000675/0.7041, allocations: 383.1 kB / 0.6019 GB, free: 2.434 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.7053, allocations: 0.6538 MB / 0.6025 GB, free: 1.777 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.7063, allocations: 0.7008 MB / 0.6032 GB, free: 1.074 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.669e-05/0.7064, allocations: 32 kB / 0.6032 GB, free: 1.043 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.7075, allocations: 415.2 kB / 0.6036 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002642/0.7078, allocations: 235.2 kB / 0.6039 GB, free: 416 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001861/0.708, allocations: 161.4 kB / 0.604 GB, free: 248 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009138/0.7089, allocations: 0.8164 MB / 0.6048 GB, free: 15.43 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.7089, allocations: 0 / 0.6048 GB, free: 15.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.7089, allocations: 0 / 0.6048 GB, free: 15.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.709, allocations: 7.938 kB / 0.6048 GB, free: 15.42 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.001854/0.7108, allocations: 0.9182 MB / 0.6057 GB, free: 14.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.7109, allocations: 12.56 kB / 0.6057 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003283/0.7112, allocations: 83.16 kB / 0.6058 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007897/0.712, allocations: 0.5005 MB / 0.6063 GB, free: 13.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.7121, allocations: 100.4 kB / 0.6064 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.458e-05/0.7122, allocations: 51.98 kB / 0.6064 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.7135, allocations: 0.8072 MB / 0.6072 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.7135, allocations: 3.938 kB / 0.6072 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.954e-05/0.7136, allocations: 24 kB / 0.6072 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.137e-05/0.7137, allocations: 36.98 kB / 0.6073 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.7147, allocations: 0.6478 MB / 0.6079 GB, free: 12.07 MB / 446.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.004442/0.7191, allocations: 3.959 MB / 0.6118 GB, free: 7.828 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008266/0.72, allocations: 435.4 kB / 0.6122 GB, free: 7.395 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/0.7203, allocations: 201.4 kB / 0.6124 GB, free: 7.195 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007101/0.721, allocations: 0.7288 MB / 0.6131 GB, free: 6.301 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.7211, allocations: 46.88 kB / 0.6131 GB, free: 6.246 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.064e-06/0.7211, allocations: 0 / 0.6131 GB, free: 6.246 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003178/0.7243, allocations: 1.542 MB / 0.6147 GB, free: 4.633 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.35e-05/0.7244, allocations: 136.5 kB / 0.6148 GB, free: 4.469 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006454/0.725, allocations: 0.5615 MB / 0.6153 GB, free: 3.898 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.546e-05/0.7251, allocations: 33.7 kB / 0.6154 GB, free: 3.859 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/0.7253, allocations: 351 kB / 0.6157 GB, free: 3.512 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/0.7255, allocations: 169.7 kB / 0.6159 GB, free: 3.344 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.7255, allocations: 12 kB / 0.6159 GB, free: 3.332 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.7257, allocations: 378.8 kB / 0.6162 GB, free: 2.953 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.7261, allocations: 217.8 kB / 0.6164 GB, free: 2.742 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005841/0.7267, allocations: 0.5084 MB / 0.6169 GB, free: 2.094 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004573/0.7271, allocations: 308.6 kB / 0.6172 GB, free: 1.793 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.7271, allocations: 0 / 0.6172 GB, free: 1.793 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001765/0.729, allocations: 0.9097 MB / 0.6181 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.729, allocations: 11.94 kB / 0.6181 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/0.729, allocations: 8 kB / 0.6181 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.7304, allocations: 294.2 kB / 0.6184 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003926/0.7308, allocations: 115.8 kB / 0.6185 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.732, allocations: 0.8897 MB / 0.6194 GB, free: 15.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/0.7325, allocations: 44.05 kB / 0.6194 GB, free: 15.49 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-05/0.7326, allocations: 35.98 kB / 0.6195 GB, free: 15.46 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.0003757/0.7329, allocations: 253.4 kB / 0.6197 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001256/0.7331, allocations: 71.11 kB / 0.6198 GB, free: 15.12 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.7345, allocations: 0.7747 MB / 0.6205 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.7345, allocations: 12.05 kB / 0.6206 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.7345, allocations: 3.984 kB / 0.6206 GB, free: 14.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.7345, allocations: 7.984 kB / 0.6206 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.7366, allocations: 1.395 MB / 0.6219 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.7366, allocations: 4 kB / 0.6219 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000948/0.7376, allocations: 199.8 kB / 0.6221 GB, free: 12.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.799e-05/0.7377, allocations: 29.03 kB / 0.6221 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.86e-05/0.7377, allocations: 15.98 kB / 0.6222 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002224/0.74, allocations: 2.68 MB / 0.6248 GB, free: 9.613 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.74, allocations: 4.062 kB / 0.6248 GB, free: 9.609 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.7414, allocations: 1.007 MB / 0.6258 GB, free: 8.547 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/0.7416, allocations: 204.2 kB / 0.626 GB, free: 8.328 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.043e-05/0.7417, allocations: 12 kB / 0.626 GB, free: 8.316 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003899/0.7421, allocations: 31.83 kB / 0.626 GB, free: 8.285 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.389e-05/0.7422, allocations: 39.95 kB / 0.626 GB, free: 8.246 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.797e-05/0.7423, allocations: 31.98 kB / 0.6261 GB, free: 8.215 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005034/0.7428, allocations: 407 kB / 0.6265 GB, free: 7.82 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.7428, allocations: 0 / 0.6265 GB, free: 7.82 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008431/0.7436, allocations: 220 kB / 0.6267 GB, free: 7.605 MB / 462.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.0006066/0.7442, allocations: 253.2 kB / 0.6269 GB, free: 7.355 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001223/0.7455, allocations: 0.5915 MB / 0.6275 GB, free: 6.766 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.7455, allocations: 0 / 0.6275 GB, free: 6.766 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009351/0.7464, allocations: 446.4 kB / 0.6279 GB, free: 6.316 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001463/0.7479, allocations: 332.8 kB / 0.6282 GB, free: 5.996 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.7503, allocations: 1.679 MB / 0.6299 GB, free: 4.266 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/0.7509, allocations: 0.9348 MB / 0.6308 GB, free: 3.305 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.751, allocations: 67.42 kB / 0.6308 GB, free: 3.238 MB / 462.1 MB Notification: Performance of SimCode: time 2.11e-07/0.751, allocations: 0 / 0.6308 GB, free: 3.238 MB / 462.1 MB Notification: Performance of Templates: time 0.02153/0.7726, allocations: 15.45 MB / 0.6459 GB, free: 3.859 MB / 478.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile make -j1 -f ModelicaTest_4.0.0_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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAirCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAirCalcHelperMain.o] Error 1