Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001043/0.001043, allocations: 96.34 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001/0.001, allocations: 199.2 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.613/1.613, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003282, allocations: 11.94 kB / 307.3 MB, free: 1.629 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1422, allocations: 51.49 MB / 358.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.3023/0.4445, allocations: 34.63 MB / 393.4 MB, free: 2.539 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008077/0.4526, allocations: 4.289 MB / 397.7 MB, free: 15.42 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.4538, allocations: 4.031 kB / 397.7 MB, free: 15.42 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.4551, allocations: 236.2 kB / 397.9 MB, free: 15.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001872/0.457, allocations: 449.7 kB / 398.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006975/0.464, allocations: 1.296 MB / 399.7 MB, free: 14.37 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004061/0.4681, allocations: 1.621 MB / 401.3 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004218/0.4685, allocations: 110.3 kB / 401.4 MB, free: 13.54 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/0.4699, allocations: 415.1 kB / 401.8 MB, free: 13.35 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009318/0.4709, allocations: 393.8 kB / 402.2 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.86e-05/0.471, allocations: 20.44 kB / 402.2 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00311/0.4741, allocations: 0.698 MB / 402.9 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002243/0.4743, allocations: 110.5 kB / 403 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003824/0.4747, allocations: 124.8 kB / 403.1 MB, free: 12.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001981/0.4767, allocations: 0.7603 MB / 403.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.4767, allocations: 0 / 403.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4768, allocations: 0 / 403.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.129e-05/0.4768, allocations: 3.938 kB / 403.9 MB, free: 12.18 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.002414/0.4792, allocations: 0.6904 MB / 404.6 MB, free: 11.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.905e-05/0.4793, allocations: 8.281 kB / 404.6 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.4805, allocations: 77.47 kB / 404.7 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007587/0.4812, allocations: 324.6 kB / 405 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.007e-05/0.4813, allocations: 32.44 kB / 405 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.062e-05/0.4814, allocations: 44.95 kB / 405.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009391/0.4823, allocations: 462.4 kB / 405.5 MB, free: 10.87 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.4824, allocations: 2.75 kB / 405.5 MB, free: 10.87 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.756e-05/0.4824, allocations: 20.12 kB / 405.5 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.4824, allocations: 11 kB / 405.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006121/0.4831, allocations: 304.4 kB / 405.9 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01559/0.4987, allocations: 6.737 MB / 412.6 MB, free: 5.137 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005585/0.4993, allocations: 268.8 kB / 412.9 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002551/0.4995, allocations: 152.3 kB / 413 MB, free: 4.914 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009839/0.5094, allocations: 3.875 MB / 416.9 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.416e-05/0.5095, allocations: 42.41 kB / 416.9 MB, free: 1.773 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.354e-06/0.5095, allocations: 0 / 416.9 MB, free: 1.773 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.0116/0.5211, allocations: 2.482 MB / 419.4 MB, free: 15.21 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.5212, allocations: 59.41 kB / 419.5 MB, free: 15.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004029/0.5216, allocations: 299.2 kB / 419.7 MB, free: 14.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.458e-05/0.5217, allocations: 33.7 kB / 419.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001892/0.5219, allocations: 224 kB / 420 MB, free: 14.58 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.522, allocations: 169.6 kB / 420.2 MB, free: 14.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.477e-05/0.522, allocations: 12 kB / 420.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.5222, allocations: 350.8 kB / 420.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/0.5225, allocations: 145.1 kB / 420.7 MB, free: 13.9 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.5229, allocations: 271.7 kB / 420.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.5232, allocations: 200.7 kB / 421.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5232, allocations: 0 / 421.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001116/0.5243, allocations: 0.5916 MB / 421.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.5244, allocations: 10.34 kB / 421.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.5244, allocations: 4 kB / 421.7 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005649/0.53, allocations: 0.7639 MB / 422.5 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004303/0.5305, allocations: 107.8 kB / 422.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.5328, allocations: 2.471 MB / 425.1 MB, free: 9.242 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004851/0.5333, allocations: 36.02 kB / 425.1 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.741e-05/0.5333, allocations: 20 kB / 425.1 MB, free: 9.188 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003184/0.5336, allocations: 181.6 kB / 425.3 MB, free: 9 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001147/0.5338, allocations: 43.53 kB / 425.3 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.5351, allocations: 0.8474 MB / 426.2 MB, free: 8.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.755e-05/0.5352, allocations: 19.89 kB / 426.2 MB, free: 8.07 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.5352, allocations: 4 kB / 426.2 MB, free: 8.066 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001049/0.5362, allocations: 0.9496 MB / 427.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/0.5385, allocations: 1.492 MB / 428.7 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.5385, allocations: 4 kB / 428.7 MB, free: 5.484 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003136/0.5389, allocations: 75.94 kB / 428.7 MB, free: 5.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003136/0.542, allocations: 0.6412 MB / 429.4 MB, free: 4.762 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.645e-05/0.5421, allocations: 12 kB / 429.4 MB, free: 4.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/0.5432, allocations: 1.284 MB / 430.7 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.5433, allocations: 7.922 kB / 430.7 MB, free: 3.406 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001847/0.5451, allocations: 1.211 MB / 431.9 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/0.5454, allocations: 124.5 kB / 432 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.707e-05/0.5455, allocations: 11.95 kB / 432 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003454/0.5459, allocations: 35.83 kB / 432.1 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.28e-05/0.5459, allocations: 23.97 kB / 432.1 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.264e-05/0.546, allocations: 19.98 kB / 432.1 MB, free: 1.938 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002857/0.5463, allocations: 205.9 kB / 432.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5463, allocations: 4 kB / 432.3 MB, free: 1.727 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001149/0.5475, allocations: 231.9 kB / 432.5 MB, free: 1.5 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008426/0.5483, allocations: 270.9 kB / 432.8 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001318/0.5496, allocations: 0.6911 MB / 433.5 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5497, allocations: 0 / 433.5 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009159/0.5506, allocations: 428.2 kB / 433.9 MB, free: 108 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.5519, allocations: 241.8 kB / 434.1 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.5542, allocations: 1.511 MB / 435.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005177/0.5548, allocations: 0.8327 MB / 436.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.5549, allocations: 47.42 kB / 436.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of SimCode: time 1.543e-06/0.5549, allocations: 0 / 436.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of Templates: time 0.01931/0.5742, allocations: 12.87 MB / 449.4 MB, free: 0.5703 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile make -j1 -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2CalcHelperMain.o OMCppModelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2CalcHelperMain.o] Error 1