Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 108.2 kB / 17.81 MB, free: 5.559 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.00238/0.00238, allocations: 197.9 kB / 18.73 MB, free: 4.641 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.872/1.872, allocations: 205.1 MB / 224.6 MB, free: 12.48 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.001216/0.001216, allocations: 51.92 kB / 280.6 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1367, allocations: 46.62 MB / 327.2 MB, free: 4.898 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04718/0.1839, allocations: 37.7 MB / 364.9 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00697/0.1909, allocations: 4.619 MB / 369.6 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008458/0.1918, allocations: 4 kB / 369.6 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001464/0.1934, allocations: 258.6 kB / 369.8 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001697/0.1951, allocations: 469.7 kB / 370.3 MB, free: 9.703 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00772/0.2029, allocations: 1.397 MB / 371.7 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003383/0.2063, allocations: 1.951 MB / 373.6 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005002/0.2068, allocations: 126.4 kB / 373.8 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.2082, allocations: 406.5 kB / 374.1 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.2094, allocations: 426.3 kB / 374.6 MB, free: 5.406 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.2096, allocations: 27.94 kB / 374.6 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.2123, allocations: 0.718 MB / 375.3 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003171/0.2127, allocations: 119.5 kB / 375.4 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006922/0.2134, allocations: 251 kB / 375.7 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001826/0.2152, allocations: 0.7678 MB / 376.4 MB, free: 3.527 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.2152, allocations: 0 / 376.4 MB, free: 3.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.2153, allocations: 0 / 376.4 MB, free: 3.527 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.269e-05/0.2153, allocations: 4 kB / 376.4 MB, free: 3.523 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.002196/0.2175, allocations: 0.7798 MB / 377.2 MB, free: 2.695 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.441e-05/0.2176, allocations: 8.031 kB / 377.2 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006777/0.2183, allocations: 80.28 kB / 377.3 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005744/0.2189, allocations: 343.3 kB / 377.6 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.944e-05/0.2189, allocations: 37.38 kB / 377.7 MB, free: 2.199 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.939e-05/0.219, allocations: 44.36 kB / 377.7 MB, free: 2.156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008845/0.2199, allocations: 471.7 kB / 378.2 MB, free: 1.652 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/0.2199, allocations: 3.938 kB / 378.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.916e-05/0.22, allocations: 16 kB / 378.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.22, allocations: 12 kB / 378.2 MB, free: 1.621 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005702/0.2206, allocations: 307.7 kB / 378.5 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2788/0.4994, allocations: 6.721 MB / 385.2 MB, free: 54.94 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006821/0.5001, allocations: 281.1 kB / 385.5 MB, free: 54.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.5004, allocations: 153.3 kB / 385.7 MB, free: 54.9 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01139/0.5118, allocations: 3.882 MB / 389.5 MB, free: 52.99 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.935e-05/0.512, allocations: 42.73 kB / 389.6 MB, free: 52.95 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.855e-06/0.512, allocations: 4 kB / 389.6 MB, free: 52.94 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01261/0.5246, allocations: 2.451 MB / 392 MB, free: 51.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/0.5247, allocations: 56.09 kB / 392.1 MB, free: 51.6 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005447/0.5253, allocations: 303.8 kB / 392.4 MB, free: 51.4 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.482e-05/0.5253, allocations: 34.7 kB / 392.4 MB, free: 51.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.5255, allocations: 231 kB / 392.7 MB, free: 51.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.5256, allocations: 169.9 kB / 392.8 MB, free: 51.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002459/0.5259, allocations: 92.03 kB / 392.9 MB, free: 50.96 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.5261, allocations: 347.4 kB / 393.2 MB, free: 50.62 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/0.5265, allocations: 151 kB / 393.4 MB, free: 50.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000431/0.5269, allocations: 275.3 kB / 393.7 MB, free: 50.32 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008172/0.5277, allocations: 471.4 kB / 394.1 MB, free: 50.01 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.5277, allocations: 0.9062 kB / 394.1 MB, free: 50.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001314/0.5291, allocations: 0.5933 MB / 394.7 MB, free: 49.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.5291, allocations: 5.5 kB / 394.7 MB, free: 49.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.5291, allocations: 4.125 kB / 394.7 MB, free: 49.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008454/0.5376, allocations: 1.859 MB / 396.6 MB, free: 48.86 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000541/0.5382, allocations: 106.2 kB / 396.7 MB, free: 48.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002405/0.5406, allocations: 2.462 MB / 399.2 MB, free: 46.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005641/0.5412, allocations: 39.86 kB / 399.2 MB, free: 46.35 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/0.5413, allocations: 23.86 kB / 399.2 MB, free: 46.34 MB / 318.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 (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,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003147/0.5416, allocations: 173.4 kB / 399.4 MB, free: 46.18 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001518/0.5418, allocations: 38.33 kB / 399.4 MB, free: 46.17 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.543, allocations: 0.8685 MB / 400.3 MB, free: 45.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.543, allocations: 7.953 kB / 400.3 MB, free: 45.65 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-06/0.543, allocations: 0 / 400.3 MB, free: 45.65 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009768/0.544, allocations: 0.9642 MB / 401.3 MB, free: 44.94 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002138/0.5461, allocations: 1.479 MB / 402.7 MB, free: 43.76 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.5462, allocations: 0 / 402.7 MB, free: 43.76 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.5465, allocations: 79.89 kB / 402.8 MB, free: 43.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00312/0.5496, allocations: 0.6178 MB / 403.4 MB, free: 43.06 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.609e-05/0.5497, allocations: 15.98 kB / 403.5 MB, free: 43.04 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007748/0.5504, allocations: 1.288 MB / 404.7 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5505, allocations: 0 / 404.7 MB, free: 41.71 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.5519, allocations: 1.227 MB / 406 MB, free: 40.45 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001623/0.5521, allocations: 116.6 kB / 406.1 MB, free: 40.32 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.461e-05/0.5521, allocations: 8 kB / 406.1 MB, free: 40.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003185/0.5525, allocations: 31.88 kB / 406.1 MB, free: 40.28 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.5525, allocations: 32.83 kB / 406.2 MB, free: 40.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.39e-05/0.5526, allocations: 19.98 kB / 406.2 MB, free: 40.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002124/0.5528, allocations: 209.9 kB / 406.4 MB, free: 40.03 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5528, allocations: 3.938 kB / 406.4 MB, free: 40.02 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009428/0.5538, allocations: 229.3 kB / 406.6 MB, free: 39.81 MB / 318.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 (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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000798/0.5546, allocations: 270.4 kB / 406.9 MB, free: 39.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.5558, allocations: 0.6964 MB / 407.6 MB, free: 38.87 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5558, allocations: 4 kB / 407.6 MB, free: 38.86 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008417/0.5567, allocations: 428.9 kB / 408 MB, free: 38.45 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.5579, allocations: 235.9 kB / 408.2 MB, free: 38.22 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.56, allocations: 1.472 MB / 409.7 MB, free: 36.74 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.5604, allocations: 0.8401 MB / 410.5 MB, free: 35.88 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.5605, allocations: 43.44 kB / 410.6 MB, free: 35.83 MB / 318.1 MB Notification: Performance of SimCode: time 6.41e-07/0.5605, allocations: 0 / 410.6 MB, free: 35.83 MB / 318.1 MB Notification: Performance of Templates: time 0.01824/0.5787, allocations: 12.92 MB / 423.5 MB, free: 22.91 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2CalcHelperMain.o OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2CalcHelperMain.o] Error 1