Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.Tests.MediaTestModels.Air.MoistAir,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.Tests.MediaTestModels.Air.MoistAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,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.Tests.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001344, allocations: 105.5 kB / 17.81 MB, free: 5.695 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.001481/0.001481, allocations: 190 kB / 18.72 MB, free: 4.781 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.88/1.88, allocations: 205.1 MB / 224.6 MB, free: 12.49 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.001323/0.001323, allocations: 47.92 kB / 280.6 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1433, allocations: 46.63 MB / 327.3 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.5975/0.7409, allocations: 185.3 MB / 0.5005 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008438/0.7494, allocations: 4.885 MB / 0.5053 GB, free: 9.246 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008434/0.7503, allocations: 4 kB / 0.5053 GB, free: 9.242 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.7518, allocations: 218.9 kB / 0.5055 GB, free: 9.027 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00161/0.7534, allocations: 366.1 kB / 0.5059 GB, free: 8.668 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01071/0.7641, allocations: 2.52 MB / 0.5083 GB, free: 6.145 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002663/0.7668, allocations: 1.664 MB / 0.51 GB, free: 4.477 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003082/0.7671, allocations: 118 kB / 0.5101 GB, free: 4.355 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005021/0.7722, allocations: 1.293 MB / 0.5113 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008828/0.7731, allocations: 442.5 kB / 0.5118 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.825e-05/0.7732, allocations: 28 kB / 0.5118 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01182/0.785, allocations: 4.301 MB / 0.516 GB, free: 14.29 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005269/0.7856, allocations: 199.5 kB / 0.5162 GB, free: 14.09 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006458/0.7863, allocations: 282.9 kB / 0.5164 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00479/0.7911, allocations: 2.058 MB / 0.5185 GB, free: 11.75 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.251e-05/0.7911, allocations: 7.938 kB / 0.5185 GB, free: 11.75 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.7911, allocations: 0 / 0.5185 GB, free: 11.75 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.7912, allocations: 0 / 0.5185 GB, free: 11.75 MB / 430.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.00297/0.7941, allocations: 1.138 MB / 0.5196 GB, free: 10.56 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.7942, allocations: 8.031 kB / 0.5196 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003811/0.7946, allocations: 59.52 kB / 0.5196 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005039/0.7951, allocations: 369.8 kB / 0.52 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/0.7951, allocations: 32.94 kB / 0.52 GB, free: 10.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.397e-05/0.7952, allocations: 48 kB / 0.5201 GB, free: 10.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009182/0.7962, allocations: 0.4984 MB / 0.5206 GB, free: 9.504 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.434e-05/0.7962, allocations: 7.984 kB / 0.5206 GB, free: 9.496 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.558e-05/0.7963, allocations: 20 kB / 0.5206 GB, free: 9.477 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/0.7963, allocations: 8 kB / 0.5206 GB, free: 9.469 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009867/0.7973, allocations: 0.5973 MB / 0.5212 GB, free: 8.875 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003933/0.8012, allocations: 2.175 MB / 0.5233 GB, free: 6.473 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001396/0.8026, allocations: 0.547 MB / 0.5238 GB, free: 5.918 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004729/0.8031, allocations: 266 kB / 0.5241 GB, free: 5.656 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007244/0.8039, allocations: 0.6892 MB / 0.5248 GB, free: 4.82 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.8039, allocations: 42.98 kB / 0.5248 GB, free: 4.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=53): time 3.186e-06/0.8039, allocations: 4 kB / 0.5248 GB, free: 4.766 MB / 430.1 MB Notification: Performance of matching and sorting (n=65): time 0.01613/0.8201, allocations: 3.646 MB / 0.5284 GB, free: 1.023 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.8202, allocations: 59.97 kB / 0.5284 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003942/0.8206, allocations: 294.7 kB / 0.5287 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.938e-05/0.8207, allocations: 41.7 kB / 0.5287 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.8209, allocations: 189.2 kB / 0.5289 GB, free: 432 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002575/0.8211, allocations: 224.7 kB / 0.5291 GB, free: 204 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002372/0.8214, allocations: 118.3 kB / 0.5292 GB, free: 80 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.293/1.114, allocations: 346.8 kB / 0.5296 GB, free: 166.1 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001309/1.116, allocations: 311 kB / 0.5299 GB, free: 166.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009558/1.117, allocations: 385.8 kB / 0.5302 GB, free: 166 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001746/1.119, allocations: 0.7145 MB / 0.5309 GB, free: 166 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/1.119, allocations: 0 / 0.5309 GB, free: 166 MB / 430.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003205/1.122, allocations: 0.9665 MB / 0.5319 GB, free: 165.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.233e-05/1.122, allocations: 5.094 kB / 0.5319 GB, free: 165.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/1.122, allocations: 3.625 kB / 0.5319 GB, free: 165.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001739/1.124, allocations: 334.1 kB / 0.5322 GB, free: 165.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006561/1.124, allocations: 119 kB / 0.5323 GB, free: 165.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003609/1.128, allocations: 3.513 MB / 0.5358 GB, free: 162.3 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008175/1.129, allocations: 55.34 kB / 0.5358 GB, free: 162.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.235e-05/1.129, allocations: 25.3 kB / 0.5358 GB, free: 162.3 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004702/1.129, allocations: 200.3 kB / 0.536 GB, free: 162.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/1.129, allocations: 43 kB / 0.5361 GB, free: 162.2 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003094/1.133, allocations: 1.021 MB / 0.5371 GB, free: 161.8 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/1.133, allocations: 6.641 kB / 0.5371 GB, free: 161.8 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.133, allocations: 2.094 kB / 0.5371 GB, free: 161.8 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002491/1.135, allocations: 1.067 MB / 0.5381 GB, free: 161.2 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003822/1.139, allocations: 1.701 MB / 0.5398 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.139, allocations: 1.656 kB / 0.5398 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006031/1.14, allocations: 109.5 kB / 0.5399 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001934/1.142, allocations: 373.9 kB / 0.5402 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.779e-05/1.142, allocations: 25.77 kB / 0.5403 GB, free: 160.3 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001553/1.143, allocations: 0.8721 MB / 0.5411 GB, free: 159.6 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/1.143, allocations: 0 / 0.5411 GB, free: 159.6 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003303/1.146, allocations: 1.342 MB / 0.5424 GB, free: 159 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002129/1.147, allocations: 116.4 kB / 0.5425 GB, free: 158.9 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/1.147, allocations: 18.7 kB / 0.5425 GB, free: 158.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007886/1.148, allocations: 57.83 kB / 0.5426 GB, free: 158.9 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/1.148, allocations: 40.64 kB / 0.5426 GB, free: 158.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.365e-05/1.148, allocations: 30.33 kB / 0.5427 GB, free: 158.9 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003339/1.148, allocations: 225.6 kB / 0.5429 GB, free: 158.8 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.91e-07/1.148, allocations: 1.438 kB / 0.5429 GB, free: 158.8 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00237/1.151, allocations: 451.1 kB / 0.5433 GB, free: 158.7 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00171/1.152, allocations: 0.5782 MB / 0.5439 GB, free: 158.6 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002416/1.155, allocations: 1.001 MB / 0.5449 GB, free: 158.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.155, allocations: 1.281 kB / 0.5449 GB, free: 158.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/1.156, allocations: 418.4 kB / 0.5453 GB, free: 158 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/1.157, allocations: 305 kB / 0.5456 GB, free: 157.9 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003606/1.161, allocations: 1.538 MB / 0.5471 GB, free: 157 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/1.161, allocations: 0.8515 MB / 0.5479 GB, free: 156.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002226/1.162, allocations: 60.19 kB / 0.5479 GB, free: 156.3 MB / 430.1 MB Notification: Performance of SimCode: time 1.613e-06/1.162, allocations: 0 / 0.5479 GB, free: 156.3 MB / 430.1 MB Notification: Performance of Templates: time 0.02047/1.182, allocations: 17.43 MB / 0.565 GB, free: 141.5 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.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.Tests.MediaTestModels.Air.MoistAirCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAirCalcHelperMain.o] Error 1