Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.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.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.00114, allocations: 98.31 kB / 17.96 MB, free: 5.77 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.001466/0.001467, allocations: 176.8 kB / 18.86 MB, free: 4.906 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.937/1.937, allocations: 205.4 MB / 225 MB, free: 13 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.000739/0.0007391, allocations: 12 kB / 282 MB, free: 3.383 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1501, allocations: 47.58 MB / 329.6 MB, free: 3.73 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.0401/0.1903, allocations: 32.51 MB / 362.1 MB, free: 3.105 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02423/0.2146, allocations: 16.41 MB / 378.5 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006812/0.2153, allocations: 7.938 kB / 378.6 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.2164, allocations: 234.8 kB / 378.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009823/0.2174, allocations: 342.2 kB / 379.1 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3544/0.5717, allocations: 4.673 MB / 383.8 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002756/0.5745, allocations: 1.439 MB / 385.2 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002732/0.5748, allocations: 74.17 kB / 385.3 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006809/0.5816, allocations: 2.128 MB / 387.4 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007443/0.5824, allocations: 318.9 kB / 387.7 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.431e-05/0.5825, allocations: 18.41 kB / 387.8 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01648/0.5989, allocations: 5.999 MB / 393.8 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002342/0.5992, allocations: 84.33 kB / 393.8 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005362/0.5998, allocations: 227.8 kB / 394.1 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007244/0.607, allocations: 2.587 MB / 396.6 MB, free: 11.28 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.607, allocations: 0 / 396.6 MB, free: 11.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6071, allocations: 1.594 kB / 396.6 MB, free: 11.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.6071, allocations: 0 / 396.6 MB, free: 11.28 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.00463/0.6117, allocations: 0.9456 MB / 397.6 MB, free: 10.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.6118, allocations: 9.75 kB / 397.6 MB, free: 10.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.6132, allocations: 168.5 kB / 397.8 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.6136, allocations: 309.9 kB / 398.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.875e-05/0.6137, allocations: 29.05 kB / 398.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.776e-05/0.6137, allocations: 32.97 kB / 398.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.6153, allocations: 0.5756 MB / 398.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/0.6153, allocations: 5.875 kB / 398.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.887e-05/0.6154, allocations: 13.67 kB / 398.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.6154, allocations: 11.59 kB / 398.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.6169, allocations: 0.5332 MB / 399.3 MB, free: 9.934 MB / 318.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.00366/0.6206, allocations: 2.629 MB / 401.9 MB, free: 7.707 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001726/0.6224, allocations: 476.2 kB / 402.4 MB, free: 7.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004688/0.6228, allocations: 184.8 kB / 402.5 MB, free: 7.555 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007833/0.6236, allocations: 0.5601 MB / 403.1 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.6237, allocations: 43.45 kB / 403.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 3.447e-06/0.6237, allocations: 0 / 403.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.004907/0.6286, allocations: 1.598 MB / 404.7 MB, free: 6.316 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.6287, allocations: 62.78 kB / 404.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003297/0.629, allocations: 253.2 kB / 405.1 MB, free: 6.109 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.659e-05/0.629, allocations: 34.86 kB / 405.1 MB, free: 6.078 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001252/0.6292, allocations: 186.6 kB / 405.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.6293, allocations: 112.6 kB / 405.4 MB, free: 5.859 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.347e-05/0.6294, allocations: 43.47 kB / 405.4 MB, free: 5.836 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.6295, allocations: 337.1 kB / 405.8 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004259/0.6299, allocations: 153.6 kB / 405.9 MB, free: 5.484 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/0.6304, allocations: 244.6 kB / 406.1 MB, free: 5.352 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008047/0.6312, allocations: 419.7 kB / 406.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.6312, allocations: 0 / 406.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001244/0.6324, allocations: 0.5315 MB / 407.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.6325, allocations: 6.812 kB / 407.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.6325, allocations: 3.688 kB / 407.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004972/0.633, allocations: 125.2 kB / 407.2 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.6334, allocations: 95.53 kB / 407.3 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/0.6349, allocations: 2.42 MB / 409.7 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004183/0.6354, allocations: 62.14 kB / 409.8 MB, free: 2.621 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.761e-05/0.6354, allocations: 20.34 kB / 409.8 MB, free: 2.621 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (fixedMassFlowRate.medium.phase,volume.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002016/0.6356, allocations: 158.2 kB / 410 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.197e-05/0.6357, allocations: 27.62 kB / 410 MB, free: 2.496 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0019/0.6376, allocations: 1.376 MB / 411.4 MB, free: 2.164 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/0.6377, allocations: 20.41 kB / 411.4 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.6377, allocations: 0 / 411.4 MB, free: 2.156 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001669/0.6393, allocations: 1.464 MB / 412.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002904/0.6423, allocations: 2.141 MB / 415 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/0.6423, allocations: 0 / 415 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003873/0.6427, allocations: 106.5 kB / 415.1 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003685/0.6431, allocations: 73.38 kB / 415.2 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.6431, allocations: 7.625 kB / 415.2 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000275/0.6434, allocations: 0.5957 MB / 415.8 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6434, allocations: 3.938 kB / 415.8 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.6452, allocations: 1.308 MB / 417.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002276/0.6455, allocations: 164.4 kB / 417.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.741e-05/0.6456, allocations: 6.312 kB / 417.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003581/0.6459, allocations: 47.59 kB / 417.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.646, allocations: 36.77 kB / 417.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.282e-05/0.6461, allocations: 17.61 kB / 417.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002706/0.6464, allocations: 232.5 kB / 417.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6464, allocations: 0 / 417.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.004627/0.651, allocations: 0.8588 MB / 418.4 MB, free: 14.95 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007486/0.6585, allocations: 0.9707 MB / 419.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001588/0.6601, allocations: 0.6648 MB / 420.1 MB, free: 13.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.6601, allocations: 4 kB / 420.1 MB, free: 13.56 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007638/0.6609, allocations: 429.9 kB / 420.5 MB, free: 13.31 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.6623, allocations: 195.3 kB / 420.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.6652, allocations: 1.596 MB / 422.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006644/0.6659, allocations: 0.8756 MB / 423.2 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.666, allocations: 44.84 kB / 423.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of SimCode: time 7.72e-07/0.666, allocations: 0 / 423.2 MB, free: 10.79 MB / 334.1 MB Notification: Performance of Templates: time 0.04747/0.7135, allocations: 24.5 MB / 447.7 MB, free: 2.348 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_phCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_phCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_phCalcHelperMain.o] Error 1