Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 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.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.001029/0.001029, allocations: 96.19 kB / 16.96 MB, free: 5.605 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.001194/0.001194, allocations: 183.7 kB / 17.84 MB, free: 5.273 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.542/1.542, allocations: 223.2 MB / 241.8 MB, free: 304 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003193/0.0003193, allocations: 4 kB / 301.5 MB, free: 6.445 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1314, allocations: 50.42 MB / 351.9 MB, free: 4.023 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.3496/0.4811, allocations: 46.7 MB / 398.6 MB, free: 15.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007737/0.4889, allocations: 4.834 MB / 403.4 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006519/0.4896, allocations: 6.438 kB / 403.4 MB, free: 12.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007842/0.4904, allocations: 166 kB / 403.6 MB, free: 12.27 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001021/0.4914, allocations: 346.4 kB / 403.9 MB, free: 12 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01898/0.5104, allocations: 5.237 MB / 409.1 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002134/0.5125, allocations: 1.33 MB / 410.5 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.5128, allocations: 104.1 kB / 410.6 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01026/0.5231, allocations: 6.13 MB / 416.7 MB, free: 3.574 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006201/0.5237, allocations: 390.7 kB / 417.1 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.769e-05/0.5238, allocations: 24 kB / 417.1 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01957/0.5434, allocations: 8.489 MB / 425.6 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004411/0.5439, allocations: 187.5 kB / 425.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000334/0.5442, allocations: 129.5 kB / 425.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009877/0.5541, allocations: 3.551 MB / 429.5 MB, free: 6.793 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5541, allocations: 0 / 429.5 MB, free: 6.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.5541, allocations: 0 / 429.5 MB, free: 6.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.5542, allocations: 0 / 429.5 MB, free: 6.793 MB / 334.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.003807/0.558, allocations: 1.253 MB / 430.7 MB, free: 5.492 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.558, allocations: 8.031 kB / 430.7 MB, free: 5.484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003102/0.5583, allocations: 63.44 kB / 430.8 MB, free: 5.422 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000475/0.5588, allocations: 354.1 kB / 431.1 MB, free: 5.035 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.416e-05/0.5589, allocations: 33 kB / 431.2 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.94e-05/0.5589, allocations: 44 kB / 431.2 MB, free: 4.961 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.5602, allocations: 0.5843 MB / 431.8 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.5602, allocations: 4 kB / 431.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-05/0.5603, allocations: 19.95 kB / 431.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.5603, allocations: 8 kB / 431.8 MB, free: 4.34 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001368/0.5617, allocations: 0.7495 MB / 432.6 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01645/0.5782, allocations: 12 MB / 444.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.5794, allocations: 0.5351 MB / 445.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003929/0.5799, allocations: 262 kB / 445.4 MB, free: 4.723 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01448/0.5943, allocations: 11.94 MB / 457.3 MB, free: 6.473 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.654e-05/0.5945, allocations: 43 kB / 457.3 MB, free: 6.422 MB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 3.116e-06/0.5945, allocations: 0 / 457.3 MB, free: 6.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=55): time 0.005821/0.6003, allocations: 2.129 MB / 459.5 MB, free: 4.199 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.6004, allocations: 59.97 kB / 459.5 MB, free: 4.129 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003774/0.6008, allocations: 318.8 kB / 459.8 MB, free: 3.812 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.187e-05/0.6008, allocations: 37.7 kB / 459.9 MB, free: 3.77 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.601, allocations: 200.4 kB / 460.1 MB, free: 3.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.6011, allocations: 189.3 kB / 460.3 MB, free: 3.383 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.6012, allocations: 12 kB / 460.3 MB, free: 3.371 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001741/0.6014, allocations: 350.7 kB / 460.6 MB, free: 3.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000387/0.6018, allocations: 237 kB / 460.8 MB, free: 2.785 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006132/0.6024, allocations: 335.3 kB / 461.2 MB, free: 2.426 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000644/0.603, allocations: 284.7 kB / 461.4 MB, free: 2.152 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.603, allocations: 3.938 kB / 461.4 MB, free: 2.148 MB / 366.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001887/0.6049, allocations: 0.7595 MB / 462.2 MB, free: 1.371 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.605, allocations: 4 kB / 462.2 MB, free: 1.367 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.605, allocations: 4 kB / 462.2 MB, free: 1.363 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004873/0.6055, allocations: 106.8 kB / 462.3 MB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004867/0.606, allocations: 127.8 kB / 462.4 MB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002808/0.6088, allocations: 3.279 MB / 465.7 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004102/0.6092, allocations: 39.86 kB / 465.8 MB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.984e-05/0.6093, allocations: 39.98 kB / 465.8 MB, free: 13.48 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.0003181/0.6096, allocations: 188.1 kB / 466 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002547/0.6099, allocations: 43.62 kB / 466 MB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.6115, allocations: 0.8267 MB / 466.9 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.6115, allocations: 4 kB / 466.9 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.6115, allocations: 0 / 466.9 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00116/0.6127, allocations: 0.7596 MB / 467.6 MB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002243/0.6149, allocations: 1.309 MB / 468.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-06/0.615, allocations: 0 / 468.9 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00043/0.6154, allocations: 95.89 kB / 469 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008811/0.6163, allocations: 148.7 kB / 469.2 MB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.447e-05/0.6163, allocations: 19.98 kB / 469.2 MB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004592/0.6168, allocations: 0.6445 MB / 469.8 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6168, allocations: 0 / 469.8 MB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.6184, allocations: 0.9044 MB / 470.7 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.6186, allocations: 132.8 kB / 470.9 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/0.6187, allocations: 12 kB / 470.9 MB, free: 8.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003952/0.6191, allocations: 39.88 kB / 470.9 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.491e-05/0.6192, allocations: 40.27 kB / 471 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.46e-05/0.6193, allocations: 27.97 kB / 471 MB, free: 8.051 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003104/0.6196, allocations: 249.9 kB / 471.2 MB, free: 7.805 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6196, allocations: 0 / 471.2 MB, free: 7.805 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004656/0.6242, allocations: 1.304 MB / 472.5 MB, free: 6.5 MB / 382.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.005213/0.6295, allocations: 1.558 MB / 474.1 MB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001631/0.6311, allocations: 0.7881 MB / 474.9 MB, free: 4.117 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.6311, allocations: 4.562 kB / 474.9 MB, free: 4.113 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005382/0.6317, allocations: 295.2 kB / 475.2 MB, free: 3.824 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.633, allocations: 261 kB / 475.4 MB, free: 3.57 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002172/0.6352, allocations: 1.347 MB / 476.8 MB, free: 2.184 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004929/0.6357, allocations: 0.8368 MB / 477.6 MB, free: 1.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000199/0.6359, allocations: 67.42 kB / 477.7 MB, free: 1.254 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6359, allocations: 0 / 477.7 MB, free: 1.254 MB / 382.1 MB Notification: Performance of Templates: time 0.06039/0.6963, allocations: 33.62 MB / 0.4993 GB, free: 15.63 MB / 430.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile make -j1 -f Modelica_4.0.0_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/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.MoistAir1CalcHelperMain.o OMCppModelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1CalcHelperMain.o] Error 1