Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 94.34 kB / 17.63 MB, free: 5.719 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.001029/0.001029, allocations: 185.8 kB / 18.52 MB, free: 5.16 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.497/1.497, allocations: 223.2 MB / 242.5 MB, free: 14.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.237/0.237, allocations: 44.22 MB / 337.9 MB, free: 2.57 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004156/0.0004156, allocations: 12.62 kB / 410.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1575, allocations: 61.93 MB / 472.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.6431/0.8007, allocations: 173.9 MB / 0.631 GB, free: 5.059 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01272/0.8135, allocations: 7.006 MB / 0.6378 GB, free: 14.03 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001639/0.8152, allocations: 27.75 kB / 0.6379 GB, free: 14 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.8165, allocations: 314 kB / 0.6382 GB, free: 13.7 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.007037/0.8235, allocations: 1.876 MB / 0.64 GB, free: 11.82 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006343/0.8299, allocations: 1.666 MB / 0.6416 GB, free: 10.16 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.00443/0.8343, allocations: 2.648 MB / 0.6442 GB, free: 7.5 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009919/0.8353, allocations: 0.4963 MB / 0.6447 GB, free: 6.992 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004911/0.8403, allocations: 1.538 MB / 0.6462 GB, free: 5.449 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.8418, allocations: 0.8528 MB / 0.647 GB, free: 4.594 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.8419, allocations: 48 kB / 0.6471 GB, free: 4.547 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009618/0.8516, allocations: 4.251 MB / 0.6512 GB, free: 296 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007485/0.8523, allocations: 383 kB / 0.6516 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004861/0.8528, allocations: 209.3 kB / 0.6518 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005499/0.8583, allocations: 2.467 MB / 0.6542 GB, free: 13.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.8584, allocations: 0 / 0.6542 GB, free: 13.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.8584, allocations: 0 / 0.6542 GB, free: 13.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.249e-05/0.8584, allocations: 0 / 0.6542 GB, free: 13.23 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003963/0.8624, allocations: 1.532 MB / 0.6557 GB, free: 11.64 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.8624, allocations: 8.562 kB / 0.6557 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003753/0.8628, allocations: 107 kB / 0.6558 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009565/0.8638, allocations: 0.5706 MB / 0.6564 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.8639, allocations: 117.3 kB / 0.6565 GB, free: 10.8 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.864, allocations: 71.89 kB / 0.6565 GB, free: 10.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00189/0.8659, allocations: 1.162 MB / 0.6577 GB, free: 9.512 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.866, allocations: 7.938 kB / 0.6577 GB, free: 9.504 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.8661, allocations: 35.89 kB / 0.6577 GB, free: 9.469 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.98e-05/0.8662, allocations: 57.97 kB / 0.6578 GB, free: 9.414 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002045/0.8682, allocations: 1.155 MB / 0.6589 GB, free: 8.258 MB / 494.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.007273/0.8755, allocations: 4.973 MB / 0.6637 GB, free: 2.953 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.8772, allocations: 0.831 MB / 0.6646 GB, free: 2.113 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006647/0.8778, allocations: 422.3 kB / 0.665 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001528/0.8794, allocations: 1.63 MB / 0.6666 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.093e-05/0.8794, allocations: 47.12 kB / 0.6666 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 3.106e-06/0.8795, allocations: 0 / 0.6666 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.01248/0.8919, allocations: 4.126 MB / 0.6706 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.108e-05/0.8921, allocations: 115.4 kB / 0.6707 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000931/0.893, allocations: 0.6601 MB / 0.6714 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.814e-05/0.8931, allocations: 41.7 kB / 0.6714 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003431/0.8935, allocations: 379.6 kB / 0.6718 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002828/0.8938, allocations: 295.8 kB / 0.6721 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.459e-05/0.8938, allocations: 20 kB / 0.6721 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000216/0.8941, allocations: 390.8 kB / 0.6725 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009796/0.895, allocations: 493.7 kB / 0.6729 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.8962, allocations: 0.764 MB / 0.6737 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/0.8974, allocations: 0.5885 MB / 0.6743 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.8974, allocations: 7.938 kB / 0.6743 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003293/0.9007, allocations: 1.685 MB / 0.6759 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.042e-05/0.9007, allocations: 12 kB / 0.6759 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.9008, allocations: 4 kB / 0.6759 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006606/0.9074, allocations: 1.374 MB / 0.6773 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006265/0.908, allocations: 155.7 kB / 0.6774 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00264/0.9107, allocations: 1.545 MB / 0.6789 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/0.9117, allocations: 83.98 kB / 0.679 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.9119, allocations: 55.97 kB / 0.6791 GB, free: 2.629 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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 {3 33} Notification: Performance of prepare postOptimizeDAE: time 0.0005788/0.9125, allocations: 297.5 kB / 0.6793 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.9126, allocations: 86.97 kB / 0.6794 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003365/0.916, allocations: 1.702 MB / 0.6811 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.561e-05/0.916, allocations: 8 kB / 0.6811 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.916, allocations: 0 / 0.6811 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/0.9161, allocations: 3.984 kB / 0.6811 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004395/0.9205, allocations: 2.644 MB / 0.6837 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.9205, allocations: 4 kB / 0.6837 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/0.9217, allocations: 252.8 kB / 0.6839 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001748/0.9235, allocations: 400.3 kB / 0.6843 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.65e-05/0.9236, allocations: 35.92 kB / 0.6843 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002561/0.9261, allocations: 2.277 MB / 0.6866 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.351e-06/0.9262, allocations: 7.969 kB / 0.6866 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003774/0.9299, allocations: 2.04 MB / 0.6886 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006608/0.9306, allocations: 295.9 kB / 0.6888 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001337/0.9308, allocations: 20 kB / 0.6889 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007799/0.9315, allocations: 83.83 kB / 0.6889 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.9317, allocations: 60.81 kB / 0.689 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.9318, allocations: 51.95 kB / 0.689 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006767/0.9325, allocations: 487 kB / 0.6895 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9325, allocations: 0 / 0.6895 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002335/0.9349, allocations: 0.6597 MB / 0.6902 GB, free: 6.922 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00205/0.9369, allocations: 0.7797 MB / 0.6909 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00275/0.9397, allocations: 1.244 MB / 0.6921 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.9397, allocations: 0.9375 kB / 0.6921 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001643/0.9414, allocations: 0.7047 MB / 0.6928 GB, free: 4.203 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00223/0.9436, allocations: 479 kB / 0.6933 GB, free: 3.738 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005006/0.9486, allocations: 2.574 MB / 0.6958 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000745/0.9494, allocations: 1.039 MB / 0.6968 GB, free: 48 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/0.9497, allocations: 95.41 kB / 0.6969 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of SimCode: time 1.072e-06/0.9497, allocations: 0 / 0.6969 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of Templates: time 0.3263/1.276, allocations: 27.8 MB / 0.724 GB, free: 199.6 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirCalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirCalcHelperMain.o] Error 1