Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001577/0.001577, allocations: 194 kB / 18.72 MB, free: 4.762 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.88/1.88, allocations: 205.1 MB / 224.6 MB, free: 12.49 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.001308/0.001308, allocations: 43.94 kB / 280.6 MB, free: 3.613 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1338, allocations: 46.64 MB / 327.2 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.0305/0.1643, allocations: 27.29 MB / 354.5 MB, free: 9.504 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00556/0.1699, allocations: 4.202 MB / 358.7 MB, free: 5.289 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002601/0.1702, allocations: 3.938 kB / 358.7 MB, free: 5.285 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008964/0.1712, allocations: 175.1 kB / 358.9 MB, free: 5.113 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007811/0.172, allocations: 334.3 kB / 359.2 MB, free: 4.785 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005223/0.1772, allocations: 1.238 MB / 360.5 MB, free: 3.543 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00175/0.179, allocations: 1.34 MB / 361.8 MB, free: 2.199 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.1792, allocations: 76.7 kB / 361.9 MB, free: 2.125 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008828/0.188, allocations: 4.211 MB / 366.1 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000459/0.1885, allocations: 290.8 kB / 366.4 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.809e-05/0.1886, allocations: 16 kB / 366.4 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.1904, allocations: 0.6985 MB / 367.1 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001888/0.1906, allocations: 79.67 kB / 367.2 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002281/0.1909, allocations: 179.2 kB / 367.4 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007877/0.1917, allocations: 0.6081 MB / 368 MB, free: 12.04 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1917, allocations: 0 / 368 MB, free: 12.04 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1917, allocations: 0 / 368 MB, free: 12.04 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.1917, allocations: 3.938 kB / 368 MB, free: 12.04 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001093/0.1928, allocations: 0.6588 MB / 368.6 MB, free: 11.33 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.378e-05/0.1929, allocations: 8.031 kB / 368.6 MB, free: 11.32 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005477/0.1934, allocations: 60.53 kB / 368.7 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004266/0.1939, allocations: 279.7 kB / 369 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.1939, allocations: 24.94 kB / 369 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.144e-05/0.194, allocations: 28.38 kB / 369 MB, free: 10.9 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005861/0.1946, allocations: 334.6 kB / 369.3 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.909e-05/0.1946, allocations: 4 kB / 369.4 MB, free: 10.53 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.1946, allocations: 12 kB / 369.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.1947, allocations: 4 kB / 369.4 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.195, allocations: 222 kB / 369.6 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01389/0.2089, allocations: 5.916 MB / 375.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.2093, allocations: 174.7 kB / 375.7 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.2094, allocations: 92.77 kB / 375.8 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2617/0.4711, allocations: 3.87 MB / 379.6 MB, free: 58.03 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.948e-05/0.4712, allocations: 37.34 kB / 379.7 MB, free: 57.99 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 3.837e-06/0.4712, allocations: 2.188 kB / 379.7 MB, free: 57.99 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.007247/0.4785, allocations: 1.407 MB / 381.1 MB, free: 57.61 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.4785, allocations: 62.39 kB / 381.1 MB, free: 57.54 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004057/0.479, allocations: 258.1 kB / 381.4 MB, free: 57.44 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.471e-05/0.479, allocations: 34.36 kB / 381.4 MB, free: 57.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.4791, allocations: 188.1 kB / 381.6 MB, free: 57.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.446e-05/0.4792, allocations: 93.78 kB / 381.7 MB, free: 57.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.4793, allocations: 65.59 kB / 381.8 MB, free: 57.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.4795, allocations: 333.2 kB / 382.1 MB, free: 56.9 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.4797, allocations: 95.72 kB / 382.2 MB, free: 56.9 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.4799, allocations: 188.5 kB / 382.4 MB, free: 56.79 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004236/0.4803, allocations: 305.4 kB / 382.7 MB, free: 56.59 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4803, allocations: 1.094 kB / 382.7 MB, free: 56.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007512/0.4811, allocations: 396.7 kB / 383.1 MB, free: 56.4 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/0.4811, allocations: 5.594 kB / 383.1 MB, free: 56.4 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.4812, allocations: 2.812 kB / 383.1 MB, free: 56.4 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00501/0.4862, allocations: 0.9417 MB / 384 MB, free: 56.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003225/0.4865, allocations: 72.3 kB / 384.1 MB, free: 56.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.4881, allocations: 1.879 MB / 386 MB, free: 54.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.4884, allocations: 25.52 kB / 386 MB, free: 54.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.505e-05/0.4884, allocations: 21.16 kB / 386 MB, free: 54.45 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002239/0.4887, allocations: 155.2 kB / 386.1 MB, free: 54.3 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.039e-05/0.4888, allocations: 26.69 kB / 386.2 MB, free: 54.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009287/0.4897, allocations: 498.7 kB / 386.7 MB, free: 54.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.4897, allocations: 4.156 kB / 386.7 MB, free: 54.05 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4897, allocations: 0.7031 kB / 386.7 MB, free: 54.05 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000778/0.4905, allocations: 0.7165 MB / 387.4 MB, free: 53.45 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001663/0.4922, allocations: 0.94 MB / 388.3 MB, free: 52.86 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.4922, allocations: 1.188 kB / 388.3 MB, free: 52.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002332/0.4924, allocations: 48.47 kB / 388.4 MB, free: 52.85 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002005/0.4945, allocations: 327.7 kB / 388.7 MB, free: 52.79 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.4945, allocations: 7.578 kB / 388.7 MB, free: 52.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004915/0.495, allocations: 0.6394 MB / 389.3 MB, free: 52.21 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.495, allocations: 4.062 kB / 389.3 MB, free: 52.21 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001264/0.4963, allocations: 0.7243 MB / 390.1 MB, free: 51.79 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.114e-05/0.4964, allocations: 106.8 kB / 390.2 MB, free: 51.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.987e-05/0.4964, allocations: 7.219 kB / 390.2 MB, free: 51.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.4967, allocations: 21.11 kB / 390.2 MB, free: 51.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-05/0.4968, allocations: 17.41 kB / 390.2 MB, free: 51.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/0.4968, allocations: 19.28 kB / 390.2 MB, free: 51.66 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003034/0.4971, allocations: 186.6 kB / 390.4 MB, free: 51.54 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4971, allocations: 0 / 390.4 MB, free: 51.54 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001131/0.4983, allocations: 190 kB / 390.6 MB, free: 51.52 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001085/0.4994, allocations: 267.6 kB / 390.9 MB, free: 51.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.5004, allocations: 444.5 kB / 391.3 MB, free: 51.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5005, allocations: 0.75 kB / 391.3 MB, free: 51.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000631/0.5011, allocations: 236 kB / 391.5 MB, free: 51.09 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.5022, allocations: 158.4 kB / 391.7 MB, free: 51.06 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.5041, allocations: 0.9449 MB / 392.6 MB, free: 50.44 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000461/0.5046, allocations: 0.7758 MB / 393.4 MB, free: 49.74 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.5047, allocations: 31.25 kB / 393.4 MB, free: 49.73 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5047, allocations: 0 / 393.4 MB, free: 49.73 MB / 318.1 MB Notification: Performance of Templates: time 0.01642/0.5212, allocations: 8.385 MB / 401.8 MB, free: 44.64 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1CalcHelperMain.o] Error 1