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.0008124/0.0008126, allocations: 89.22 kB / 17.58 MB, free: 6.219 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.0008371/0.0008371, allocations: 192 kB / 18.48 MB, free: 5.379 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.718/1.718, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0005079/0.000508, allocations: 12 kB / 281.4 MB, free: 3.746 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1297, allocations: 47.58 MB / 329 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03837/0.1682, allocations: 34.61 MB / 363.6 MB, free: 1.375 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005671/0.1739, allocations: 4.283 MB / 367.9 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006239/0.1745, allocations: 7.938 kB / 367.9 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001009/0.1756, allocations: 226.7 kB / 368.1 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.1769, allocations: 457.6 kB / 368.6 MB, free: 12.4 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004626/0.1815, allocations: 1.284 MB / 369.8 MB, free: 11.11 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002089/0.1836, allocations: 1.612 MB / 371.5 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002546/0.1839, allocations: 118.1 kB / 371.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000548/0.1845, allocations: 410.5 kB / 372 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005206/0.185, allocations: 394.5 kB / 372.4 MB, free: 8.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.166e-05/0.1851, allocations: 20 kB / 372.4 MB, free: 8.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.1866, allocations: 0.7102 MB / 373.1 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001291/0.1868, allocations: 107.6 kB / 373.2 MB, free: 7.754 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.1869, allocations: 125.5 kB / 373.3 MB, free: 7.625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009277/0.1878, allocations: 0.7484 MB / 374.1 MB, free: 6.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1878, allocations: 0 / 374.1 MB, free: 6.875 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1878, allocations: 4 kB / 374.1 MB, free: 6.871 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1878, allocations: 0 / 374.1 MB, free: 6.871 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.0009932/0.1888, allocations: 0.6939 MB / 374.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1889, allocations: 12.03 kB / 374.8 MB, free: 6.117 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005424/0.1894, allocations: 75.41 kB / 374.8 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/0.1899, allocations: 338.1 kB / 375.2 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.1899, allocations: 32.94 kB / 375.2 MB, free: 5.641 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.853e-05/0.19, allocations: 40 kB / 375.2 MB, free: 5.602 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006568/0.1906, allocations: 467.6 kB / 375.7 MB, free: 5.102 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.1907, allocations: 3.938 kB / 375.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.962e-05/0.1907, allocations: 16 kB / 375.7 MB, free: 5.082 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.437e-05/0.1907, allocations: 19.95 kB / 375.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004484/0.1912, allocations: 303.7 kB / 376 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2211/0.4123, allocations: 6.716 MB / 382.8 MB, free: 55.17 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000606/0.413, allocations: 270.7 kB / 383 MB, free: 55.14 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003676/0.4134, allocations: 159.6 kB / 383.2 MB, free: 55.13 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01253/0.4259, allocations: 3.874 MB / 387 MB, free: 53.55 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.374e-05/0.426, allocations: 36.78 kB / 387.1 MB, free: 53.51 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 3.307e-06/0.426, allocations: 0 / 387.1 MB, free: 53.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01562/0.4416, allocations: 2.485 MB / 389.6 MB, free: 52.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.4417, allocations: 55.59 kB / 389.6 MB, free: 52.87 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005029/0.4422, allocations: 299.8 kB / 389.9 MB, free: 52.71 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.929e-05/0.4423, allocations: 35.64 kB / 390 MB, free: 52.67 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/0.4425, allocations: 224 kB / 390.2 MB, free: 52.48 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.4426, allocations: 159.7 kB / 390.3 MB, free: 52.36 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.4426, allocations: 10.91 kB / 390.3 MB, free: 52.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.694e-05/0.4428, allocations: 352.3 kB / 390.7 MB, free: 52.03 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003487/0.4431, allocations: 150 kB / 390.8 MB, free: 51.97 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004258/0.4435, allocations: 277.2 kB / 391.1 MB, free: 51.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004413/0.444, allocations: 192.2 kB / 391.3 MB, free: 51.67 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.444, allocations: 1.25 kB / 391.3 MB, free: 51.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001435/0.4455, allocations: 0.5914 MB / 391.9 MB, free: 51.39 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.215e-05/0.4455, allocations: 5.75 kB / 391.9 MB, free: 51.39 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.664e-05/0.4455, allocations: 4.125 kB / 391.9 MB, free: 51.39 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007287/0.4528, allocations: 0.7755 MB / 392.7 MB, free: 51.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005247/0.4534, allocations: 107.8 kB / 392.8 MB, free: 51.11 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001887/0.4553, allocations: 2.456 MB / 395.2 MB, free: 48.64 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005014/0.4558, allocations: 41.17 kB / 395.3 MB, free: 48.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/0.4559, allocations: 33.83 kB / 395.3 MB, free: 48.6 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002943/0.4562, allocations: 172.8 kB / 395.5 MB, free: 48.44 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.4563, allocations: 36.33 kB / 395.5 MB, free: 48.43 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.4579, allocations: 0.8633 MB / 396.4 MB, free: 47.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.4579, allocations: 9.703 kB / 396.4 MB, free: 47.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4579, allocations: 1.312 kB / 396.4 MB, free: 47.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001183/0.4591, allocations: 0.9591 MB / 397.3 MB, free: 47.2 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002563/0.4617, allocations: 1.491 MB / 398.8 MB, free: 46.17 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.4617, allocations: 0 / 398.8 MB, free: 46.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003999/0.4621, allocations: 78.75 kB / 398.9 MB, free: 46.15 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003619/0.4658, allocations: 0.6357 MB / 399.5 MB, free: 45.84 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/0.4658, allocations: 19.78 kB / 399.6 MB, free: 45.83 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006592/0.4665, allocations: 1.277 MB / 400.8 MB, free: 44.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.4665, allocations: 0 / 400.8 MB, free: 44.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.4678, allocations: 1.224 MB / 402.1 MB, free: 43.9 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.4679, allocations: 124.7 kB / 402.2 MB, free: 43.77 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.491e-05/0.468, allocations: 10.97 kB / 402.2 MB, free: 43.76 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003086/0.4683, allocations: 18.28 kB / 402.2 MB, free: 43.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.4684, allocations: 33.59 kB / 402.2 MB, free: 43.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.4684, allocations: 22.64 kB / 402.3 MB, free: 43.73 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002048/0.4686, allocations: 207.1 kB / 402.5 MB, free: 43.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4686, allocations: 0 / 402.5 MB, free: 43.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008425/0.4695, allocations: 232.3 kB / 402.7 MB, free: 43.56 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007183/0.4702, allocations: 281.8 kB / 403 MB, free: 43.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001078/0.4713, allocations: 0.6909 MB / 403.7 MB, free: 42.85 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.4713, allocations: 0 / 403.7 MB, free: 42.85 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007137/0.472, allocations: 424.8 kB / 404.1 MB, free: 42.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.4732, allocations: 232.6 kB / 404.3 MB, free: 42.21 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.4752, allocations: 1.517 MB / 405.8 MB, free: 40.69 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.4755, allocations: 0.8376 MB / 406.7 MB, free: 39.83 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.4757, allocations: 43.42 kB / 406.7 MB, free: 39.79 MB / 318.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4757, allocations: 4 kB / 406.7 MB, free: 39.78 MB / 318.1 MB Notification: Performance of Templates: time 0.01606/0.4917, allocations: 12.85 MB / 419.6 MB, free: 26.91 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++ 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 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