Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 89.91 kB / 17.95 MB, free: 5.629 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.001443/0.001443, allocations: 179.8 kB / 18.86 MB, free: 4.773 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.997/1.997, allocations: 205.4 MB / 225 MB, free: 13.07 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.0007188/0.000719, allocations: 12 kB / 282 MB, free: 3.402 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1451, allocations: 47.58 MB / 329.6 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.5285/0.6737, allocations: 140 MB / 469.6 MB, free: 13.22 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.6761, allocations: 1.699 MB / 471.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002037/0.6764, allocations: 0 / 471.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006717/0.6771, allocations: 151.2 kB / 471.4 MB, free: 11.37 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006575/0.6777, allocations: 326.5 kB / 471.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.6788, allocations: 384.2 kB / 472.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001378/0.6802, allocations: 1.301 MB / 473.4 MB, free: 9.367 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.6804, allocations: 84.61 kB / 473.5 MB, free: 9.285 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006678/0.6811, allocations: 350.7 kB / 473.9 MB, free: 8.941 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005346/0.6816, allocations: 334.7 kB / 474.2 MB, free: 8.613 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.6817, allocations: 12 kB / 474.2 MB, free: 8.602 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003803/0.682, allocations: 147.7 kB / 474.4 MB, free: 8.457 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.6822, allocations: 79.72 kB / 474.4 MB, free: 8.379 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.6824, allocations: 197 kB / 474.6 MB, free: 8.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.6829, allocations: 372.6 kB / 475 MB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6829, allocations: 0 / 475 MB, free: 7.816 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6829, allocations: 4 kB / 475 MB, free: 7.812 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.6829, allocations: 0 / 475 MB, free: 7.812 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.000927/0.6838, allocations: 0.5153 MB / 475.5 MB, free: 7.25 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/0.6839, allocations: 15.91 kB / 475.5 MB, free: 7.234 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003085/0.6842, allocations: 52.55 kB / 475.6 MB, free: 7.184 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.6846, allocations: 281.1 kB / 475.8 MB, free: 6.871 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.19e-05/0.6847, allocations: 20.94 kB / 475.9 MB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.843e-05/0.6847, allocations: 24.38 kB / 475.9 MB, free: 6.828 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006402/0.6854, allocations: 305.7 kB / 476.2 MB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.6854, allocations: 0 / 476.2 MB, free: 6.512 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.325e-05/0.6855, allocations: 15.94 kB / 476.2 MB, free: 6.496 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.6855, allocations: 8 kB / 476.2 MB, free: 6.488 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003777/0.6859, allocations: 202.1 kB / 476.4 MB, free: 6.289 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.6882, allocations: 1.293 MB / 477.7 MB, free: 4.875 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/0.6887, allocations: 195.2 kB / 477.9 MB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.6889, allocations: 96.83 kB / 478 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002197/0.6891, allocations: 170.2 kB / 478.2 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.6892, allocations: 34.55 kB / 478.2 MB, free: 4.332 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.613e-06/0.6892, allocations: 4 kB / 478.2 MB, free: 4.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.002875/0.6921, allocations: 1.029 MB / 479.2 MB, free: 3.199 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.6922, allocations: 55.41 kB / 479.3 MB, free: 3.133 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003012/0.6925, allocations: 258.5 kB / 479.5 MB, free: 2.871 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.709e-05/0.6925, allocations: 29.7 kB / 479.6 MB, free: 2.836 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.6927, allocations: 188.1 kB / 479.7 MB, free: 2.648 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.84e-05/0.6928, allocations: 94.66 kB / 479.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.127e-05/0.6928, allocations: 29.7 kB / 479.9 MB, free: 2.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.693, allocations: 342.8 kB / 480.2 MB, free: 2.176 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.6932, allocations: 79.75 kB / 480.3 MB, free: 2.098 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.6934, allocations: 183.7 kB / 480.5 MB, free: 1.875 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004217/0.6939, allocations: 287.8 kB / 480.7 MB, free: 1.551 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.6939, allocations: 4 kB / 480.7 MB, free: 1.547 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006705/0.6946, allocations: 440.9 kB / 481.2 MB, free: 1.086 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.6946, allocations: 4 kB / 481.2 MB, free: 1.082 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.6946, allocations: 4 kB / 481.2 MB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001882/0.6948, allocations: 37.7 kB / 481.2 MB, free: 1.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003109/0.6951, allocations: 79.89 kB / 481.3 MB, free: 0.957 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.6972, allocations: 2.576 MB / 483.9 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.6974, allocations: 23.91 kB / 483.9 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.6975, allocations: 12 kB / 483.9 MB, free: 14.08 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001904/0.6977, allocations: 163.7 kB / 484.1 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.049e-05/0.6978, allocations: 23.72 kB / 484.1 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005641/0.6983, allocations: 366.8 kB / 484.4 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.6983, allocations: 3.938 kB / 484.4 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.6983, allocations: 7.938 kB / 484.5 MB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005954/0.699, allocations: 0.6149 MB / 485.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.7, allocations: 0.7508 MB / 485.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.7, allocations: 0 / 485.8 MB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002811/0.7003, allocations: 63.92 kB / 485.9 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.434e-05/0.7004, allocations: 24.84 kB / 485.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.7004, allocations: 4 kB / 485.9 MB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000923/0.7013, allocations: 1.292 MB / 487.2 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7014, allocations: 0 / 487.2 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000643/0.702, allocations: 0.5261 MB / 487.7 MB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.087e-05/0.7021, allocations: 101 kB / 487.8 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.7021, allocations: 4 kB / 487.8 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.7024, allocations: 15.98 kB / 487.8 MB, free: 9.711 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.7024, allocations: 19.97 kB / 487.9 MB, free: 9.691 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.7025, allocations: 15.98 kB / 487.9 MB, free: 9.676 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000194/0.7027, allocations: 182 kB / 488.1 MB, free: 9.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7027, allocations: 0 / 488.1 MB, free: 9.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004715/0.7032, allocations: 111.9 kB / 488.2 MB, free: 9.391 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (25): * Single equations (assignments): 24 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003268/0.7035, allocations: 132.5 kB / 488.3 MB, free: 9.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007543/0.7043, allocations: 445.7 kB / 488.7 MB, free: 8.793 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.7043, allocations: 0 / 488.7 MB, free: 8.793 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.7046, allocations: 226.4 kB / 489 MB, free: 8.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.7057, allocations: 160.7 kB / 489.1 MB, free: 8.402 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.7071, allocations: 0.8642 MB / 490 MB, free: 7.504 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.7076, allocations: 0.7645 MB / 490.7 MB, free: 6.715 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.424e-05/0.7077, allocations: 27.44 kB / 490.8 MB, free: 6.688 MB / 382.1 MB Notification: Performance of SimCode: time 2.594e-06/0.7077, allocations: 4 kB / 490.8 MB, free: 6.684 MB / 382.1 MB Notification: Performance of Templates: time 0.01099/0.7187, allocations: 6.348 MB / 497.1 MB, free: 340 kB / 382.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.SimpleAirCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAirCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAirCalcHelperMain.o] Error 1