Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 101.5 kB / 17.8 MB, free: 5.676 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.001403/0.001403, allocations: 194 kB / 18.72 MB, free: 4.762 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.833/1.833, allocations: 205.1 MB / 224.6 MB, free: 12.4 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.001355/0.001355, allocations: 47.94 kB / 280.6 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1323, allocations: 46.64 MB / 327.2 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06873/0.2011, allocations: 52.37 MB / 379.6 MB, free: 344 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3304/0.5316, allocations: 5.266 MB / 384.9 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003382/0.532, allocations: 6 kB / 384.9 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009357/0.533, allocations: 220.7 kB / 385.1 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.534, allocations: 355.8 kB / 385.5 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02346/0.5575, allocations: 5.594 MB / 391 MB, free: 9.965 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002805/0.5603, allocations: 1.606 MB / 392.7 MB, free: 9.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002687/0.5606, allocations: 116.9 kB / 392.8 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009929/0.5705, allocations: 3.656 MB / 396.4 MB, free: 9.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007286/0.5713, allocations: 420.1 kB / 396.8 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.792e-05/0.5714, allocations: 28.72 kB / 396.9 MB, free: 9.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02426/0.5956, allocations: 9.958 MB / 406.8 MB, free: 7.492 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004568/0.5961, allocations: 193.5 kB / 407 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006973/0.5968, allocations: 277.2 kB / 407.3 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.6076, allocations: 3.789 MB / 411.1 MB, free: 5.859 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.937e-06/0.6077, allocations: 0 / 411.1 MB, free: 5.859 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.6077, allocations: 0 / 411.1 MB, free: 5.859 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.6078, allocations: 6.906 kB / 411.1 MB, free: 5.855 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00547/0.6132, allocations: 1.341 MB / 412.4 MB, free: 4.961 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.436e-05/0.6133, allocations: 10.44 kB / 412.4 MB, free: 4.961 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000426/0.6137, allocations: 56.39 kB / 412.5 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005288/0.6143, allocations: 377.5 kB / 412.8 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.764e-05/0.6143, allocations: 32.09 kB / 412.9 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.964e-05/0.6144, allocations: 42.25 kB / 412.9 MB, free: 4.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.6158, allocations: 0.5851 MB / 413.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.6158, allocations: 0 / 413.5 MB, free: 4.5 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.067e-05/0.6159, allocations: 22.88 kB / 413.5 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.6159, allocations: 8 kB / 413.5 MB, free: 4.484 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.6171, allocations: 0.7432 MB / 414.3 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01772/0.6348, allocations: 11.96 MB / 426.2 MB, free: 6.047 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.6363, allocations: 0.5276 MB / 426.8 MB, free: 5.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004192/0.6367, allocations: 258 kB / 427 MB, free: 5.266 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01762/0.6544, allocations: 11.9 MB / 438.9 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.369e-05/0.6545, allocations: 43 kB / 439 MB, free: 7.023 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 3.997e-06/0.6545, allocations: 0 / 439 MB, free: 7.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.007474/0.662, allocations: 2.119 MB / 441.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.662, allocations: 59.97 kB / 441.1 MB, free: 4.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004871/0.6625, allocations: 326.8 kB / 441.5 MB, free: 4.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.6627, allocations: 37.7 kB / 441.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/0.6629, allocations: 188.5 kB / 441.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001943/0.6631, allocations: 196 kB / 441.9 MB, free: 4.027 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/0.6633, allocations: 118.1 kB / 442 MB, free: 3.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.6635, allocations: 346.8 kB / 442.3 MB, free: 3.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005466/0.6641, allocations: 241 kB / 442.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007374/0.6648, allocations: 342.1 kB / 442.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.6661, allocations: 0.6051 MB / 443.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.6661, allocations: 0 / 443.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001892/0.668, allocations: 0.7429 MB / 444.2 MB, free: 1.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.668, allocations: 8.281 kB / 444.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.954e-05/0.6681, allocations: 11.94 kB / 444.3 MB, free: 1.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005359/0.6686, allocations: 102.5 kB / 444.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/0.6692, allocations: 124.9 kB / 444.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003304/0.6725, allocations: 3.27 MB / 447.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005321/0.673, allocations: 40.08 kB / 447.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.138e-05/0.6731, allocations: 31.98 kB / 447.8 MB, free: 13.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems 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.0004023/0.6735, allocations: 193.7 kB / 448 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003794/0.6739, allocations: 43.53 kB / 448.1 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001788/0.6757, allocations: 0.8212 MB / 448.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.6757, allocations: 4 kB / 448.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.6757, allocations: 0 / 448.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001235/0.677, allocations: 0.7738 MB / 449.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002626/0.6796, allocations: 1.298 MB / 451 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.6797, allocations: 4 kB / 451 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004648/0.6801, allocations: 102.3 kB / 451.1 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009384/0.6811, allocations: 144.7 kB / 451.2 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.976e-05/0.6812, allocations: 15.98 kB / 451.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006129/0.6818, allocations: 0.6513 MB / 451.9 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.6818, allocations: 0 / 451.9 MB, free: 9.535 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.6836, allocations: 0.9034 MB / 452.8 MB, free: 8.605 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002203/0.6839, allocations: 112.8 kB / 452.9 MB, free: 8.477 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.684, allocations: 20.08 kB / 452.9 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005314/0.6845, allocations: 37.73 kB / 452.9 MB, free: 8.422 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/0.6846, allocations: 32.39 kB / 453 MB, free: 8.391 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.878e-05/0.6847, allocations: 31.97 kB / 453 MB, free: 8.359 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003819/0.6851, allocations: 257.9 kB / 453.3 MB, free: 8.109 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.6851, allocations: 0 / 453.3 MB, free: 8.109 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.005826/0.6909, allocations: 1.308 MB / 454.6 MB, free: 6.801 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0111/0.7021, allocations: 1.698 MB / 456.3 MB, free: 5.234 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002539/0.7046, allocations: 0.7981 MB / 457.1 MB, free: 4.418 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.7047, allocations: 0 / 457.1 MB, free: 4.418 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000787/0.7055, allocations: 288 kB / 457.3 MB, free: 4.148 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.7075, allocations: 273.3 kB / 457.6 MB, free: 3.879 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003018/0.7105, allocations: 1.297 MB / 458.9 MB, free: 2.555 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007355/0.7113, allocations: 0.8365 MB / 459.7 MB, free: 1.691 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003044/0.7116, allocations: 67.41 kB / 459.8 MB, free: 1.625 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.7116, allocations: 0 / 459.8 MB, free: 1.625 MB / 366.1 MB Notification: Performance of Templates: time 0.07367/0.7853, allocations: 35.07 MB / 494.9 MB, free: 14.54 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.ReferenceAir.MoistAir1CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir1CalcHelperMain.o] Error 1