Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 91.05 kB / 17.95 MB, free: 5.625 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.001376/0.001376, allocations: 180.6 kB / 18.86 MB, free: 4.77 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.4 MB / 225 MB, free: 13.08 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.0005104/0.0005102, allocations: 16 kB / 282 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1288, allocations: 47.58 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04534/0.1742, allocations: 36.9 MB / 366.5 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007247/0.1815, allocations: 4.565 MB / 371.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006862/0.1823, allocations: 7.938 kB / 371.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.1834, allocations: 246.7 kB / 371.3 MB, free: 9.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001526/0.1849, allocations: 473.6 kB / 371.8 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005349/0.1903, allocations: 1.393 MB / 373.2 MB, free: 8.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002805/0.1931, allocations: 1.951 MB / 375.1 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003181/0.1934, allocations: 122.4 kB / 375.3 MB, free: 5.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.1946, allocations: 410.4 kB / 375.7 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.1957, allocations: 414.3 kB / 376.1 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.1959, allocations: 24 kB / 376.1 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002263/0.1981, allocations: 0.7141 MB / 376.8 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002323/0.1984, allocations: 107.6 kB / 376.9 MB, free: 4.305 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005826/0.199, allocations: 284.6 kB / 377.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001439/0.2004, allocations: 0.752 MB / 377.9 MB, free: 3.266 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.406e-06/0.2004, allocations: 4 kB / 377.9 MB, free: 3.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.2004, allocations: 0 / 377.9 MB, free: 3.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.2005, allocations: 3.938 kB / 377.9 MB, free: 3.258 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001253/0.2017, allocations: 0.6785 MB / 378.6 MB, free: 2.531 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.2018, allocations: 16.03 kB / 378.6 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005716/0.2024, allocations: 76.34 kB / 378.7 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.2028, allocations: 339.3 kB / 379 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.2029, allocations: 33.38 kB / 379.1 MB, free: 2.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.353e-05/0.2029, allocations: 40.38 kB / 379.1 MB, free: 2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008814/0.2038, allocations: 475.6 kB / 379.6 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.2038, allocations: 4 kB / 379.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.692e-05/0.2039, allocations: 16 kB / 379.6 MB, free: 1.473 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.2039, allocations: 15.98 kB / 379.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004745/0.2044, allocations: 307.7 kB / 379.9 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.257/0.4614, allocations: 6.718 MB / 386.6 MB, free: 53.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007212/0.4622, allocations: 281.3 kB / 386.9 MB, free: 53.73 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003361/0.4625, allocations: 151.3 kB / 387.1 MB, free: 53.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01457/0.4771, allocations: 3.88 MB / 390.9 MB, free: 51.96 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.63e-05/0.4772, allocations: 37.62 kB / 391 MB, free: 51.92 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 3.367e-06/0.4772, allocations: 0 / 391 MB, free: 51.92 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01742/0.4947, allocations: 2.483 MB / 393.5 MB, free: 50.78 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.821e-05/0.4948, allocations: 59.69 kB / 393.5 MB, free: 50.71 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004798/0.4953, allocations: 305.1 kB / 393.8 MB, free: 50.51 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.583e-05/0.4953, allocations: 36.23 kB / 393.8 MB, free: 50.47 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000158/0.4955, allocations: 224.8 kB / 394.1 MB, free: 50.27 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001418/0.4956, allocations: 157.2 kB / 394.2 MB, free: 50.13 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.354e-05/0.4957, allocations: 53.16 kB / 394.3 MB, free: 50.09 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.4958, allocations: 343.7 kB / 394.6 MB, free: 49.75 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003608/0.4962, allocations: 154.4 kB / 394.8 MB, free: 49.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004742/0.4967, allocations: 274.2 kB / 395 MB, free: 49.46 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009026/0.4976, allocations: 479.4 kB / 395.5 MB, free: 49.14 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.4976, allocations: 1.281 kB / 395.5 MB, free: 49.14 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001546/0.4992, allocations: 0.598 MB / 396.1 MB, free: 48.8 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.4992, allocations: 7.188 kB / 396.1 MB, free: 48.8 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.4993, allocations: 7.094 kB / 396.1 MB, free: 48.8 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006803/0.5061, allocations: 0.7742 MB / 396.9 MB, free: 48.49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004854/0.5066, allocations: 105.1 kB / 397 MB, free: 48.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001879/0.5085, allocations: 2.459 MB / 399.4 MB, free: 46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005131/0.509, allocations: 44.38 kB / 399.5 MB, free: 45.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.615e-05/0.5091, allocations: 21.19 kB / 399.5 MB, free: 45.97 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003192/0.5094, allocations: 177 kB / 399.7 MB, free: 45.81 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.5096, allocations: 36.41 kB / 399.7 MB, free: 45.8 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.5109, allocations: 0.8619 MB / 400.6 MB, free: 45.29 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.5109, allocations: 7.922 kB / 400.6 MB, free: 45.29 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.035e-06/0.5109, allocations: 0 / 400.6 MB, free: 45.29 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008939/0.5118, allocations: 0.9599 MB / 401.5 MB, free: 44.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002109/0.514, allocations: 1.486 MB / 403 MB, free: 43.55 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.514, allocations: 0 / 403 MB, free: 43.55 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.5143, allocations: 77.38 kB / 403.1 MB, free: 43.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003277/0.5176, allocations: 0.6351 MB / 403.7 MB, free: 43.11 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.003e-05/0.5176, allocations: 15.98 kB / 403.8 MB, free: 43.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007396/0.5184, allocations: 1.285 MB / 405 MB, free: 41.76 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5184, allocations: 0 / 405 MB, free: 41.76 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/0.5198, allocations: 1.227 MB / 406.3 MB, free: 40.51 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001924/0.52, allocations: 125.6 kB / 406.4 MB, free: 40.37 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.263e-05/0.52, allocations: 12 kB / 406.4 MB, free: 40.36 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/0.5204, allocations: 19.84 kB / 406.4 MB, free: 40.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.5205, allocations: 35.89 kB / 406.5 MB, free: 40.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.5205, allocations: 23.98 kB / 406.5 MB, free: 40.28 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002352/0.5208, allocations: 209.9 kB / 406.7 MB, free: 40.07 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5208, allocations: 0 / 406.7 MB, free: 40.07 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001022/0.5218, allocations: 233.3 kB / 406.9 MB, free: 39.86 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008389/0.5226, allocations: 272.7 kB / 407.2 MB, free: 39.62 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.5239, allocations: 0.683 MB / 407.9 MB, free: 38.92 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5239, allocations: 0.625 kB / 407.9 MB, free: 38.92 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008683/0.5248, allocations: 432.2 kB / 408.3 MB, free: 38.5 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.5262, allocations: 234.5 kB / 408.5 MB, free: 38.29 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.5283, allocations: 1.56 MB / 410.1 MB, free: 36.71 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.5286, allocations: 0.8363 MB / 410.9 MB, free: 35.85 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.5287, allocations: 39.44 kB / 410.9 MB, free: 35.81 MB / 318.1 MB Notification: Performance of SimCode: time 7.32e-07/0.5287, allocations: 0 / 410.9 MB, free: 35.81 MB / 318.1 MB Notification: Performance of Templates: time 0.01675/0.5455, allocations: 12.87 MB / 423.8 MB, free: 22.93 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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 OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2CalcHelperMain.o] Error 1