Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 101 kB / 17.96 MB, free: 5.762 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.001216/0.001216, allocations: 179 kB / 18.86 MB, free: 4.902 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.023/2.023, 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.0006156/0.0006157, allocations: 8 kB / 282 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1313, allocations: 47.59 MB / 329.6 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.06053/0.1919, allocations: 40.15 MB / 369.8 MB, free: 11.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003425/0.1954, allocations: 2.016 MB / 371.8 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003647/0.1957, allocations: 8 kB / 371.8 MB, free: 9.426 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007248/0.1965, allocations: 139.2 kB / 371.9 MB, free: 9.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00073/0.1972, allocations: 310.5 kB / 372.2 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007488/0.198, allocations: 263.6 kB / 372.5 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001574/0.1996, allocations: 1.293 MB / 373.8 MB, free: 7.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.1998, allocations: 64.7 kB / 373.9 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.325/0.5248, allocations: 42.97 MB / 416.8 MB, free: 2.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007073/0.5256, allocations: 278.4 kB / 417.1 MB, free: 2.484 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.446e-05/0.5256, allocations: 13.59 kB / 417.1 MB, free: 2.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.5258, allocations: 25.23 kB / 417.1 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.778e-05/0.5259, allocations: 72.55 kB / 417.2 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002339/0.5261, allocations: 197.4 kB / 417.4 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.5264, allocations: 322.2 kB / 417.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5265, allocations: 0 / 417.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.5265, allocations: 0 / 417.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.5265, allocations: 7 kB / 417.7 MB, free: 2.031 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007579/0.5272, allocations: 0.5197 MB / 418.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.5273, allocations: 10.09 kB / 418.3 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002728/0.5276, allocations: 51.92 kB / 418.3 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.5279, allocations: 270.2 kB / 418.6 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.5279, allocations: 16.25 kB / 418.6 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.528, allocations: 28.84 kB / 418.6 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/0.5284, allocations: 309.2 kB / 418.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.5284, allocations: 4 kB / 418.9 MB, free: 0.918 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.132e-05/0.5285, allocations: 11.12 kB / 418.9 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.5285, allocations: 8 kB / 418.9 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002688/0.5287, allocations: 197.2 kB / 419.1 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.5303, allocations: 1.429 MB / 420.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003181/0.5306, allocations: 179.9 kB / 420.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.5307, allocations: 94.02 kB / 420.8 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.5308, allocations: 4 kB / 420.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.5308, allocations: 34.56 kB / 420.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.314e-06/0.5308, allocations: 1.078 kB / 420.9 MB, free: 15.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.00255/0.5334, allocations: 1.011 MB / 421.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.5334, allocations: 55.41 kB / 421.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.5337, allocations: 261.3 kB / 422.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.5338, allocations: 32.7 kB / 422.2 MB, free: 13.99 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000142/0.5339, allocations: 174.8 kB / 422.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.573e-05/0.534, allocations: 97.41 kB / 422.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.573e-05/0.5341, allocations: 40.52 kB / 422.5 MB, free: 13.73 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.5342, allocations: 334 kB / 422.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.5344, allocations: 88.31 kB / 422.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002203/0.5346, allocations: 182.1 kB / 423.1 MB, free: 13.17 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003694/0.535, allocations: 284.7 kB / 423.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.535, allocations: 4 kB / 423.4 MB, free: 12.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006464/0.5357, allocations: 384.6 kB / 423.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.5357, allocations: 4 kB / 423.8 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.5357, allocations: 4 kB / 423.8 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002888/0.536, allocations: 68.05 kB / 423.8 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.5363, allocations: 66.25 kB / 423.9 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002277/0.5386, allocations: 2.679 MB / 426.6 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.5388, allocations: 25.53 kB / 426.6 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.5389, allocations: 14.44 kB / 426.6 MB, free: 9.77 MB / 334.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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001797/0.5391, allocations: 152.6 kB / 426.8 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/0.5391, allocations: 31.66 kB / 426.8 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.201e-05/0.5392, allocations: 35.92 kB / 426.8 MB, free: 9.594 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5392, allocations: 4 kB / 426.8 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5392, allocations: 0 / 426.8 MB, free: 9.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006572/0.5399, allocations: 0.5682 MB / 427.4 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009919/0.5409, allocations: 0.7107 MB / 428.1 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.5409, allocations: 0 / 428.1 MB, free: 8.402 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.5411, allocations: 43.91 kB / 428.2 MB, free: 8.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002659/0.5414, allocations: 61.78 kB / 428.2 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.5414, allocations: 9.312 kB / 428.2 MB, free: 8.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.5426, allocations: 1.383 MB / 429.6 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5426, allocations: 3.75 kB / 429.6 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006794/0.5433, allocations: 482.6 kB / 430.1 MB, free: 6.527 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.093e-05/0.5434, allocations: 100.8 kB / 430.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.641e-05/0.5434, allocations: 8 kB / 430.2 MB, free: 6.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.5437, allocations: 19.72 kB / 430.2 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.5437, allocations: 15.97 kB / 430.2 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.5437, allocations: 15.11 kB / 430.3 MB, free: 6.363 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001878/0.5439, allocations: 181.9 kB / 430.4 MB, free: 6.219 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.012e-06/0.5439, allocations: 0 / 430.4 MB, free: 6.219 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004033/0.5443, allocations: 88.69 kB / 430.5 MB, free: 6.141 MB / 334.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 (24): * Single equations (assignments): 23 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001348/0.5445, allocations: 109.7 kB / 430.6 MB, free: 6.035 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007167/0.5452, allocations: 466.8 kB / 431.1 MB, free: 5.578 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.5452, allocations: 4 kB / 431.1 MB, free: 5.574 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003682/0.5456, allocations: 247.9 kB / 431.3 MB, free: 5.328 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009658/0.5466, allocations: 159.8 kB / 431.5 MB, free: 5.184 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001225/0.5478, allocations: 0.8819 MB / 432.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.5482, allocations: 0.7606 MB / 433.1 MB, free: 3.512 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.999e-05/0.5483, allocations: 31.44 kB / 433.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.5483, allocations: 2.734 kB / 433.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of Templates: time 0.008782/0.5571, allocations: 5.909 MB / 439.1 MB, free: 13.6 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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.Tests.MediaTestModels.LinearFluid.LinearWater_pTCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pTCalcHelperMain.o] Error 1