Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.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.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008346/0.0008342, allocations: 88.2 kB / 17.58 MB, free: 5.758 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.0008733/0.0008733, allocations: 186.7 kB / 18.48 MB, free: 5.203 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.591/1.591, allocations: 205.4 MB / 224.6 MB, free: 13.07 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.0004423/0.0004425, allocations: 8 kB / 281.4 MB, free: 3.734 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1141, allocations: 47.58 MB / 329 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005574/0.1197, allocations: 3.967 MB / 332.9 MB, free: 84 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.1217, allocations: 1.679 MB / 334.6 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.407e-05/0.1218, allocations: 7.938 kB / 334.6 MB, free: 14.39 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002195/0.122, allocations: 35.81 kB / 334.7 MB, free: 14.36 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.1223, allocations: 111.4 kB / 334.8 MB, free: 14.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006402/0.123, allocations: 211.5 kB / 335 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003538/0.1233, allocations: 318.8 kB / 335.3 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.636e-05/0.1234, allocations: 16.88 kB / 335.3 MB, free: 13.71 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002357/0.1236, allocations: 127.5 kB / 335.4 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.1238, allocations: 71.75 kB / 335.5 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.1238, allocations: 8 kB / 335.5 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002127/0.124, allocations: 83.89 kB / 335.6 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.782e-05/0.1241, allocations: 35.88 kB / 335.6 MB, free: 13.39 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.052e-05/0.1242, allocations: 53.64 kB / 335.7 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.1244, allocations: 143.9 kB / 335.8 MB, free: 13.19 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1244, allocations: 0 / 335.8 MB, free: 13.19 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1244, allocations: 4 kB / 335.8 MB, free: 13.19 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1244, allocations: 0 / 335.8 MB, free: 13.19 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009051/0.1254, allocations: 455.2 kB / 336.3 MB, free: 12.7 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1254, allocations: 8.031 kB / 336.3 MB, free: 12.69 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.1256, allocations: 27.8 kB / 336.3 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.1258, allocations: 202.9 kB / 336.5 MB, free: 12.42 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.1258, allocations: 16.28 kB / 336.5 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.1259, allocations: 12 kB / 336.5 MB, free: 12.39 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004055/0.1263, allocations: 212.6 kB / 336.7 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.1263, allocations: 0 / 336.7 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.883e-05/0.1263, allocations: 8 kB / 336.7 MB, free: 12.16 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.625e-06/0.1263, allocations: 7.938 kB / 336.7 MB, free: 12.15 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.1267, allocations: 151.8 kB / 336.9 MB, free: 12 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.1279, allocations: 0.9518 MB / 337.8 MB, free: 10.97 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000361/0.1283, allocations: 142.8 kB / 338 MB, free: 10.82 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000132/0.1285, allocations: 56.83 kB / 338 MB, free: 10.77 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005563/0.129, allocations: 0.5032 MB / 338.5 MB, free: 10.2 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.853e-05/0.1291, allocations: 38.52 kB / 338.6 MB, free: 10.15 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.1291, allocations: 0 / 338.6 MB, free: 10.15 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002331/0.1314, allocations: 0.7673 MB / 339.4 MB, free: 9.332 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.1315, allocations: 55.41 kB / 339.4 MB, free: 9.266 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.1317, allocations: 150.9 kB / 339.6 MB, free: 9.109 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.1317, allocations: 29.7 kB / 339.6 MB, free: 9.074 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.1318, allocations: 135.9 kB / 339.7 MB, free: 8.938 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.562e-05/0.1319, allocations: 78.88 kB / 339.8 MB, free: 8.859 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.079e-05/0.1319, allocations: 8 kB / 339.8 MB, free: 8.852 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1321, allocations: 326.8 kB / 340.1 MB, free: 8.523 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.1323, allocations: 79.94 kB / 340.2 MB, free: 8.445 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003061/0.1326, allocations: 197.3 kB / 340.4 MB, free: 8.203 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.1329, allocations: 100.9 kB / 340.5 MB, free: 8.105 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1329, allocations: 0 / 340.5 MB, free: 8.105 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006662/0.1335, allocations: 327.3 kB / 340.8 MB, free: 7.781 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.1336, allocations: 12.02 kB / 340.8 MB, free: 7.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.1336, allocations: 4 kB / 340.8 MB, free: 7.766 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.1336, allocations: 8 kB / 340.8 MB, free: 7.758 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.134, allocations: 83.88 kB / 340.9 MB, free: 7.676 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.134, allocations: 4 kB / 340.9 MB, free: 7.672 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002001/0.1342, allocations: 23.97 kB / 340.9 MB, free: 7.648 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/0.1342, allocations: 19.94 kB / 341 MB, free: 7.629 MB / 286.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 (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001384/0.1344, allocations: 133.7 kB / 341.1 MB, free: 7.488 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.81e-05/0.1345, allocations: 19.81 kB / 341.1 MB, free: 7.469 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005916/0.135, allocations: 234.6 kB / 341.3 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.1351, allocations: 4 kB / 341.3 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.1351, allocations: 0 / 341.3 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.1351, allocations: 11.94 kB / 341.4 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00113/0.1362, allocations: 0.5987 MB / 342 MB, free: 6.559 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.1362, allocations: 4 kB / 342 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.1365, allocations: 51.95 kB / 342 MB, free: 6.504 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.1365, allocations: 0 / 342 MB, free: 6.504 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.1366, allocations: 4 kB / 342 MB, free: 6.5 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.1366, allocations: 4 kB / 342 MB, free: 6.496 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1366, allocations: 4.062 kB / 342 MB, free: 6.492 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007399/0.1373, allocations: 410.6 kB / 342.4 MB, free: 6.062 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.238e-05/0.1374, allocations: 88.92 kB / 342.5 MB, free: 5.957 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.643e-05/0.1374, allocations: 8 kB / 342.5 MB, free: 5.949 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002069/0.1376, allocations: 11.98 kB / 342.5 MB, free: 5.938 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.2e-05/0.1377, allocations: 23.86 kB / 342.5 MB, free: 5.914 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.1377, allocations: 16.05 kB / 342.6 MB, free: 5.898 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.798e-05/0.1378, allocations: 111.2 kB / 342.7 MB, free: 5.789 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1378, allocations: 0 / 342.7 MB, free: 5.789 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003636/0.1382, allocations: 64 kB / 342.7 MB, free: 5.727 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (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 (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002109/0.1384, allocations: 111.2 kB / 342.8 MB, free: 5.605 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005211/0.1389, allocations: 223.6 kB / 343.1 MB, free: 5.387 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.1389, allocations: 0.9375 kB / 343.1 MB, free: 5.387 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.1392, allocations: 92.06 kB / 343.2 MB, free: 5.297 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.1396, allocations: 39.97 kB / 343.2 MB, free: 5.258 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.1406, allocations: 0.5741 MB / 343.8 MB, free: 4.641 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.1411, allocations: 0.7167 MB / 344.5 MB, free: 3.898 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.1412, allocations: 27.42 kB / 344.5 MB, free: 3.871 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1412, allocations: 0 / 344.5 MB, free: 3.871 MB / 286.1 MB Notification: Performance of Templates: time 0.004981/0.1462, allocations: 2.599 MB / 347.1 MB, free: 1.262 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.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.SimpleLiquidWaterCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWaterCalcHelperMain.o] Error 1