Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.WaterIF97.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001003/0.001003, allocations: 87.86 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001338, allocations: 197.1 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.71/1.71, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002409/0.0002409, allocations: 8 kB / 307.3 MB, free: 1.633 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1166, allocations: 51.49 MB / 358.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01553/0.1321, allocations: 12.02 MB / 370.8 MB, free: 2.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3351/0.4672, allocations: 10.71 MB / 381.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002669/0.4676, allocations: 1.375 kB / 381.5 MB, free: 8.848 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005081/0.4681, allocations: 61.73 kB / 381.6 MB, free: 8.832 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004892/0.4686, allocations: 72.22 kB / 381.6 MB, free: 8.809 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01811/0.4867, allocations: 3.876 MB / 385.5 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005835/0.4873, allocations: 242.1 kB / 385.8 MB, free: 8.211 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.757e-05/0.4874, allocations: 8.281 kB / 385.8 MB, free: 8.207 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005572/0.488, allocations: 174.6 kB / 385.9 MB, free: 8.172 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.4882, allocations: 78.2 kB / 386 MB, free: 8.156 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.4882, allocations: 4.656 kB / 386 MB, free: 8.156 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02078/0.509, allocations: 6.658 MB / 392.7 MB, free: 5.812 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.5092, allocations: 22.62 kB / 392.7 MB, free: 5.797 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.5094, allocations: 50.14 kB / 392.7 MB, free: 5.758 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009086/0.5185, allocations: 2.582 MB / 395.3 MB, free: 4.426 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.538e-06/0.5185, allocations: 3.938 kB / 395.3 MB, free: 4.422 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.378e-06/0.5185, allocations: 0 / 395.3 MB, free: 4.422 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.5185, allocations: 4 kB / 395.3 MB, free: 4.418 MB / 302.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.008222/0.5268, allocations: 1.115 MB / 396.4 MB, free: 3.633 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.5268, allocations: 13.06 kB / 396.5 MB, free: 3.629 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005057/0.5274, allocations: 56.88 kB / 396.5 MB, free: 3.605 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.5276, allocations: 215.1 kB / 396.7 MB, free: 3.367 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.5277, allocations: 11.19 kB / 396.7 MB, free: 3.363 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.498e-05/0.5277, allocations: 16.41 kB / 396.8 MB, free: 3.355 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.5291, allocations: 396.2 kB / 397.1 MB, free: 3.082 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.5291, allocations: 1.812 kB / 397.1 MB, free: 3.082 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.5292, allocations: 5.094 kB / 397.1 MB, free: 3.078 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.5292, allocations: 4.531 kB / 397.2 MB, free: 3.078 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001296/0.5305, allocations: 370 kB / 397.5 MB, free: 2.906 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.5319, allocations: 1.189 MB / 398.7 MB, free: 1.734 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008252/0.5327, allocations: 293.3 kB / 399 MB, free: 1.551 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/0.5331, allocations: 121.8 kB / 399.1 MB, free: 1.477 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1341/0.6673, allocations: 53.01 MB / 452.1 MB, free: 7.926 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.434e-05/0.6674, allocations: 34.75 kB / 452.2 MB, free: 7.883 MB / 366.1 MB Notification: Performance of pre-optimization done (n=23): time 3.998e-06/0.6674, allocations: 0 / 452.2 MB, free: 7.883 MB / 366.1 MB Notification: Performance of matching and sorting (n=33): time 0.007185/0.6746, allocations: 1.622 MB / 453.8 MB, free: 6.215 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.072e-05/0.6748, allocations: 110.8 kB / 453.9 MB, free: 6.082 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.6749, allocations: 125.7 kB / 454 MB, free: 5.949 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.267e-05/0.675, allocations: 33.7 kB / 454 MB, free: 5.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.6751, allocations: 104.1 kB / 454.1 MB, free: 5.809 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.6753, allocations: 118.3 kB / 454.3 MB, free: 5.691 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.159e-05/0.6753, allocations: 4 kB / 454.3 MB, free: 5.688 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.6755, allocations: 326.8 kB / 454.6 MB, free: 5.359 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003807/0.6759, allocations: 135.9 kB / 454.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000437/0.6763, allocations: 202.8 kB / 454.9 MB, free: 5.004 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005181/0.6769, allocations: 160.3 kB / 455.1 MB, free: 4.848 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.6769, allocations: 0 / 455.1 MB, free: 4.848 MB / 366.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00116/0.6781, allocations: 442.9 kB / 455.5 MB, free: 4.406 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.6781, allocations: 4 kB / 455.5 MB, free: 4.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.6781, allocations: 4 kB / 455.5 MB, free: 4.398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002683/0.6784, allocations: 36.84 kB / 455.5 MB, free: 4.359 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/0.6789, allocations: 99.95 kB / 455.6 MB, free: 4.262 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005013/0.6794, allocations: 0.5368 MB / 456.2 MB, free: 3.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002861/0.6797, allocations: 24.02 kB / 456.2 MB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.6797, allocations: 24.08 kB / 456.2 MB, free: 3.652 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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.0001943/0.6799, allocations: 147.4 kB / 456.4 MB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.6801, allocations: 15.81 kB / 456.4 MB, free: 3.488 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002485/0.6826, allocations: 1.462 MB / 457.8 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/0.6826, allocations: 16 kB / 457.9 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.6826, allocations: 8 kB / 457.9 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.6826, allocations: 0 / 457.9 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003314/0.6859, allocations: 1.978 MB / 459.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.686, allocations: 0 / 459.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004249/0.6864, allocations: 87.83 kB / 459.9 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003719/0.6868, allocations: 80.19 kB / 460 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.595e-05/0.6868, allocations: 15.98 kB / 460 MB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004437/0.6873, allocations: 0.5874 MB / 460.6 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.6873, allocations: 4.031 kB / 460.6 MB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/0.6898, allocations: 1.697 MB / 462.3 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.6899, allocations: 132.4 kB / 462.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.829e-05/0.69, allocations: 8 kB / 462.5 MB, free: 13.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004359/0.6904, allocations: 20.03 kB / 462.5 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.6906, allocations: 31.95 kB / 462.5 MB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-05/0.6906, allocations: 16.36 kB / 462.5 MB, free: 13.21 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.853e-05/0.6907, allocations: 103.2 kB / 462.6 MB, free: 13.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6908, allocations: 3.938 kB / 462.6 MB, free: 13.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.005941/0.6967, allocations: 0.9643 MB / 463.6 MB, free: 12.14 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 Backend phase and start with SimCode phase: time 0.009219/0.706, allocations: 1.135 MB / 464.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001776/0.7078, allocations: 0.6048 MB / 465.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.7078, allocations: 0 / 465.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00092/0.7088, allocations: 0.5168 MB / 465.8 MB, free: 9.965 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008826/0.7097, allocations: 83.86 kB / 465.9 MB, free: 9.883 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002887/0.7126, allocations: 1.594 MB / 467.5 MB, free: 8.242 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005841/0.7132, allocations: 0.8139 MB / 468.3 MB, free: 7.398 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.7133, allocations: 39.41 kB / 468.4 MB, free: 7.359 MB / 382.1 MB Notification: Performance of SimCode: time 1.272e-06/0.7133, allocations: 0 / 468.4 MB, free: 7.359 MB / 382.1 MB Notification: Performance of Templates: time 0.0457/0.759, allocations: 21.88 MB / 490.2 MB, free: 1.453 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.WaterIF97.makefile make -j1 -f Modelica_trunk_Modelica.Media.Examples.WaterIF97.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_trunk_Modelica.Media.Examples.WaterIF97CalcHelperMain.o OMCppModelica_trunk_Modelica.Media.Examples.WaterIF97CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Media.Examples.WaterIF97CalcHelperMain.o] Error 1