Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009418/0.0009419, allocations: 90.58 kB / 17.58 MB, free: 5.801 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.000992/0.0009921, allocations: 182 kB / 18.48 MB, free: 5.254 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.672/1.672, allocations: 205.4 MB / 224.6 MB, free: 13.15 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.0004783/0.0004784, allocations: 12 kB / 281.4 MB, free: 3.723 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1129, allocations: 47.59 MB / 329 MB, free: 4.059 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01225/0.1252, allocations: 11.7 MB / 340.7 MB, free: 8.312 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00213/0.1274, allocations: 1.612 MB / 342.3 MB, free: 6.695 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001506/0.1275, allocations: 8 kB / 342.3 MB, free: 6.688 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004491/0.128, allocations: 135.2 kB / 342.5 MB, free: 6.555 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005615/0.1286, allocations: 286.5 kB / 342.7 MB, free: 6.273 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008864/0.1295, allocations: 331.2 kB / 343.1 MB, free: 5.949 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001113/0.1306, allocations: 1.055 MB / 344.1 MB, free: 4.891 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.1308, allocations: 68.69 kB / 344.2 MB, free: 4.824 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005919/0.1314, allocations: 342.8 kB / 344.5 MB, free: 4.488 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003226/0.1317, allocations: 259 kB / 344.8 MB, free: 4.234 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.1317, allocations: 15.94 kB / 344.8 MB, free: 4.219 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.1319, allocations: 43.92 kB / 344.8 MB, free: 4.176 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.1321, allocations: 79.72 kB / 344.9 MB, free: 4.098 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.205e-05/0.1322, allocations: 89.58 kB / 345 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003877/0.1326, allocations: 359.4 kB / 345.3 MB, free: 3.652 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.1326, allocations: 0 / 345.3 MB, free: 3.652 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1326, allocations: 0 / 345.3 MB, free: 3.652 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1326, allocations: 0 / 345.3 MB, free: 3.652 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008222/0.1334, allocations: 0.5067 MB / 345.9 MB, free: 3.098 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.1335, allocations: 12.03 kB / 345.9 MB, free: 3.086 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002677/0.1338, allocations: 43.62 kB / 345.9 MB, free: 3.043 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.1341, allocations: 282.4 kB / 346.2 MB, free: 2.727 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.1341, allocations: 20.55 kB / 346.2 MB, free: 2.707 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.255e-05/0.1342, allocations: 24 kB / 346.2 MB, free: 2.684 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004845/0.1347, allocations: 313.4 kB / 346.5 MB, free: 2.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.1347, allocations: 3.953 kB / 346.5 MB, free: 2.336 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.1347, allocations: 15.98 kB / 346.6 MB, free: 2.32 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/0.1348, allocations: 8 kB / 346.6 MB, free: 2.312 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/0.1351, allocations: 185.5 kB / 346.7 MB, free: 2.133 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.137, allocations: 1.736 MB / 348.5 MB, free: 256 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002243/0.1373, allocations: 126.6 kB / 348.6 MB, free: 120 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.1374, allocations: 68.81 kB / 348.7 MB, free: 48 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001912/0.1376, allocations: 174.5 kB / 348.8 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.565e-05/0.1376, allocations: 38.52 kB / 348.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.432e-06/0.1376, allocations: 0 / 348.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001838/0.1395, allocations: 0.7951 MB / 349.7 MB, free: 14.93 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.1395, allocations: 63.27 kB / 349.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.1399, allocations: 282.6 kB / 350 MB, free: 14.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.1399, allocations: 25.7 kB / 350 MB, free: 14.54 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.1401, allocations: 199.5 kB / 350.2 MB, free: 14.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.738e-05/0.1401, allocations: 78.91 kB / 350.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/0.1401, allocations: 4 kB / 350.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.1403, allocations: 342.8 kB / 350.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.1405, allocations: 63.75 kB / 350.7 MB, free: 13.85 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.1407, allocations: 195.2 kB / 350.9 MB, free: 13.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.1409, allocations: 103.9 kB / 351 MB, free: 13.5 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1409, allocations: 0 / 351 MB, free: 13.5 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004761/0.1414, allocations: 330.3 kB / 351.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1414, allocations: 8.031 kB / 351.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.1414, allocations: 4 kB / 351.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.92e-05/0.1415, allocations: 32.78 kB / 351.4 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.1418, allocations: 79.89 kB / 351.4 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/0.143, allocations: 1.299 MB / 352.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.1432, allocations: 19.92 kB / 352.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.1432, allocations: 20 kB / 352.8 MB, free: 11.57 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (41): * Single equations (assignments): 40 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.1434, allocations: 169.7 kB / 352.9 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.618e-05/0.1434, allocations: 23.72 kB / 353 MB, free: 11.37 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003531/0.1438, allocations: 205.5 kB / 353.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1438, allocations: 4 kB / 353.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1438, allocations: 3.984 kB / 353.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004034/0.1442, allocations: 479.7 kB / 353.6 MB, free: 10.6 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.1454, allocations: 0.7721 MB / 354.4 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.1454, allocations: 0 / 354.4 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.1455, allocations: 44.27 kB / 354.5 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.1456, allocations: 8 kB / 354.5 MB, free: 9.676 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.1456, allocations: 7.953 kB / 354.5 MB, free: 9.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.1456, allocations: 11.92 kB / 354.5 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1456, allocations: 4 kB / 354.5 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004633/0.1461, allocations: 398.6 kB / 354.9 MB, free: 9.219 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.617e-05/0.1462, allocations: 108.8 kB / 355 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.188e-05/0.1462, allocations: 11.95 kB / 355 MB, free: 9.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002361/0.1465, allocations: 12.06 kB / 355 MB, free: 9.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.1465, allocations: 19.97 kB / 355 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.477e-05/0.1466, allocations: 8 kB / 355 MB, free: 9.043 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002111/0.1468, allocations: 205.9 kB / 355.2 MB, free: 8.844 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1468, allocations: 0 / 355.2 MB, free: 8.844 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004539/0.1472, allocations: 99.94 kB / 355.3 MB, free: 8.746 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (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 (21): * Single equations (assignments): 21 * 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.0002108/0.1475, allocations: 131.1 kB / 355.5 MB, free: 8.609 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004814/0.148, allocations: 307.1 kB / 355.8 MB, free: 8.297 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.148, allocations: 1 kB / 355.8 MB, free: 8.297 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.1481, allocations: 75.91 kB / 355.8 MB, free: 8.223 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009058/0.149, allocations: 158.6 kB / 356 MB, free: 8.066 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.1502, allocations: 0.7701 MB / 356.8 MB, free: 7.23 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004086/0.1506, allocations: 0.7641 MB / 357.5 MB, free: 6.438 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.077e-05/0.1507, allocations: 31.44 kB / 357.6 MB, free: 6.406 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1507, allocations: 0 / 357.6 MB, free: 6.406 MB / 302.1 MB Notification: Performance of Templates: time 0.007809/0.1585, allocations: 5.126 MB / 362.7 MB, free: 1.273 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Tests.MediaTestModels.Water.ConstantPropertyLiquidWaterCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWaterCalcHelperMain.o] Error 1