Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.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.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 96.66 kB / 16.95 MB, free: 6.398 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.00111/0.00111, allocations: 175.4 kB / 17.84 MB, free: 5.969 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.9 MB, free: 316 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002834/0.0002834, allocations: 8 kB / 301.4 MB, free: 6.465 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1442, allocations: 50.41 MB / 351.8 MB, free: 4.039 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01469/0.1589, allocations: 11.96 MB / 363.8 MB, free: 8.031 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2649/0.4239, allocations: 10.7 MB / 374.5 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.4241, allocations: 0.625 kB / 374.5 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003576/0.4245, allocations: 62.06 kB / 374.6 MB, free: 9.172 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003192/0.4248, allocations: 77.77 kB / 374.6 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01586/0.4407, allocations: 3.869 MB / 378.5 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005066/0.4412, allocations: 246.5 kB / 378.8 MB, free: 9.078 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.706e-05/0.4413, allocations: 9.641 kB / 378.8 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004465/0.4417, allocations: 174.8 kB / 378.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.4419, allocations: 71.52 kB / 379 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.4419, allocations: 5.5 kB / 379 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0173/0.4592, allocations: 6.656 MB / 385.7 MB, free: 8.465 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.4594, allocations: 21.94 kB / 385.7 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.4595, allocations: 48.2 kB / 385.7 MB, free: 8.422 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007534/0.4671, allocations: 2.576 MB / 388.3 MB, free: 7.316 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4671, allocations: 3.938 kB / 388.3 MB, free: 7.312 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.4671, allocations: 2.578 kB / 388.3 MB, free: 7.312 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.4671, allocations: 0 / 388.3 MB, free: 7.312 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.005986/0.4731, allocations: 1.11 MB / 389.4 MB, free: 6.566 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.4732, allocations: 8.5 kB / 389.4 MB, free: 6.566 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004465/0.4736, allocations: 54.61 kB / 389.5 MB, free: 6.547 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.4739, allocations: 219 kB / 389.7 MB, free: 6.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.824e-05/0.4739, allocations: 18.55 kB / 389.7 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.911e-05/0.474, allocations: 15.5 kB / 389.7 MB, free: 6.316 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.4752, allocations: 392.9 kB / 390.1 MB, free: 6.113 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.4753, allocations: 0 / 390.1 MB, free: 6.113 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/0.4753, allocations: 9.594 kB / 390.1 MB, free: 6.109 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.4753, allocations: 6.25 kB / 390.1 MB, free: 6.109 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.4766, allocations: 366.5 kB / 390.5 MB, free: 6.012 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.001487/0.4781, allocations: 1.187 MB / 391.7 MB, free: 4.938 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008955/0.479, allocations: 289.8 kB / 392 MB, free: 4.809 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003084/0.4793, allocations: 118.1 kB / 392.1 MB, free: 4.766 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09526/0.5746, allocations: 47.89 MB / 440 MB, free: 3.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.937e-05/0.5747, allocations: 36.69 kB / 440 MB, free: 3.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 2.205e-06/0.5747, allocations: 0 / 440 MB, free: 3.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.006543/0.5812, allocations: 1.613 MB / 441.6 MB, free: 2.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.833e-05/0.5813, allocations: 110.8 kB / 441.7 MB, free: 1.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.5815, allocations: 129.6 kB / 441.8 MB, free: 1.801 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.349e-05/0.5815, allocations: 31.45 kB / 441.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.696e-05/0.5816, allocations: 99.22 kB / 442 MB, free: 1.672 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.5817, allocations: 121.4 kB / 442.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.5817, allocations: 4.5 kB / 442.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.5819, allocations: 324.6 kB / 442.4 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003623/0.5823, allocations: 143 kB / 442.6 MB, free: 1.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004004/0.5827, allocations: 198.6 kB / 442.8 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.5831, allocations: 150.8 kB / 442.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5831, allocations: 3.938 kB / 442.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001065/0.5841, allocations: 422.4 kB / 443.3 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.5842, allocations: 8 kB / 443.3 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.5842, allocations: 3.984 kB / 443.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002542/0.5844, allocations: 45.67 kB / 443.4 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004402/0.5849, allocations: 94.06 kB / 443.5 MB, free: 444 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004765/0.5854, allocations: 0.5471 MB / 444 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002796/0.5857, allocations: 35.23 kB / 444 MB, free: 15.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.771e-05/0.5857, allocations: 15.92 kB / 444.1 MB, free: 15.84 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.0001655/0.5859, allocations: 138.1 kB / 444.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001353/0.586, allocations: 27.69 kB / 444.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.5883, allocations: 1.463 MB / 445.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.952e-05/0.5884, allocations: 21.78 kB / 445.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/0.5884, allocations: 0 / 445.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.5884, allocations: 4 kB / 445.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003211/0.5916, allocations: 1.99 MB / 447.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.5917, allocations: 4 kB / 447.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/0.5921, allocations: 86.55 kB / 447.8 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000402/0.5925, allocations: 80.91 kB / 447.9 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/0.5926, allocations: 11.98 kB / 447.9 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005309/0.5931, allocations: 0.5913 MB / 448.5 MB, free: 11.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/0.5931, allocations: 8.062 kB / 448.5 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002515/0.5956, allocations: 1.693 MB / 450.2 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.5958, allocations: 127 kB / 450.3 MB, free: 9.961 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.33e-05/0.5959, allocations: 15.95 kB / 450.3 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003378/0.5962, allocations: 23.98 kB / 450.3 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.589e-05/0.5963, allocations: 31.95 kB / 450.4 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.674e-05/0.5964, allocations: 15.98 kB / 450.4 MB, free: 9.875 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.392e-05/0.5965, allocations: 91.27 kB / 450.5 MB, free: 9.785 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5965, allocations: 0 / 450.5 MB, free: 9.785 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.005678/0.6021, allocations: 0.9605 MB / 451.4 MB, free: 8.824 MB / 366.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.00728/0.6094, allocations: 1.141 MB / 452.6 MB, free: 7.781 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.611, allocations: 0.6051 MB / 453.2 MB, free: 7.176 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.611, allocations: 0 / 453.2 MB, free: 7.176 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008432/0.6118, allocations: 0.5128 MB / 453.7 MB, free: 6.664 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008339/0.6127, allocations: 80.47 kB / 453.8 MB, free: 6.586 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.6153, allocations: 1.602 MB / 455.4 MB, free: 4.938 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000489/0.6158, allocations: 0.8178 MB / 456.2 MB, free: 4.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.616, allocations: 39.42 kB / 456.2 MB, free: 4.051 MB / 366.1 MB Notification: Performance of SimCode: time 2.024e-06/0.616, allocations: 0 / 456.2 MB, free: 4.051 MB / 366.1 MB Notification: Performance of Templates: time 0.03901/0.655, allocations: 21.78 MB / 478 MB, free: 14.25 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.WaterIF97CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Media.Examples.WaterIF97CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Media.Examples.WaterIF97CalcHelperMain.o] Error 1