Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 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.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_3.2.3_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_3.2.3_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.000796/0.0007961, allocations: 86.03 kB / 17.58 MB, free: 5.758 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.0009392/0.0009391, allocations: 186.5 kB / 18.48 MB, free: 5.203 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.676/1.676, allocations: 205.4 MB / 224.6 MB, free: 13.16 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.0004592/0.0004592, allocations: 12 kB / 281.4 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1152, allocations: 47.59 MB / 329 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.3391/0.4544, allocations: 60.66 MB / 389.6 MB, free: 11.71 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007577/0.4621, allocations: 5.105 MB / 394.7 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009433/0.463, allocations: 8.125 kB / 394.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.4641, allocations: 237 kB / 395 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001285/0.4654, allocations: 495.1 kB / 395.5 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01803/0.4834, allocations: 5.178 MB / 400.6 MB, free: 11.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003107/0.4865, allocations: 1.919 MB / 402.6 MB, free: 11.43 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003362/0.4869, allocations: 157.4 kB / 402.7 MB, free: 11.4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.4881, allocations: 0.5228 MB / 403.2 MB, free: 11.31 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009152/0.489, allocations: 0.553 MB / 403.8 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001102/0.4891, allocations: 36.62 kB / 403.8 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01928/0.5084, allocations: 8.522 MB / 412.4 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006212/0.5091, allocations: 272.3 kB / 412.6 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006213/0.5097, allocations: 171.5 kB / 412.8 MB, free: 9.16 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009478/0.5192, allocations: 3.835 MB / 416.6 MB, free: 7.484 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.5193, allocations: 0 / 416.6 MB, free: 7.484 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.727e-06/0.5193, allocations: 0 / 416.6 MB, free: 7.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.5193, allocations: 0 / 416.6 MB, free: 7.484 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004465/0.5238, allocations: 1.406 MB / 418 MB, free: 6.539 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.5238, allocations: 9.938 kB / 418 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004098/0.5242, allocations: 84.77 kB / 418.1 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005658/0.5248, allocations: 426.8 kB / 418.5 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.847e-05/0.5249, allocations: 50.36 kB / 418.6 MB, free: 6.191 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-05/0.525, allocations: 65.72 kB / 418.6 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.5266, allocations: 0.8075 MB / 419.5 MB, free: 5.996 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.5266, allocations: 4.594 kB / 419.5 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.237e-05/0.5267, allocations: 26.84 kB / 419.5 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.5267, allocations: 19.27 kB / 419.5 MB, free: 5.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/0.5283, allocations: 1.018 MB / 420.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01563/0.544, allocations: 12.82 MB / 433.3 MB, free: 7.398 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.5457, allocations: 0.7586 MB / 434.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005599/0.5462, allocations: 413.8 kB / 434.5 MB, free: 6.617 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01392/0.5602, allocations: 12.3 MB / 446.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.003e-05/0.5603, allocations: 46.66 kB / 446.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=78): time 3.487e-06/0.5603, allocations: 0 / 446.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=88): time 0.008952/0.5692, allocations: 3.422 MB / 450.3 MB, free: 5.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.5693, allocations: 60.41 kB / 450.3 MB, free: 5.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004067/0.5697, allocations: 354.5 kB / 450.7 MB, free: 5.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.656e-05/0.5698, allocations: 43.45 kB / 450.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.57, allocations: 245.8 kB / 451 MB, free: 4.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/0.5702, allocations: 303.3 kB / 451.3 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.5703, allocations: 19.38 kB / 451.3 MB, free: 4.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.5704, allocations: 364.9 kB / 451.6 MB, free: 4.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005427/0.571, allocations: 369.8 kB / 452 MB, free: 3.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008195/0.5718, allocations: 488.6 kB / 452.5 MB, free: 3.594 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008327/0.5726, allocations: 440.6 kB / 452.9 MB, free: 3.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.5727, allocations: 0 / 452.9 MB, free: 3.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002419/0.5751, allocations: 1.112 MB / 454 MB, free: 2.234 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.5751, allocations: 6.188 kB / 454 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.5751, allocations: 4 kB / 454 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007436/0.5759, allocations: 167.6 kB / 454.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007224/0.5766, allocations: 195.7 kB / 454.4 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003141/0.5798, allocations: 3.906 MB / 458.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005893/0.5804, allocations: 72.08 kB / 458.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.494e-05/0.5805, allocations: 43.98 kB / 458.4 MB, free: 13.53 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 (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.0004081/0.5809, allocations: 225.6 kB / 458.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003991/0.5813, allocations: 63.34 kB / 458.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002403/0.5837, allocations: 1.295 MB / 460 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.5837, allocations: 8 kB / 460 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.5838, allocations: 0 / 460 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001739/0.5855, allocations: 1.324 MB / 461.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003217/0.5887, allocations: 1.961 MB / 463.3 MB, free: 8.441 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.324e-05/0.5888, allocations: 4 kB / 463.3 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006703/0.5894, allocations: 158.5 kB / 463.4 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001637/0.5911, allocations: 301.2 kB / 463.7 MB, free: 7.984 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.137e-05/0.5912, allocations: 31.98 kB / 463.7 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008232/0.592, allocations: 1.289 MB / 465 MB, free: 6.617 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.592, allocations: 3.938 kB / 465 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002428/0.5944, allocations: 1.417 MB / 466.5 MB, free: 5.168 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.5947, allocations: 144.6 kB / 466.6 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.924e-05/0.5948, allocations: 27.98 kB / 466.6 MB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005349/0.5953, allocations: 47.86 kB / 466.7 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.724e-05/0.5955, allocations: 60.92 kB / 466.7 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.548e-05/0.5956, allocations: 43.97 kB / 466.8 MB, free: 4.832 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003136/0.5959, allocations: 271 kB / 467 MB, free: 4.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5959, allocations: 0 / 467 MB, free: 4.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.005182/0.6011, allocations: 1.394 MB / 468.4 MB, free: 3.176 MB / 366.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.004885/0.606, allocations: 1.595 MB / 470 MB, free: 1.715 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002047/0.608, allocations: 1.152 MB / 471.2 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.608, allocations: 0 / 471.2 MB, free: 0.5273 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008021/0.6088, allocations: 489.5 kB / 471.7 MB, free: 48 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001678/0.6105, allocations: 390.5 kB / 472 MB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002908/0.6135, allocations: 2.016 MB / 474.1 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.614, allocations: 0.9128 MB / 475 MB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.6142, allocations: 91.39 kB / 475.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.6142, allocations: 4 kB / 475.1 MB, free: 12.58 MB / 382.1 MB Notification: Performance of Templates: time 0.06831/0.6825, allocations: 41.78 MB / 0.5047 GB, free: 2.707 MB / 414.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile make -j1 -f Modelica_3.2.3_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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir2CalcHelperMain.o] Error 1