Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.TwoPhaseWater.TestTwoPhaseStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4400,variableFilter="time|medium.h|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") translateModel(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4400,variableFilter="time|medium.h|medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001012, allocations: 95.2 kB / 16.95 MB, free: 5.953 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.001232/0.001232, allocations: 178.4 kB / 17.84 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 223.2 MB / 241.8 MB, free: 336 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002817/0.0002817, allocations: 4.625 kB / 301.4 MB, free: 6.441 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1258, allocations: 50.42 MB / 351.9 MB, free: 4.016 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01445/0.1403, allocations: 12.36 MB / 364.2 MB, free: 7.605 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.3609/0.5012, allocations: 14.35 MB / 378.6 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002311/0.5015, allocations: 1.031 kB / 378.6 MB, free: 9.121 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.5019, allocations: 66.72 kB / 378.6 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004527/0.5024, allocations: 99.62 kB / 378.7 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02049/0.5229, allocations: 4.538 MB / 383.3 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007694/0.5237, allocations: 339 kB / 383.6 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.351e-05/0.5237, allocations: 11.95 kB / 383.6 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005149/0.5243, allocations: 203.4 kB / 383.8 MB, free: 8.508 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001933/0.5245, allocations: 103.2 kB / 383.9 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.697e-05/0.5245, allocations: 11.03 kB / 383.9 MB, free: 8.484 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01839/0.5429, allocations: 6.48 MB / 390.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.5431, allocations: 31.75 kB / 390.4 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001817/0.5433, allocations: 69.45 kB / 390.5 MB, free: 7.453 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008422/0.5517, allocations: 2.623 MB / 393.1 MB, free: 6.348 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.096e-05/0.5518, allocations: 2.812 kB / 393.1 MB, free: 6.348 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.536e-06/0.5518, allocations: 0 / 393.1 MB, free: 6.348 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.5518, allocations: 4 kB / 393.1 MB, free: 6.344 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.005579/0.5574, allocations: 0.9534 MB / 394.1 MB, free: 5.656 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/0.5575, allocations: 9.625 kB / 394.1 MB, free: 5.656 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001331/0.5588, allocations: 180.7 kB / 394.3 MB, free: 5.594 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.5591, allocations: 254.4 kB / 394.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/0.5592, allocations: 17.28 kB / 394.5 MB, free: 5.359 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.165e-05/0.5592, allocations: 18.59 kB / 394.6 MB, free: 5.359 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/0.562, allocations: 0.9124 MB / 395.5 MB, free: 5.066 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.5621, allocations: 1.781 kB / 395.5 MB, free: 5.066 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.614e-05/0.5621, allocations: 14.36 kB / 395.5 MB, free: 5.062 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.278e-06/0.5621, allocations: 5.594 kB / 395.5 MB, free: 5.062 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002772/0.5649, allocations: 0.9917 MB / 396.5 MB, free: 4.812 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.001449/0.5664, allocations: 1.35 MB / 397.8 MB, free: 3.684 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002092/0.5685, allocations: 0.7327 MB / 398.6 MB, free: 3.258 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.5687, allocations: 156 kB / 398.7 MB, free: 3.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07048/0.6392, allocations: 37.76 MB / 436.5 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.6393, allocations: 38.84 kB / 436.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.355e-06/0.6393, allocations: 0 / 436.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.004547/0.6439, allocations: 1.366 MB / 437.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.6439, allocations: 59.34 kB / 437.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.6441, allocations: 125.9 kB / 438.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.733e-05/0.6441, allocations: 29.7 kB / 438.1 MB, free: 8.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.911e-05/0.6442, allocations: 116.6 kB / 438.2 MB, free: 8.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.6444, allocations: 117.7 kB / 438.3 MB, free: 8.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.6444, allocations: 8 kB / 438.3 MB, free: 8.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.6445, allocations: 330.8 kB / 438.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005882/0.6451, allocations: 335.8 kB / 439 MB, free: 7.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006319/0.6458, allocations: 411.3 kB / 439.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005746/0.6464, allocations: 347.8 kB / 439.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.6464, allocations: 0 / 439.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001595/0.648, allocations: 0.877 MB / 440.6 MB, free: 6.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.648, allocations: 4 kB / 440.6 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/0.648, allocations: 4 kB / 440.6 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.648, allocations: 4 kB / 440.6 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000595/0.6486, allocations: 175.8 kB / 440.8 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.6487, allocations: 4 kB / 440.8 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.649, allocations: 48.23 kB / 440.8 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.6491, allocations: 64.8 kB / 440.9 MB, free: 5.934 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 4 (medium.phase,medium.bubble2.phase,medium.bubble.phase,medium.dew.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * 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.0002086/0.6494, allocations: 146.3 kB / 441 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.842e-05/0.6494, allocations: 11.91 kB / 441.1 MB, free: 5.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007718/0.6572, allocations: 7.988 MB / 449 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.452e-05/0.6572, allocations: 31.94 kB / 449.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.6572, allocations: 0 / 449.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.6573, allocations: 0 / 449.1 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/0.6605, allocations: 3.609 MB / 452.7 MB, free: 9.887 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.6606, allocations: 7.062 kB / 452.7 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000575/0.6612, allocations: 111.8 kB / 452.8 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/0.6612, allocations: 0 / 452.8 MB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-05/0.6612, allocations: 12 kB / 452.8 MB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.6612, allocations: 4 kB / 452.8 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6612, allocations: 0 / 452.8 MB, free: 9.758 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002642/0.6639, allocations: 1.858 MB / 454.7 MB, free: 7.879 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.6641, allocations: 144.1 kB / 454.8 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.705e-05/0.6642, allocations: 8 kB / 454.8 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.6646, allocations: 24.05 kB / 454.8 MB, free: 7.688 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.6647, allocations: 31.95 kB / 454.9 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.081e-05/0.6648, allocations: 11.98 kB / 454.9 MB, free: 7.645 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.195e-05/0.6649, allocations: 91.27 kB / 455 MB, free: 7.555 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6649, allocations: 0 / 455 MB, free: 7.555 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.004641/0.6695, allocations: 0.9838 MB / 456 MB, free: 6.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 15 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.region3boundary,$cse10.region3boundary,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.007707/0.6772, allocations: 1.135 MB / 457.1 MB, free: 5.508 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.6791, allocations: 0.9032 MB / 458 MB, free: 4.605 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/0.6791, allocations: 288 / 458 MB, free: 4.605 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008942/0.68, allocations: 0.592 MB / 458.6 MB, free: 4.016 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007542/0.6808, allocations: 91.8 kB / 458.7 MB, free: 3.926 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.6837, allocations: 1.657 MB / 460.3 MB, free: 2.234 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006865/0.6844, allocations: 0.8575 MB / 461.2 MB, free: 1.348 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004227/0.6848, allocations: 91.36 kB / 461.3 MB, free: 1.258 MB / 366.1 MB Notification: Performance of SimCode: time 2.053e-06/0.6848, allocations: 0 / 461.3 MB, free: 1.258 MB / 366.1 MB Notification: Performance of Templates: time 0.04472/0.7295, allocations: 23.94 MB / 485.2 MB, free: 9.258 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.makefile make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.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_4.0.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStatesCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStatesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStatesCalcHelperMain.o] Error 1