Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009877/0.0009877, allocations: 88.92 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009749/0.0009751, allocations: 201.6 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002605/0.0002608, allocations: 8 kB / 307.3 MB, free: 1.613 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.122, allocations: 51.49 MB / 358.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.3115/0.4335, allocations: 46.77 MB / 405.6 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007273/0.4408, allocations: 4.83 MB / 410.4 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006254/0.4415, allocations: 6.594 kB / 410.4 MB, free: 5.457 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008445/0.4424, allocations: 165.8 kB / 410.6 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008767/0.4433, allocations: 346.1 kB / 410.9 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02257/0.4658, allocations: 5.243 MB / 416.1 MB, free: 1.352 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00247/0.4683, allocations: 1.338 MB / 417.5 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002787/0.4686, allocations: 108.2 kB / 417.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01099/0.4796, allocations: 6.122 MB / 423.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006655/0.4803, allocations: 386.7 kB / 424.1 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.124e-05/0.4804, allocations: 24 kB / 424.1 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02036/0.5007, allocations: 8.504 MB / 432.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004064/0.5012, allocations: 199.4 kB / 432.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003438/0.5016, allocations: 129.5 kB / 432.9 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009716/0.5113, allocations: 3.555 MB / 436.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.657e-06/0.5113, allocations: 0 / 436.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.805e-06/0.5113, allocations: 3.938 kB / 436.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.5113, allocations: 0 / 436.5 MB, free: 14.43 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.00372/0.5151, allocations: 1.257 MB / 437.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.5151, allocations: 11.97 kB / 437.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003334/0.5155, allocations: 63.42 kB / 437.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004903/0.516, allocations: 358.2 kB / 438.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.516, allocations: 29 kB / 438.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.893e-05/0.5161, allocations: 44 kB / 438.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.5174, allocations: 0.581 MB / 438.8 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.5174, allocations: 4 kB / 438.8 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-05/0.5175, allocations: 27.98 kB / 438.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.5175, allocations: 11.94 kB / 438.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.5188, allocations: 0.7417 MB / 439.6 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01699/0.5358, allocations: 11.99 MB / 451.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.5373, allocations: 0.5423 MB / 452.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004057/0.5377, allocations: 258.1 kB / 452.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01755/0.5552, allocations: 11.95 MB / 464.3 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.187e-05/0.5553, allocations: 39 kB / 464.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 3.366e-06/0.5554, allocations: 0 / 464.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.006903/0.5623, allocations: 2.137 MB / 466.5 MB, free: 11.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.5623, allocations: 63.84 kB / 466.6 MB, free: 11.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004749/0.5628, allocations: 322.8 kB / 466.9 MB, free: 11.42 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.531e-05/0.5629, allocations: 37.7 kB / 466.9 MB, free: 11.38 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.5631, allocations: 204.3 kB / 467.1 MB, free: 11.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001926/0.5633, allocations: 189.2 kB / 467.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.5633, allocations: 12 kB / 467.3 MB, free: 10.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002701/0.5636, allocations: 350.8 kB / 467.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.564, allocations: 237 kB / 467.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006387/0.5647, allocations: 335.3 kB / 468.2 MB, free: 10.03 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000676/0.5653, allocations: 292.6 kB / 468.5 MB, free: 9.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5654, allocations: 0 / 468.5 MB, free: 9.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00186/0.5672, allocations: 0.7478 MB / 469.3 MB, free: 8.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.5673, allocations: 11.98 kB / 469.3 MB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.5673, allocations: 4 kB / 469.3 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004939/0.5678, allocations: 102.8 kB / 469.4 MB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005239/0.5683, allocations: 127.8 kB / 469.5 MB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003373/0.5717, allocations: 3.267 MB / 472.8 MB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004109/0.5721, allocations: 43.88 kB / 472.8 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.052e-05/0.5722, allocations: 36.08 kB / 472.8 MB, free: 5.09 MB / 382.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 (linear and non-linear blocks): 1 * 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: 1 {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.0004121/0.5726, allocations: 189.6 kB / 473 MB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002704/0.5729, allocations: 43.62 kB / 473.1 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.5747, allocations: 0.8228 MB / 473.9 MB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.5747, allocations: 11.95 kB / 473.9 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.003e-06/0.5747, allocations: 0 / 473.9 MB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001154/0.5759, allocations: 0.7557 MB / 474.7 MB, free: 3.164 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/0.5781, allocations: 1.309 MB / 476 MB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5782, allocations: 0 / 476 MB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004328/0.5786, allocations: 99.88 kB / 476.1 MB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008427/0.5794, allocations: 148.7 kB / 476.2 MB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.5795, allocations: 19.98 kB / 476.2 MB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004837/0.58, allocations: 0.6446 MB / 476.9 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.58, allocations: 0 / 476.9 MB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.5818, allocations: 0.9121 MB / 477.8 MB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001677/0.5819, allocations: 120.8 kB / 477.9 MB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.853e-05/0.582, allocations: 15.94 kB / 477.9 MB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/0.5824, allocations: 39.88 kB / 478 MB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/0.5825, allocations: 36.39 kB / 478 MB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.269e-05/0.5826, allocations: 23.98 kB / 478 MB, free: 15.67 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003679/0.5829, allocations: 257.9 kB / 478.3 MB, free: 15.41 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5829, allocations: 0 / 478.3 MB, free: 15.41 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005016/0.588, allocations: 1.316 MB / 479.6 MB, free: 14.09 MB / 398.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 (linear and non-linear blocks): 1 * 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: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006337/0.5943, allocations: 1.557 MB / 481.1 MB, free: 12.53 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001781/0.5961, allocations: 0.7959 MB / 481.9 MB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.5961, allocations: 4 kB / 481.9 MB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005404/0.5967, allocations: 291.8 kB / 482.2 MB, free: 11.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/0.5983, allocations: 264.7 kB / 482.5 MB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.6006, allocations: 1.347 MB / 483.8 MB, free: 9.762 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005622/0.6012, allocations: 0.8329 MB / 484.7 MB, free: 8.902 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.6014, allocations: 71.41 kB / 484.7 MB, free: 8.832 MB / 398.1 MB Notification: Performance of SimCode: time 1.172e-06/0.6014, allocations: 0 / 484.7 MB, free: 8.832 MB / 398.1 MB Notification: Performance of Templates: time 0.06546/0.6669, allocations: 33.86 MB / 0.5064 GB, free: 6.977 MB / 430.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.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 OMCppModelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1CalcHelperMain.o OMCppModelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1CalcHelperMain.o] Error 1