Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 105.4 kB / 17.8 MB, free: 5.688 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.001379/0.001379, allocations: 197.9 kB / 18.73 MB, free: 4.77 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.914/1.914, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001218/0.001218, allocations: 51.92 kB / 280.6 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1384, allocations: 46.63 MB / 327.3 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.5643/0.7027, allocations: 170.6 MB / 497.9 MB, free: 12.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004687/0.7075, allocations: 3.241 MB / 0.4894 GB, free: 9.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002002/0.7078, allocations: 4 kB / 0.4894 GB, free: 9.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007025/0.7085, allocations: 139.2 kB / 0.4895 GB, free: 9.453 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009345/0.7094, allocations: 387.7 kB / 0.4899 GB, free: 9.074 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008815/0.7103, allocations: 312.5 kB / 0.4902 GB, free: 8.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001286/0.7116, allocations: 1.352 MB / 0.4915 GB, free: 7.414 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002057/0.7118, allocations: 76.5 kB / 0.4916 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002148/0.714, allocations: 0.7163 MB / 0.4923 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004831/0.7145, allocations: 294.8 kB / 0.4925 GB, free: 6.332 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.984e-05/0.7146, allocations: 20 kB / 0.4926 GB, free: 6.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003666/0.7149, allocations: 103.9 kB / 0.4927 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.7151, allocations: 83.66 kB / 0.4927 GB, free: 6.129 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.7154, allocations: 171.3 kB / 0.4929 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005097/0.7159, allocations: 407 kB / 0.4933 GB, free: 5.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.134e-05/0.7159, allocations: 4 kB / 0.4933 GB, free: 5.559 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.7159, allocations: 0 / 0.4933 GB, free: 5.559 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.7159, allocations: 0 / 0.4933 GB, free: 5.559 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001051/0.717, allocations: 0.5853 MB / 0.4939 GB, free: 4.926 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.7171, allocations: 12.03 kB / 0.4939 GB, free: 4.914 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003325/0.7174, allocations: 48.11 kB / 0.4939 GB, free: 4.867 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.7178, allocations: 286.4 kB / 0.4942 GB, free: 4.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.7178, allocations: 16.56 kB / 0.4942 GB, free: 4.531 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.563e-05/0.7179, allocations: 27.94 kB / 0.4942 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005594/0.7184, allocations: 315.7 kB / 0.4945 GB, free: 4.164 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.7185, allocations: 7.875 kB / 0.4946 GB, free: 4.156 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.7185, allocations: 16 kB / 0.4946 GB, free: 4.141 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.7185, allocations: 13.94 kB / 0.4946 GB, free: 4.129 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003651/0.7189, allocations: 201.6 kB / 0.4948 GB, free: 3.934 MB / 398.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.002186/0.7211, allocations: 1.592 MB / 0.4963 GB, free: 2.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003827/0.7215, allocations: 167.2 kB / 0.4965 GB, free: 2.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.7217, allocations: 96.77 kB / 0.4966 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/0.7217, allocations: 7.984 kB / 0.4966 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.7218, allocations: 38.5 kB / 0.4966 GB, free: 1.867 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 3.837e-06/0.7218, allocations: 4 kB / 0.4966 GB, free: 1.863 MB / 398.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.005933/0.7277, allocations: 1.61 MB / 0.4982 GB, free: 124 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.7278, allocations: 55.41 kB / 0.4983 GB, free: 56 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003315/0.7282, allocations: 252.9 kB / 0.4985 GB, free: 15.8 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.7282, allocations: 33.7 kB / 0.4985 GB, free: 15.76 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.7284, allocations: 180.2 kB / 0.4987 GB, free: 15.58 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.549e-05/0.7285, allocations: 94.64 kB / 0.4988 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.7286, allocations: 85.38 kB / 0.4989 GB, free: 15.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.7288, allocations: 338.8 kB / 0.4992 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.7289, allocations: 87.91 kB / 0.4993 GB, free: 14.97 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.7292, allocations: 187.8 kB / 0.4995 GB, free: 14.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000469/0.7297, allocations: 316.2 kB / 0.4998 GB, free: 14.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.7297, allocations: 4 kB / 0.4998 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007109/0.7304, allocations: 391 kB / 0.5001 GB, free: 14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.7304, allocations: 12.06 kB / 0.5001 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.339e-05/0.7305, allocations: 4 kB / 0.5002 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002518/0.7307, allocations: 73.62 kB / 0.5002 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.7311, allocations: 79.89 kB / 0.5003 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001834/0.7329, allocations: 1.856 MB / 0.5021 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.7332, allocations: 32.11 kB / 0.5021 GB, free: 11.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.705e-05/0.7333, allocations: 35.94 kB / 0.5022 GB, free: 11.74 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002369/0.7335, allocations: 157.7 kB / 0.5023 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.364e-05/0.7336, allocations: 39.53 kB / 0.5024 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.7347, allocations: 437.2 kB / 0.5028 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.7348, allocations: 0 / 0.5028 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.7348, allocations: 0.875 kB / 0.5028 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007878/0.7356, allocations: 0.5592 MB / 0.5033 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.7369, allocations: 0.7348 MB / 0.504 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.7369, allocations: 0 / 0.504 GB, free: 9.648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/0.7372, allocations: 71.89 kB / 0.5041 GB, free: 9.578 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.935e-05/0.7373, allocations: 20.84 kB / 0.5041 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.443e-05/0.7374, allocations: 19.98 kB / 0.5042 GB, free: 9.535 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.7385, allocations: 1.28 MB / 0.5054 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.7385, allocations: 0 / 0.5054 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007378/0.7392, allocations: 486.7 kB / 0.5059 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.7393, allocations: 100.8 kB / 0.506 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.053e-05/0.7394, allocations: 4 kB / 0.506 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.7397, allocations: 19.89 kB / 0.506 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/0.7397, allocations: 35.97 kB / 0.506 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.164e-05/0.7398, allocations: 31.98 kB / 0.506 GB, free: 7.414 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00021/0.74, allocations: 182 kB / 0.5062 GB, free: 7.238 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.74, allocations: 0 / 0.5062 GB, free: 7.238 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006024/0.7406, allocations: 131.9 kB / 0.5063 GB, free: 7.109 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004568/0.7411, allocations: 147.1 kB / 0.5065 GB, free: 6.957 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007664/0.7419, allocations: 371.2 kB / 0.5068 GB, free: 6.582 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/0.7419, allocations: 4 kB / 0.5068 GB, free: 6.578 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003159/0.7422, allocations: 226.6 kB / 0.5071 GB, free: 6.344 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001002/0.7432, allocations: 165.9 kB / 0.5072 GB, free: 6.184 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.7448, allocations: 0.8212 MB / 0.508 GB, free: 5.332 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.7452, allocations: 0.7645 MB / 0.5088 GB, free: 4.543 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002611/0.7455, allocations: 75.41 kB / 0.5088 GB, free: 4.469 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.7455, allocations: 0 / 0.5088 GB, free: 4.469 MB / 414.1 MB Notification: Performance of Templates: time 0.01266/0.7581, allocations: 7.489 MB / 0.5162 GB, free: 12.97 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air.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.IdealGases.AirCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.AirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.AirCalcHelperMain.o] Error 1