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.001018/0.001018, allocations: 98.55 kB / 17.96 MB, free: 5.77 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.001323/0.001322, allocations: 182.5 kB / 18.86 MB, free: 4.902 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.998/1.998, allocations: 205.4 MB / 225 MB, free: 12.98 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.0004706/0.0004705, allocations: 12 kB / 282 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1413, allocations: 47.58 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06667/0.2081, allocations: 51.29 MB / 380.9 MB, free: 304 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.3477/0.5558, allocations: 5.19 MB / 386.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007217/0.5566, allocations: 5.812 kB / 386.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.5577, allocations: 221.7 kB / 386.3 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001215/0.5589, allocations: 352.8 kB / 386.6 MB, free: 10.19 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02523/0.5842, allocations: 5.596 MB / 392.2 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003032/0.5872, allocations: 1.601 MB / 393.8 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000315/0.5876, allocations: 116 kB / 394 MB, free: 10.04 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008826/0.5964, allocations: 3.654 MB / 397.6 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000744/0.5972, allocations: 400.6 kB / 398 MB, free: 9.355 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.909e-05/0.5973, allocations: 30.72 kB / 398 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02615/0.6235, allocations: 9.957 MB / 408 MB, free: 7.363 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006058/0.6241, allocations: 189.7 kB / 408.2 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009028/0.6251, allocations: 301.3 kB / 408.5 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01339/0.6385, allocations: 3.751 MB / 412.2 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.6385, allocations: 3.594 kB / 412.2 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.369e-06/0.6386, allocations: 0 / 412.2 MB, free: 5.652 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.6386, allocations: 0 / 412.2 MB, free: 5.652 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.004822/0.6434, allocations: 1.243 MB / 413.5 MB, free: 4.785 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/0.6435, allocations: 9.219 kB / 413.5 MB, free: 4.785 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004168/0.6439, allocations: 57.09 kB / 413.5 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/0.6444, allocations: 361.8 kB / 413.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.204e-05/0.6445, allocations: 39.34 kB / 413.9 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.597e-05/0.6446, allocations: 42.59 kB / 414 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.646, allocations: 0.5863 MB / 414.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.646, allocations: 3.094 kB / 414.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.083e-05/0.6461, allocations: 14.28 kB / 414.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.6461, allocations: 11.69 kB / 414.6 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001303/0.6474, allocations: 0.7478 MB / 415.3 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01732/0.6647, allocations: 12.02 MB / 427.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.6661, allocations: 0.5313 MB / 427.9 MB, free: 6.312 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003782/0.6665, allocations: 257 kB / 428.1 MB, free: 6.148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01595/0.6825, allocations: 11.96 MB / 440.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.492e-05/0.6826, allocations: 43 kB / 440.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 4.449e-06/0.6827, allocations: 0 / 440.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.006433/0.6891, allocations: 2.129 MB / 442.3 MB, free: 5.746 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.6892, allocations: 59.95 kB / 442.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004146/0.6896, allocations: 314.9 kB / 442.6 MB, free: 5.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.852e-05/0.6896, allocations: 41.7 kB / 442.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.6898, allocations: 204.4 kB / 442.9 MB, free: 5.109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.69, allocations: 188.7 kB / 443.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.459e-05/0.6901, allocations: 49.69 kB / 443.1 MB, free: 4.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.6902, allocations: 350.8 kB / 443.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/0.6906, allocations: 240 kB / 443.7 MB, free: 4.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000638/0.6913, allocations: 347.3 kB / 444 MB, free: 3.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.6924, allocations: 0.5897 MB / 444.6 MB, free: 3.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.902e-06/0.6925, allocations: 4 kB / 444.6 MB, free: 3.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001766/0.6942, allocations: 0.7643 MB / 445.4 MB, free: 2.535 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.6943, allocations: 7.938 kB / 445.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.6943, allocations: 4 kB / 445.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004772/0.6948, allocations: 101.5 kB / 445.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005435/0.6953, allocations: 137.8 kB / 445.6 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003122/0.6985, allocations: 3.264 MB / 448.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/0.6989, allocations: 35.92 kB / 448.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.781e-05/0.6989, allocations: 31.98 kB / 448.9 MB, free: 14.69 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.0002905/0.6992, allocations: 194.9 kB / 449.1 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002546/0.6995, allocations: 43.53 kB / 449.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00156/0.7011, allocations: 0.8256 MB / 450 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.7011, allocations: 4 kB / 450 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.7011, allocations: 4 kB / 450 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001165/0.7023, allocations: 0.7703 MB / 450.8 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.7044, allocations: 1.301 MB / 452.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.7045, allocations: 0 / 452.1 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004231/0.7049, allocations: 94.95 kB / 452.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008589/0.7058, allocations: 150 kB / 452.3 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.18e-05/0.7058, allocations: 19.98 kB / 452.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004787/0.7063, allocations: 0.6484 MB / 453 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7063, allocations: 0 / 453 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001698/0.708, allocations: 0.9035 MB / 453.9 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.7082, allocations: 128.7 kB / 454 MB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.707e-05/0.7082, allocations: 19.94 kB / 454 MB, free: 9.398 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004203/0.7087, allocations: 35.97 kB / 454.1 MB, free: 9.363 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.142e-05/0.7087, allocations: 35.48 kB / 454.1 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/0.7088, allocations: 27.97 kB / 454.1 MB, free: 9.305 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002991/0.7091, allocations: 253.9 kB / 454.4 MB, free: 9.059 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7091, allocations: 0 / 454.4 MB, free: 9.059 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00556/0.7147, allocations: 1.308 MB / 455.7 MB, free: 7.75 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.006316/0.721, allocations: 1.684 MB / 457.4 MB, free: 6.207 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001657/0.7227, allocations: 0.805 MB / 458.2 MB, free: 5.375 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.7227, allocations: 2.188 kB / 458.2 MB, free: 5.375 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005733/0.7233, allocations: 291.2 kB / 458.5 MB, free: 5.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/0.7249, allocations: 273.1 kB / 458.7 MB, free: 4.824 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.7272, allocations: 1.387 MB / 460.1 MB, free: 3.398 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000513/0.7277, allocations: 0.8326 MB / 461 MB, free: 2.539 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.7279, allocations: 75.41 kB / 461 MB, free: 2.465 MB / 366.1 MB Notification: Performance of SimCode: time 5.41e-07/0.7279, allocations: 0 / 461 MB, free: 2.465 MB / 366.1 MB Notification: Performance of Templates: time 0.06597/0.7939, allocations: 34.99 MB / 496 MB, free: 15.43 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