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.001694/0.001694, 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.002216/0.002217, 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.947/1.947, 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.001249/0.001249, allocations: 51.94 kB / 280.6 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1267, allocations: 46.63 MB / 327.3 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05076/0.1775, allocations: 41.07 MB / 368.3 MB, free: 11.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002974/0.1806, allocations: 2.039 MB / 370.4 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.1808, allocations: 4 kB / 370.4 MB, free: 9.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007126/0.1816, allocations: 147.2 kB / 370.5 MB, free: 9.469 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006317/0.1822, allocations: 306.4 kB / 370.8 MB, free: 9.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006841/0.1829, allocations: 259.6 kB / 371.1 MB, free: 8.914 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001279/0.1842, allocations: 1.297 MB / 372.4 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.1844, allocations: 72.67 kB / 372.4 MB, free: 7.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4092/0.5936, allocations: 42.96 MB / 415.4 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008435/0.5945, allocations: 288.9 kB / 415.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.5947, allocations: 16 kB / 415.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003067/0.595, allocations: 29.17 kB / 415.7 MB, free: 3.145 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.5952, allocations: 70.59 kB / 415.8 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003333/0.5955, allocations: 173 kB / 416 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004982/0.596, allocations: 337.7 kB / 416.3 MB, free: 2.766 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.596, allocations: 0 / 416.3 MB, free: 2.766 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.596, allocations: 3 kB / 416.3 MB, free: 2.766 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.346e-05/0.5961, allocations: 0 / 416.3 MB, free: 2.766 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.001183/0.5972, allocations: 0.5862 MB / 416.9 MB, free: 2.215 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.5973, allocations: 12.03 kB / 416.9 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003695/0.5977, allocations: 32.66 kB / 416.9 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000368/0.5981, allocations: 277.1 kB / 417.2 MB, free: 1.895 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.5981, allocations: 16.56 kB / 417.2 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.246e-05/0.5981, allocations: 29.12 kB / 417.2 MB, free: 1.867 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005528/0.5987, allocations: 306.7 kB / 417.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.5987, allocations: 0 / 417.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.609e-05/0.5988, allocations: 11.75 kB / 417.6 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.5988, allocations: 8 kB / 417.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.5991, allocations: 199.6 kB / 417.8 MB, free: 1.48 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.601, allocations: 1.434 MB / 419.2 MB, free: 132 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003488/0.6014, allocations: 180.2 kB / 419.4 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/0.6016, allocations: 91.36 kB / 419.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.6016, allocations: 4 kB / 419.5 MB, free: 15.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.6017, allocations: 37.69 kB / 419.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 2.635e-06/0.6017, allocations: 0 / 419.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002895/0.6046, allocations: 1.002 MB / 420.5 MB, free: 15.02 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.751e-05/0.6047, allocations: 51.41 kB / 420.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.605, allocations: 259.1 kB / 420.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.605, allocations: 33.27 kB / 420.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.6052, allocations: 174.9 kB / 421 MB, free: 14.56 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.898e-05/0.6053, allocations: 100.4 kB / 421.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/0.6055, allocations: 74.64 kB / 421.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.6057, allocations: 331.8 kB / 421.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.6059, allocations: 82.59 kB / 421.6 MB, free: 14.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.6062, allocations: 183.5 kB / 421.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004687/0.6066, allocations: 291.1 kB / 422 MB, free: 13.65 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.6067, allocations: 3.938 kB / 422.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007913/0.6075, allocations: 379.1 kB / 422.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.6075, allocations: 7.844 kB / 422.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.6075, allocations: 4 kB / 422.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003217/0.6078, allocations: 66.17 kB / 422.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.6082, allocations: 66.31 kB / 422.6 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002911/0.6111, allocations: 2.683 MB / 425.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.6114, allocations: 19.98 kB / 425.3 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.6115, allocations: 12 kB / 425.3 MB, free: 10.39 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.0002293/0.6117, allocations: 152.7 kB / 425.4 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.536e-05/0.6118, allocations: 35.5 kB / 425.5 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.574e-05/0.6119, allocations: 34.17 kB / 425.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.6119, allocations: 4 kB / 425.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.6119, allocations: 0 / 425.5 MB, free: 10.17 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007976/0.6127, allocations: 0.5688 MB / 426.1 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.614, allocations: 0.701 MB / 426.8 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.984e-06/0.614, allocations: 4 kB / 426.8 MB, free: 8.758 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002158/0.6142, allocations: 43.44 kB / 426.8 MB, free: 8.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002457/0.6145, allocations: 52.7 kB / 426.9 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.6145, allocations: 8 kB / 426.9 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.6161, allocations: 1.382 MB / 428.3 MB, free: 7.152 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6161, allocations: 4.062 kB / 428.3 MB, free: 7.148 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008941/0.617, allocations: 477.9 kB / 428.7 MB, free: 6.664 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.6172, allocations: 96.86 kB / 428.8 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.658e-05/0.6172, allocations: 4 kB / 428.8 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.6175, allocations: 23.98 kB / 428.8 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.6176, allocations: 11.98 kB / 428.9 MB, free: 6.512 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.6176, allocations: 15.98 kB / 428.9 MB, free: 6.496 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002325/0.6178, allocations: 184.9 kB / 429.1 MB, free: 6.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6178, allocations: 1.312 kB / 429.1 MB, free: 6.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004614/0.6183, allocations: 92 kB / 429.1 MB, free: 6.23 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.0001883/0.6185, allocations: 103.2 kB / 429.2 MB, free: 6.121 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008905/0.6194, allocations: 477.3 kB / 429.7 MB, free: 5.645 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.6194, allocations: 0 / 429.7 MB, free: 5.645 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004081/0.6198, allocations: 245.3 kB / 430 MB, free: 5.398 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.6209, allocations: 159.6 kB / 430.1 MB, free: 5.25 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/0.6226, allocations: 0.8236 MB / 430.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.6231, allocations: 0.7638 MB / 431.7 MB, free: 3.645 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.6232, allocations: 29.41 kB / 431.7 MB, free: 3.617 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.6232, allocations: 0 / 431.7 MB, free: 3.617 MB / 334.1 MB Notification: Performance of Templates: time 0.01133/0.6346, allocations: 5.935 MB / 437.7 MB, free: 13.74 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