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.001583/0.001583, allocations: 105.2 kB / 16.52 MB, free: 6.723 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.001485/0.001486, allocations: 192.4 kB / 17.44 MB, free: 6.055 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.872/1.872, allocations: 205.1 MB / 223.3 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2708/0.2708, allocations: 43.52 MB / 314.1 MB, free: 0.75 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.001573/0.001573, allocations: 67.91 kB / 382.7 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1703, allocations: 57.78 MB / 440.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.6946/0.8649, allocations: 178.2 MB / 0.6041 GB, free: 8.172 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01381/0.8788, allocations: 8.429 MB / 0.6124 GB, free: 4.996 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001675/0.8807, allocations: 27.97 kB / 0.6124 GB, free: 4.98 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.882, allocations: 271.1 kB / 0.6127 GB, free: 4.785 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005757/0.8878, allocations: 1.32 MB / 0.6139 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004237/0.892, allocations: 1.011 MB / 0.6149 GB, free: 3.445 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004653/0.8967, allocations: 2.708 MB / 0.6176 GB, free: 2.074 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.8977, allocations: 399.1 kB / 0.618 GB, free: 1.832 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004145/0.9019, allocations: 1.109 MB / 0.619 GB, free: 1.301 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.9032, allocations: 0.6879 MB / 0.6197 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.9033, allocations: 36.62 kB / 0.6198 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002447/0.9057, allocations: 0.6944 MB / 0.6204 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000334/0.9061, allocations: 243 kB / 0.6207 GB, free: 0.543 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005137/0.9066, allocations: 373 kB / 0.621 GB, free: 340 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00142/0.908, allocations: 1.033 MB / 0.622 GB, free: 15.51 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.9081, allocations: 0 / 0.622 GB, free: 15.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.9081, allocations: 0 / 0.622 GB, free: 15.51 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.9081, allocations: 0 / 0.622 GB, free: 15.51 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.002745/0.9108, allocations: 1.137 MB / 0.6231 GB, free: 14.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.9109, allocations: 8.031 kB / 0.6231 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000823/0.9117, allocations: 139.1 kB / 0.6233 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00085/0.9126, allocations: 0.5079 MB / 0.6238 GB, free: 13.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.9127, allocations: 105.1 kB / 0.6239 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.9128, allocations: 48 kB / 0.6239 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.9142, allocations: 0.8136 MB / 0.6247 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.9142, allocations: 4 kB / 0.6247 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.197e-05/0.9143, allocations: 35.86 kB / 0.6247 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.014e-05/0.9144, allocations: 36.98 kB / 0.6248 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.9155, allocations: 0.6205 MB / 0.6254 GB, free: 11.88 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.005146/0.9206, allocations: 3.982 MB / 0.6293 GB, free: 7.648 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006502/0.9213, allocations: 355.6 kB / 0.6296 GB, free: 7.293 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.9216, allocations: 165.3 kB / 0.6298 GB, free: 7.129 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005604/0.9222, allocations: 357.5 kB / 0.6301 GB, free: 6.727 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.335e-05/0.9223, allocations: 42.84 kB / 0.6302 GB, free: 6.676 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.886e-06/0.9223, allocations: 0 / 0.6302 GB, free: 6.676 MB / 446.1 MB Notification: Performance of matching and sorting (n=39): time 0.006068/0.9283, allocations: 1.67 MB / 0.6318 GB, free: 4.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.9285, allocations: 132.5 kB / 0.6319 GB, free: 4.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008421/0.9293, allocations: 0.6171 MB / 0.6325 GB, free: 4.145 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.628e-05/0.9294, allocations: 37.7 kB / 0.6326 GB, free: 4.102 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003648/0.9298, allocations: 362.9 kB / 0.6329 GB, free: 3.742 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.9299, allocations: 146 kB / 0.633 GB, free: 3.598 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/0.9302, allocations: 158.5 kB / 0.6332 GB, free: 3.438 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002373/0.9304, allocations: 374.8 kB / 0.6335 GB, free: 3.062 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003913/0.9308, allocations: 205.9 kB / 0.6337 GB, free: 2.863 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006477/0.9315, allocations: 0.5125 MB / 0.6342 GB, free: 2.207 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.9325, allocations: 0.7407 MB / 0.635 GB, free: 1.328 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.9325, allocations: 4 kB / 0.635 GB, free: 1.324 MB / 446.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001513/0.9341, allocations: 0.8877 MB / 0.6358 GB, free: 436 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.9341, allocations: 9.25 kB / 0.6358 GB, free: 428 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.9341, allocations: 12.12 kB / 0.6359 GB, free: 416 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/0.9356, allocations: 312.5 kB / 0.6362 GB, free: 100 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004161/0.936, allocations: 127.8 kB / 0.6363 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.9372, allocations: 0.9308 MB / 0.6372 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005095/0.9377, allocations: 44.03 kB / 0.6372 GB, free: 14.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.827e-05/0.9378, allocations: 64 kB / 0.6373 GB, free: 14.91 MB / 462.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 (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 {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003628/0.9382, allocations: 254.3 kB / 0.6375 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.9383, allocations: 75.09 kB / 0.6376 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.9399, allocations: 0.6744 MB / 0.6383 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.9399, allocations: 4 kB / 0.6383 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.9399, allocations: 4 kB / 0.6383 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.9399, allocations: 11.97 kB / 0.6383 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.9422, allocations: 1.606 MB / 0.6399 GB, free: 12.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.9423, allocations: 7.875 kB / 0.6399 GB, free: 12.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.9433, allocations: 203.9 kB / 0.6401 GB, free: 11.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.219e-05/0.9434, allocations: 28.78 kB / 0.6401 GB, free: 11.87 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.399e-05/0.9435, allocations: 23.98 kB / 0.6401 GB, free: 11.85 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002243/0.9457, allocations: 2.672 MB / 0.6427 GB, free: 8.914 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.9457, allocations: 7.938 kB / 0.6427 GB, free: 8.906 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.9471, allocations: 0.7994 MB / 0.6435 GB, free: 8.074 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003317/0.9474, allocations: 192.2 kB / 0.6437 GB, free: 7.867 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.9475, allocations: 15.92 kB / 0.6437 GB, free: 7.852 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004505/0.948, allocations: 19.98 kB / 0.6437 GB, free: 7.832 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.9481, allocations: 47.95 kB / 0.6438 GB, free: 7.785 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.362e-05/0.9482, allocations: 43.98 kB / 0.6438 GB, free: 7.742 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0007679/0.949, allocations: 443 kB / 0.6442 GB, free: 7.312 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.949, allocations: 0 / 0.6442 GB, free: 7.312 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001439/0.9504, allocations: 288 kB / 0.6445 GB, free: 7.031 MB / 462.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 (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.001362/0.9518, allocations: 390.4 kB / 0.6449 GB, free: 6.645 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001368/0.9532, allocations: 0.5271 MB / 0.6454 GB, free: 6.117 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.208e-05/0.9532, allocations: 11.86 kB / 0.6454 GB, free: 6.105 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.9543, allocations: 411.1 kB / 0.6458 GB, free: 5.691 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001913/0.9562, allocations: 355.6 kB / 0.6461 GB, free: 5.344 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.9593, allocations: 1.558 MB / 0.6477 GB, free: 3.746 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007304/0.96, allocations: 0.9261 MB / 0.6486 GB, free: 2.793 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004225/0.9605, allocations: 119.3 kB / 0.6487 GB, free: 2.676 MB / 462.1 MB Notification: Performance of SimCode: time 1.062e-06/0.9605, allocations: 0 / 0.6487 GB, free: 2.676 MB / 462.1 MB Notification: Performance of Templates: time 0.03326/0.9937, allocations: 17.02 MB / 0.6653 GB, free: 1.668 MB / 478.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++ -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 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