Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008683/0.0008736, allocations: 97.7 kB / 17.96 MB, free: 5.633 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.001215/0.001215, allocations: 176.3 kB / 18.86 MB, free: 4.77 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.962/1.962, allocations: 205.4 MB / 225 MB, free: 12.97 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.000521/0.000521, allocations: 12 kB / 282 MB, free: 3.406 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1389, allocations: 47.58 MB / 329.6 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03088/0.1698, allocations: 26.62 MB / 356.2 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005993/0.1758, allocations: 4.152 MB / 360.4 MB, free: 4.867 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004817/0.1764, allocations: 4 kB / 360.4 MB, free: 4.863 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007763/0.1772, allocations: 183.1 kB / 360.6 MB, free: 4.684 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000832/0.178, allocations: 314.4 kB / 360.9 MB, free: 4.375 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005128/0.1831, allocations: 1.241 MB / 362.1 MB, free: 3.129 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001861/0.185, allocations: 1.344 MB / 363.4 MB, free: 1.781 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000239/0.1853, allocations: 76.67 kB / 363.5 MB, free: 1.707 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007586/0.1929, allocations: 4.207 MB / 367.7 MB, free: 13.49 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004991/0.1934, allocations: 286.8 kB / 368 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.282e-05/0.1935, allocations: 12 kB / 368 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001861/0.1953, allocations: 0.6985 MB / 368.7 MB, free: 12.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001378/0.1955, allocations: 79.72 kB / 368.8 MB, free: 12.42 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002678/0.1958, allocations: 197 kB / 369 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.1968, allocations: 0.604 MB / 369.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1968, allocations: 3.938 kB / 369.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1968, allocations: 0 / 369.6 MB, free: 11.61 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.1968, allocations: 3.938 kB / 369.6 MB, free: 11.61 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001033/0.1979, allocations: 0.5847 MB / 370.2 MB, free: 10.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.1979, allocations: 16.03 kB / 370.2 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004806/0.1984, allocations: 52.55 kB / 370.3 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003926/0.1988, allocations: 283.8 kB / 370.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.218e-05/0.1989, allocations: 16.94 kB / 370.5 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.86e-05/0.1989, allocations: 32.28 kB / 370.6 MB, free: 10.55 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005546/0.1995, allocations: 346.5 kB / 370.9 MB, free: 10.17 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.1995, allocations: 4 kB / 370.9 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.765e-05/0.1995, allocations: 12 kB / 370.9 MB, free: 10.15 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.244e-05/0.1996, allocations: 8 kB / 370.9 MB, free: 10.14 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003333/0.1999, allocations: 206 kB / 371.1 MB, free: 9.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0132/0.2131, allocations: 5.9 MB / 377 MB, free: 3.543 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.2135, allocations: 182.5 kB / 377.2 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001455/0.2137, allocations: 88.92 kB / 377.3 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.274/0.4876, allocations: 3.87 MB / 381.2 MB, free: 57.04 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.4877, allocations: 34.48 kB / 381.2 MB, free: 57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.515e-06/0.4877, allocations: 0 / 381.2 MB, free: 57 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006628/0.4944, allocations: 1.423 MB / 382.6 MB, free: 56.61 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.4944, allocations: 59.66 kB / 382.7 MB, free: 56.55 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/0.4948, allocations: 259.6 kB / 382.9 MB, free: 56.45 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.4948, allocations: 31.36 kB / 383 MB, free: 56.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.4949, allocations: 184.2 kB / 383.2 MB, free: 56.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.653e-05/0.495, allocations: 99.06 kB / 383.3 MB, free: 56.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/0.495, allocations: 32.95 kB / 383.3 MB, free: 56.21 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.876e-05/0.4951, allocations: 336.1 kB / 383.6 MB, free: 55.9 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.4953, allocations: 98.59 kB / 383.7 MB, free: 55.9 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/0.4955, allocations: 183.6 kB / 383.9 MB, free: 55.79 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004493/0.496, allocations: 306.4 kB / 384.2 MB, free: 55.68 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.496, allocations: 0 / 384.2 MB, free: 55.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007632/0.4967, allocations: 394.7 kB / 384.6 MB, free: 55.6 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.87e-05/0.4968, allocations: 5.75 kB / 384.6 MB, free: 55.6 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.4968, allocations: 6.688 kB / 384.6 MB, free: 55.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003482/0.5003, allocations: 411.7 kB / 385 MB, free: 55.58 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.5006, allocations: 67.23 kB / 385.1 MB, free: 55.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.502, allocations: 1.875 MB / 386.9 MB, free: 53.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.5023, allocations: 25.06 kB / 387 MB, free: 53.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.5024, allocations: 20.42 kB / 387 MB, free: 53.77 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002061/0.5026, allocations: 156.1 kB / 387.1 MB, free: 53.62 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.984e-05/0.5027, allocations: 30.88 kB / 387.2 MB, free: 53.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000836/0.5035, allocations: 491.4 kB / 387.6 MB, free: 53.38 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.5035, allocations: 8.172 kB / 387.6 MB, free: 53.38 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.5036, allocations: 0 / 387.6 MB, free: 53.38 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006797/0.5042, allocations: 0.7164 MB / 388.4 MB, free: 52.78 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.5056, allocations: 0.9391 MB / 389.3 MB, free: 52.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.5056, allocations: 1.734 kB / 389.3 MB, free: 52.18 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/0.5058, allocations: 51.77 kB / 389.4 MB, free: 52.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001819/0.5076, allocations: 331.2 kB / 389.7 MB, free: 52.12 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.261e-05/0.5077, allocations: 8.047 kB / 389.7 MB, free: 52.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004153/0.5081, allocations: 0.6344 MB / 390.3 MB, free: 51.55 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.5081, allocations: 5.062 kB / 390.3 MB, free: 51.54 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.5091, allocations: 0.7294 MB / 391.1 MB, free: 51.12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.233e-05/0.5092, allocations: 104.6 kB / 391.2 MB, free: 51.01 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.481e-05/0.5093, allocations: 6.781 kB / 391.2 MB, free: 51.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.5095, allocations: 24.52 kB / 391.2 MB, free: 51 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.488e-05/0.5096, allocations: 16.42 kB / 391.2 MB, free: 51 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-05/0.5096, allocations: 16.86 kB / 391.2 MB, free: 50.99 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002334/0.5098, allocations: 184.2 kB / 391.4 MB, free: 50.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5098, allocations: 3.938 kB / 391.4 MB, free: 50.88 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001211/0.5111, allocations: 190 kB / 391.6 MB, free: 50.86 MB / 318.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): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007777/0.5118, allocations: 266.6 kB / 391.8 MB, free: 50.76 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.5129, allocations: 452 kB / 392.3 MB, free: 50.52 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5129, allocations: 4.875 kB / 392.3 MB, free: 50.52 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006166/0.5135, allocations: 226.6 kB / 392.5 MB, free: 50.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.5147, allocations: 164.4 kB / 392.7 MB, free: 50.4 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001601/0.5163, allocations: 1.013 MB / 393.7 MB, free: 49.76 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.5166, allocations: 0.7792 MB / 394.5 MB, free: 49.05 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.465e-05/0.5167, allocations: 39 kB / 394.5 MB, free: 49.04 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.5168, allocations: 4 kB / 394.5 MB, free: 49.04 MB / 318.1 MB Notification: Performance of Templates: time 0.01193/0.5287, allocations: 8.339 MB / 402.8 MB, free: 44.19 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1CalcHelperMain.o] Error 1