Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_3.2.3_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_3.2.3_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.0007707/0.0007707, allocations: 96.58 kB / 16.33 MB, free: 5.949 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.0008841/0.0008842, allocations: 187.2 kB / 17.22 MB, free: 5.883 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.578/1.578, allocations: 205.4 MB / 223.4 MB, free: 5.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3913/0.3913, allocations: 43.54 MB / 315.2 MB, free: 9.082 MB / 254.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.0005193/0.0005197, allocations: 12 kB / 384.6 MB, free: 8.242 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1292, allocations: 58.86 MB / 443.4 MB, free: 13.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.4422/0.5715, allocations: 179.3 MB / 0.6081 GB, free: 8.402 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01267/0.5842, allocations: 9.673 MB / 0.6176 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00111/0.5853, allocations: 19.81 kB / 0.6176 GB, free: 14.69 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.5864, allocations: 314 kB / 0.6179 GB, free: 14.38 MB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.006164/0.5925, allocations: 2.079 MB / 0.6199 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006174/0.5987, allocations: 1.965 MB / 0.6218 GB, free: 10.35 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003156/0.6019, allocations: 2.648 MB / 0.6244 GB, free: 7.699 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007793/0.6027, allocations: 493.6 kB / 0.6249 GB, free: 7.207 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00426/0.607, allocations: 1.682 MB / 0.6265 GB, free: 5.523 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.6083, allocations: 0.8567 MB / 0.6274 GB, free: 4.664 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.6084, allocations: 48 kB / 0.6274 GB, free: 4.617 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3473/0.9557, allocations: 4.712 MB / 0.632 GB, free: 9.109 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009964/0.9567, allocations: 384.8 kB / 0.6324 GB, free: 9.109 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004777/0.9572, allocations: 211.4 kB / 0.6326 GB, free: 9.078 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006083/0.9633, allocations: 2.666 MB / 0.6352 GB, free: 9.008 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.9633, allocations: 0 / 0.6352 GB, free: 9.008 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.9633, allocations: 0 / 0.6352 GB, free: 9.008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.9634, allocations: 0 / 0.6352 GB, free: 9.008 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.004389/0.9678, allocations: 1.606 MB / 0.6367 GB, free: 8.227 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.9678, allocations: 15.23 kB / 0.6368 GB, free: 8.223 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003824/0.9682, allocations: 114.2 kB / 0.6369 GB, free: 8.176 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009013/0.9691, allocations: 0.5774 MB / 0.6374 GB, free: 7.918 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.9693, allocations: 120.2 kB / 0.6375 GB, free: 7.852 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.9694, allocations: 70.33 kB / 0.6376 GB, free: 7.852 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.9711, allocations: 1.16 MB / 0.6387 GB, free: 7.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.9711, allocations: 0 / 0.6387 GB, free: 7.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.629e-05/0.9712, allocations: 36.55 kB / 0.6388 GB, free: 7.68 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.763e-05/0.9713, allocations: 61.42 kB / 0.6388 GB, free: 7.676 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/0.973, allocations: 1.168 MB / 0.64 GB, free: 7.668 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.006654/0.9797, allocations: 4.999 MB / 0.6449 GB, free: 21.03 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.9812, allocations: 0.8348 MB / 0.6457 GB, free: 20.99 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/0.9818, allocations: 423.8 kB / 0.6461 GB, free: 20.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001544/0.9834, allocations: 1.893 MB / 0.6479 GB, free: 19.01 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.9834, allocations: 42.91 kB / 0.648 GB, free: 18.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=70): time 3.316e-06/0.9834, allocations: 0 / 0.648 GB, free: 18.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=82): time 0.01209/0.9955, allocations: 4.149 MB / 0.652 GB, free: 18.44 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.079e-05/0.9956, allocations: 115.3 kB / 0.6521 GB, free: 18.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008893/0.9965, allocations: 0.6577 MB / 0.6528 GB, free: 18.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001158/0.9967, allocations: 41.36 kB / 0.6528 GB, free: 18.15 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.9969, allocations: 383.4 kB / 0.6532 GB, free: 17.95 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002086/0.9971, allocations: 292.4 kB / 0.6535 GB, free: 17.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.9972, allocations: 18.66 kB / 0.6535 GB, free: 17.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.9974, allocations: 392.5 kB / 0.6539 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009474/0.9984, allocations: 497.5 kB / 0.6543 GB, free: 17.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/0.9997, allocations: 0.7574 MB / 0.6551 GB, free: 17.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/1.001, allocations: 0.5895 MB / 0.6556 GB, free: 17.13 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/1.001, allocations: 2.938 kB / 0.6556 GB, free: 17.13 MB / 0.4981 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004249/1.005, allocations: 1.697 MB / 0.6573 GB, free: 17.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.098e-05/1.005, allocations: 12.34 kB / 0.6573 GB, free: 17.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/1.005, allocations: 7.938 kB / 0.6573 GB, free: 17.01 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007469/1.013, allocations: 1.391 MB / 0.6587 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008092/1.014, allocations: 159.1 kB / 0.6588 GB, free: 16.95 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002894/1.017, allocations: 1.553 MB / 0.6603 GB, free: 16.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/1.018, allocations: 87.17 kB / 0.6604 GB, free: 16.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/1.018, allocations: 61.38 kB / 0.6605 GB, free: 16.39 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.0006759/1.019, allocations: 298.3 kB / 0.6608 GB, free: 16.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/1.019, allocations: 86.59 kB / 0.6609 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003775/1.023, allocations: 1.654 MB / 0.6625 GB, free: 16.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/1.023, allocations: 13.58 kB / 0.6625 GB, free: 16.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/1.023, allocations: 0 / 0.6625 GB, free: 16.06 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-05/1.023, allocations: 6.188 kB / 0.6625 GB, free: 16.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004735/1.027, allocations: 2.565 MB / 0.665 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/1.027, allocations: 1.688 kB / 0.665 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/1.029, allocations: 266.8 kB / 0.6653 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001786/1.031, allocations: 398.7 kB / 0.6656 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-05/1.031, allocations: 36.05 kB / 0.6657 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002529/1.033, allocations: 2.271 MB / 0.6679 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.033, allocations: 5.609 kB / 0.6679 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004022/1.037, allocations: 2.033 MB / 0.6699 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006968/1.038, allocations: 301.2 kB / 0.6702 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001446/1.038, allocations: 25.39 kB / 0.6702 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008149/1.039, allocations: 70.25 kB / 0.6703 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/1.039, allocations: 66.62 kB / 0.6703 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001315/1.039, allocations: 56.06 kB / 0.6704 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007666/1.04, allocations: 484.6 kB / 0.6708 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.1e-07/1.04, allocations: 0 / 0.6708 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002929/1.043, allocations: 0.6973 MB / 0.6715 GB, free: 13.14 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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.002483/1.045, allocations: 0.8825 MB / 0.6724 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002726/1.048, allocations: 1.255 MB / 0.6736 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.048, allocations: 3.953 kB / 0.6736 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001493/1.05, allocations: 0.7068 MB / 0.6743 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002293/1.052, allocations: 477.3 kB / 0.6747 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004266/1.056, allocations: 2.565 MB / 0.6773 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006687/1.057, allocations: 1.041 MB / 0.6783 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004048/1.057, allocations: 114.6 kB / 0.6784 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of SimCode: time 1.583e-06/1.057, allocations: 0.9062 kB / 0.6784 GB, free: 11.03 MB / 0.4981 GB Notification: Performance of Templates: time 0.04333/1.101, allocations: 28.75 MB / 0.7065 GB, free: 9.242 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.makefile make -j1 -f ModelicaTest_3.2.3_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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAirCalcHelperMain.o] Error 1