Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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) 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(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009746/0.0009747, allocations: 92.22 kB / 16.96 MB, free: 6.41 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.001204/0.001204, allocations: 183.5 kB / 17.84 MB, free: 5.969 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.3 MB / 241.9 MB, free: 14.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003/0.0003, allocations: 8 kB / 301.4 MB, free: 6.23 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1317, allocations: 50.41 MB / 351.9 MB, free: 3.805 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.3438/0.4755, allocations: 60.53 MB / 412.4 MB, free: 5.199 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008532/0.4841, allocations: 5.088 MB / 417.5 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001003/0.4852, allocations: 7.531 kB / 417.5 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.4863, allocations: 240.6 kB / 417.7 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.4877, allocations: 492.8 kB / 418.2 MB, free: 492 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01964/0.5074, allocations: 5.47 MB / 423.7 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002737/0.5101, allocations: 1.904 MB / 425.6 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003254/0.5105, allocations: 151.9 kB / 425.7 MB, free: 10.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.5115, allocations: 0.5294 MB / 426.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008243/0.5123, allocations: 0.5606 MB / 426.8 MB, free: 9.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.559e-05/0.5124, allocations: 36 kB / 426.9 MB, free: 9.449 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01846/0.5309, allocations: 8.598 MB / 435.5 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005827/0.5315, allocations: 275.2 kB / 435.7 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004348/0.532, allocations: 173.4 kB / 435.9 MB, free: 404 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009531/0.5415, allocations: 3.843 MB / 439.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.5416, allocations: 0 / 439.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.5416, allocations: 0 / 439.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.021e-05/0.5416, allocations: 0 / 439.7 MB, free: 12.54 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004742/0.5464, allocations: 1.417 MB / 441.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.5464, allocations: 8.031 kB / 441.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004165/0.5469, allocations: 87.23 kB / 441.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006417/0.5475, allocations: 433 kB / 441.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.1e-05/0.5476, allocations: 49.31 kB / 441.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/0.5477, allocations: 60 kB / 441.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.5495, allocations: 0.799 MB / 442.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.813e-05/0.5495, allocations: 11.91 kB / 442.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.777e-05/0.5496, allocations: 24 kB / 442.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.5496, allocations: 16 kB / 442.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001868/0.5515, allocations: 1.024 MB / 443.6 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01839/0.5699, allocations: 12.83 MB / 456.5 MB, free: 9.559 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.5717, allocations: 0.7492 MB / 457.2 MB, free: 8.801 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006217/0.5724, allocations: 405 kB / 457.6 MB, free: 8.406 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01466/0.587, allocations: 12.3 MB / 469.9 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.045e-05/0.5872, allocations: 48.05 kB / 470 MB, free: 9.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.938e-06/0.5872, allocations: 0 / 470 MB, free: 9.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.01025/0.5974, allocations: 3.419 MB / 473.4 MB, free: 6.164 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.5975, allocations: 60.41 kB / 473.4 MB, free: 6.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004605/0.598, allocations: 360.5 kB / 473.8 MB, free: 5.738 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.144e-05/0.5981, allocations: 41.7 kB / 473.8 MB, free: 5.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.5983, allocations: 240.6 kB / 474.1 MB, free: 5.449 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.5986, allocations: 299.6 kB / 474.4 MB, free: 5.152 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.5986, allocations: 20 kB / 474.4 MB, free: 5.133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000189/0.5988, allocations: 362.7 kB / 474.7 MB, free: 4.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005965/0.5994, allocations: 369.8 kB / 475.1 MB, free: 4.406 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008824/0.6003, allocations: 492.2 kB / 475.6 MB, free: 3.895 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000934/0.6013, allocations: 446.9 kB / 476 MB, free: 3.461 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.6013, allocations: 0 / 476 MB, free: 3.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002495/0.6038, allocations: 1.113 MB / 477.1 MB, free: 2.324 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.6038, allocations: 7.094 kB / 477.1 MB, free: 2.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.6038, allocations: 8 kB / 477.1 MB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007588/0.6046, allocations: 163.3 kB / 477.3 MB, free: 2.141 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007342/0.6054, allocations: 187.8 kB / 477.5 MB, free: 1.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003173/0.6085, allocations: 3.923 MB / 481.4 MB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005848/0.6091, allocations: 59.91 kB / 481.5 MB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.6092, allocations: 43.98 kB / 481.5 MB, free: 13.62 MB / 398.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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004334/0.6097, allocations: 225.6 kB / 481.7 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003465/0.61, allocations: 63.34 kB / 481.8 MB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002442/0.6125, allocations: 1.288 MB / 483.1 MB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.6125, allocations: 12 kB / 483.1 MB, free: 12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.6125, allocations: 0 / 483.1 MB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001864/0.6144, allocations: 1.316 MB / 484.4 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003295/0.6177, allocations: 1.971 MB / 486.4 MB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.6177, allocations: 0 / 486.4 MB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006791/0.6184, allocations: 163.8 kB / 486.5 MB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001702/0.6201, allocations: 305.1 kB / 486.8 MB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-05/0.6202, allocations: 35.92 kB / 486.9 MB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009272/0.6211, allocations: 1.285 MB / 488.2 MB, free: 6.68 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6212, allocations: 3.938 kB / 488.2 MB, free: 6.676 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002603/0.6238, allocations: 1.413 MB / 489.6 MB, free: 5.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002394/0.624, allocations: 136.6 kB / 489.7 MB, free: 5.082 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.216e-05/0.6241, allocations: 19.98 kB / 489.7 MB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005326/0.6247, allocations: 51.88 kB / 489.8 MB, free: 5.012 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.6248, allocations: 64.81 kB / 489.8 MB, free: 4.949 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.6249, allocations: 43.97 kB / 489.9 MB, free: 4.906 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003605/0.6252, allocations: 279 kB / 490.2 MB, free: 4.637 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6253, allocations: 0 / 490.2 MB, free: 4.637 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004707/0.63, allocations: 1.394 MB / 491.6 MB, free: 3.242 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00595/0.6359, allocations: 1.592 MB / 493.1 MB, free: 1.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00256/0.6385, allocations: 1.152 MB / 494.3 MB, free: 472 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/0.6385, allocations: 0 / 494.3 MB, free: 472 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009013/0.6394, allocations: 491.8 kB / 494.8 MB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/0.6414, allocations: 379.9 kB / 495.1 MB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/0.6446, allocations: 2.029 MB / 497.2 MB, free: 13.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007225/0.6454, allocations: 0.9128 MB / 498.1 MB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.6457, allocations: 87.41 kB / 498.2 MB, free: 12.52 MB / 414.1 MB Notification: Performance of SimCode: time 1.443e-06/0.6457, allocations: 4 kB / 498.2 MB, free: 12.52 MB / 414.1 MB Notification: Performance of Templates: time 0.0726/0.7183, allocations: 40.56 MB / 0.5261 GB, free: 3.941 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2.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 OMCppModelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir2CalcHelperMain.o] Error 1