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.001423/0.001423, allocations: 108.2 kB / 17.81 MB, free: 5.559 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.001529/0.001528, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.851/1.851, allocations: 205.1 MB / 224.6 MB, free: 12.47 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.001561/0.001562, allocations: 47.94 kB / 280.6 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1462, allocations: 46.62 MB / 327.3 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph): time 0.04586/0.1921, allocations: 33.25 MB / 360.5 MB, free: 3.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02263/0.2148, allocations: 16.67 MB / 377.2 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005647/0.2155, allocations: 4 kB / 377.2 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001134/0.2167, allocations: 234.8 kB / 377.4 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008842/0.2176, allocations: 346.2 kB / 377.8 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3475/0.5651, allocations: 4.674 MB / 382.4 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003327/0.5685, allocations: 1.437 MB / 383.9 MB, free: 11.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002551/0.5687, allocations: 83.25 kB / 384 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006799/0.5755, allocations: 2.129 MB / 386.1 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006899/0.5763, allocations: 318.4 kB / 386.4 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.94e-05/0.5763, allocations: 20.62 kB / 386.4 MB, free: 11.53 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01759/0.5939, allocations: 6.008 MB / 392.4 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000324/0.5943, allocations: 96.36 kB / 392.5 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007153/0.595, allocations: 201.3 kB / 392.7 MB, free: 11.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008945/0.604, allocations: 2.606 MB / 395.3 MB, free: 11.47 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.508e-06/0.604, allocations: 2.391 kB / 395.3 MB, free: 11.47 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.604, allocations: 0 / 395.3 MB, free: 11.47 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.6041, allocations: 1.5 kB / 395.3 MB, free: 11.47 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.005213/0.6093, allocations: 1.015 MB / 396.3 MB, free: 10.86 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.324e-05/0.6094, allocations: 12.25 kB / 396.3 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.6108, allocations: 141.3 kB / 396.5 MB, free: 10.85 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004772/0.6113, allocations: 317.8 kB / 396.8 MB, free: 10.63 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.95e-05/0.6113, allocations: 32.45 kB / 396.8 MB, free: 10.63 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.488e-05/0.6114, allocations: 32.84 kB / 396.9 MB, free: 10.63 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001565/0.613, allocations: 0.5533 MB / 397.4 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.613, allocations: 3 kB / 397.4 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-05/0.6131, allocations: 13.28 kB / 397.4 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.6131, allocations: 10.12 kB / 397.4 MB, free: 10.45 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.6147, allocations: 0.5004 MB / 397.9 MB, free: 10.32 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.003181/0.6179, allocations: 2.603 MB / 400.5 MB, free: 8.105 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.6194, allocations: 435.1 kB / 401 MB, free: 7.992 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004566/0.6199, allocations: 169 kB / 401.1 MB, free: 7.957 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008292/0.6207, allocations: 0.5599 MB / 401.7 MB, free: 7.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.6208, allocations: 39.31 kB / 401.7 MB, free: 7.391 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 2.725e-06/0.6208, allocations: 0 / 401.7 MB, free: 7.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=34): time 0.004776/0.6256, allocations: 1.513 MB / 403.2 MB, free: 6.727 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.6256, allocations: 64.64 kB / 403.3 MB, free: 6.656 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002973/0.6259, allocations: 252.6 kB / 403.6 MB, free: 6.523 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.172e-05/0.626, allocations: 33.98 kB / 403.6 MB, free: 6.492 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.6261, allocations: 181.2 kB / 403.8 MB, free: 6.355 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.357e-05/0.6262, allocations: 115.9 kB / 403.9 MB, free: 6.273 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.6263, allocations: 74.78 kB / 403.9 MB, free: 6.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.994e-05/0.6264, allocations: 341.6 kB / 404.3 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003797/0.6268, allocations: 139.2 kB / 404.4 MB, free: 5.898 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004629/0.6273, allocations: 234.2 kB / 404.6 MB, free: 5.766 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008521/0.6281, allocations: 391.2 kB / 405 MB, free: 5.621 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6281, allocations: 0 / 405 MB, free: 5.621 MB / 318.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001276/0.6294, allocations: 0.5104 MB / 405.5 MB, free: 5.477 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.6295, allocations: 7.906 kB / 405.5 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/0.6295, allocations: 3.438 kB / 405.5 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005229/0.63, allocations: 106.8 kB / 405.7 MB, free: 5.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.6304, allocations: 92.19 kB / 405.7 MB, free: 5.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.6319, allocations: 2.413 MB / 408.2 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/0.6323, allocations: 44.86 kB / 408.2 MB, free: 3.055 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.6324, allocations: 16.41 kB / 408.2 MB, free: 3.055 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.0002128/0.6326, allocations: 168.1 kB / 408.4 MB, free: 2.934 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.914e-05/0.6327, allocations: 32.47 kB / 408.4 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002059/0.6348, allocations: 1.33 MB / 409.7 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.6348, allocations: 17.12 kB / 409.8 MB, free: 2.594 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.6348, allocations: 0 / 409.8 MB, free: 2.594 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001678/0.6365, allocations: 1.425 MB / 411.2 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002986/0.6395, allocations: 2.103 MB / 413.3 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.6395, allocations: 0 / 413.3 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003947/0.6399, allocations: 90.42 kB / 413.4 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003455/0.6403, allocations: 70.95 kB / 413.4 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.032e-05/0.6403, allocations: 18.05 kB / 413.5 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003213/0.6406, allocations: 0.583 MB / 414 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.6407, allocations: 6.875 kB / 414.1 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001858/0.6425, allocations: 1.274 MB / 415.3 MB, free: 328 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.6427, allocations: 131.8 kB / 415.5 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.572e-05/0.6427, allocations: 20.14 kB / 415.5 MB, free: 176 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002929/0.643, allocations: 37.69 kB / 415.5 MB, free: 160 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.403e-05/0.6431, allocations: 37.45 kB / 415.5 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.6431, allocations: 18.36 kB / 415.6 MB, free: 128 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003439/0.6435, allocations: 231.5 kB / 415.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6435, allocations: 0 / 415.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.005427/0.6489, allocations: 0.8553 MB / 416.6 MB, free: 15.58 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.005329/0.6543, allocations: 0.9804 MB / 417.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001599/0.6559, allocations: 0.6412 MB / 418.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6559, allocations: 5.203 kB / 418.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006808/0.6566, allocations: 415.6 kB / 418.7 MB, free: 13.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.6577, allocations: 187.4 kB / 418.9 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.6604, allocations: 1.55 MB / 420.4 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/0.661, allocations: 0.8688 MB / 421.3 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.6612, allocations: 35.44 kB / 421.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of SimCode: time 5.71e-07/0.6612, allocations: 0 / 421.3 MB, free: 10.97 MB / 334.1 MB Notification: Performance of Templates: time 0.04664/0.7078, allocations: 24.54 MB / 445.9 MB, free: 2.5 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